account_fiscal_position_rule - error on selecting partner in invoice

Bug #1239999 reported by Lorenzo Battistini
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
openerp-fiscal-rules
Fix Released
Undecided
Unassigned

Bug Description

openerp-fiscal-rules/7.0 revno 63

Create an invoice, select a partner and get

File "/home/elbati/workspace/openerp/7.0/server/openerp/osv/osv.py", line 185, in execute_cr
    return getattr(object, method)(cr, uid, *args, **kw)
  File "/home/elbati/workspace/openerp/7.0/server/openerp/addons/account_fiscal_position_rule/account_invoice.py", line 51, in onchange_partner_id
    partner_invoice_id=partner_id, company_id=company_id)
  File "/home/elbati/workspace/openerp/7.0/server/openerp/addons/account_fiscal_position_rule/account_invoice.py", line 36, in _fiscal_position_map
    return fp_rule_obj.apply_fiscal_mapping(cr, uid, result, **kwargs)
TypeError: apply_fiscal_mapping() got an unexpected keyword argument 'partner_invoice_id'

Related branches

Changed in openerp-fiscal-rules:
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.