TypeError: _amount_all() takes at least 6 arguments (1 given)

Bug #1547552 reported by jorge
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Openerp Venezuela

Bug Description

 def _amount_all(self, cr, uid, ids, fieldname, args, context=None):
        """ Return amount total each line
        for rec in self:
            if rec.invoice_id.type not in 'in_refund':
                rec.amount_tax_ret = sum(l.amount_ret for l in rec.tax_line)
                rec.base_ret = sum(l.base for l in rec.tax_line)
                rec.amount_tax_ret = -sum(l.amount_ret for l in rec.tax_line)
                rec.base_ret = -sum(l.base for l in rec.tax_line)

con la version 8 de odoo

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.