surplus field (move_id) in the model account.wh.src

Bug #1056283 reported by Yanina Aular (Vauxoo)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Openerp Venezuela
Fix Released
Medium
hbto [Vauxoo] http://www.vauxoo.com

Bug Description

 [6.1] [l10n_ve_withholding_src] Campo (move_id) al parecer esta sobrando en el modelo account.wh.src

Revision history for this message
Yanina Aular (Vauxoo) (yanina-aular) wrote :

Se hizo un grep-r, para buscar las referencias al campo. Y esto fue el resultado.

model/wh_src.py: 'move_id':fields.many2one('account.move', 'Account Entry'),
model/wh_src.py: if line.move_id:
model/wh_src.py: 'move_id': ret_move['move_id'],
model/wh_src.py: 'move_id': fields.many2one('account.move', 'Account Entry', readonly=True, help="Account Entry"),
Binary file model/invoice.pyc matches
model/invoice.py: move[line2.move_id.id] = True
model/invoice.py: move[line2.move_id.id] = True
model/invoice.py: invoice_ids = self.pool.get('account.invoice').search(cr, uid, [('move_id','in',move.keys())], context=context)
model/invoice.py: move[line.move_id.id] = True
model/invoice.py: move[line.move_id.id] = True
model/invoice.py: invoice_ids = self.pool.get('account.invoice').search(cr, uid, [('move_id','in',move.keys())], context=context)
view/wh_src_view.xml: <field name="move_id"/>
view/wh_src_view.xml: <field name="move_id"/>

La primera línea corresponde al campo "move_id" que está sobrando en el modelo account.wh.src, el resto de las líneas hace referencia otro campo "move_id" pero de un modelo distinto ( account.wh.src.line ) dentro del mismo módulo.

Es decir que el campo move_id del modelo account.wh.src no se está usando para nada.

description: updated
Revision history for this message
Nhomar - Vauxoo (nhomar) wrote :

Humberto éschale un ojo a éste módulo para dejarlo operativo para la 6.1 por favor.

Saludos.

@yani

Me comentas cual es exactamente el error, al cambiar la descripción del bug se borró lo que habías colocado antes.

Saludos

Changed in openerp-venezuela-localization:
importance: Undecided → Medium
assignee: nobody → hbto [Vauxoo] http://www.vauxoo.com (humbertoarocha)
Revision history for this message
Yanina Aular (Vauxoo) (yanina-aular) wrote :

Acabo de quitar el campo move_id del modelo y no pasó nada... No se está usando account.wh.src

Revision history for this message
hbto [Vauxoo] http://www.vauxoo.com (humbertoarocha) wrote :
Changed in openerp-venezuela-localization:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.