Error al procesar una retención del IVA
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Openerp Venezuela |
Fix Released
|
Medium
|
Javier Duran |
Bug Description
Al intentar procesar una retención del IVA en contabilidad-
ERROR:db.
LINE 1: ...ve = E'True') AND (res_partner.ref = E'ide') AND (res_partne...
, in query SELECT "res_partner".id FROM "res_partner" WHERE (res_partner.active = %s) AND (res_partner.ref = %s) AND (res_partner.
ERROR:web-
Traceback (most recent call last):
File "/home/
return f(self, dbname, *args, **kwargs)
File "/home/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/
ids = self.search(cr, uid, [('ref', '=', name)] + args, limit=limit, context=context)
File "/home/
return self._search(cr, user, args, offset=offset, limit=limit, order=order, context=context, count=count)
File "/home/
cr.
File "/home/
return f(self, *args, **kwargs)
File "/home/
res = self._obj.
ProgrammingError: column res_partner.special does not exist
LINE 1: ...ve = E'True') AND (res_partner.ref = E'ide') AND (res_partne...
Related branches
- Gabriela Quilarque: Pending requested
- Diff: 0 lines
Changed in openerp-venezuela-localization: | |
status: | Confirmed → Fix Committed |
La solución para el bug anteriormente descrito es:
=== modified file 'l10n_ve_ withholding_ iva/wh_ iva_view. xml' withholding_ iva/wh_ iva_view. xml 2011-05-12 01:12:48 +0000 withholding_ iva/wh_ iva_view. xml 2011-06-11 18:27:53 +0000
<field name="journal_id" select="2" domain= "[('type' ,'=','iva_ sale')] "/>
<field name="type" select="2"/>
<field name="code" select="1"/> "onchange_ partner_ id(type, partner_ id)" select="1" domain= "[('special' ,'=',True) , ('customer' ,'=',True) ]"/> "onchange_ partner_ id(type, partner_ id)" select="1" domain= "[('customer' ,'=',True) ]"/>
<field name="currency_id" />
<field name="date_ret" />
<field domain= "[('type' ,'<& gt;','view' ), ('company_id', '=', company_id)]" name="account_id"/>
--- l10n_ve_
+++ l10n_ve_
@@ -148,7 +148,7 @@
- <field name="partner_id" on_change=
+ <field name="partner_id" on_change=