unexpected keyword argument 'context'

Bug #1276519 reported by Kinner Vachhani on 2014-02-05
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openerp-fiscal-rules
Undecided
Unassigned
6.1
Undecided
Unassigned

Bug Description

Hi,

I am getting this error when creating a sales order.
Here is the traceback

File "/opt/openerp/uat-6.1/server-addons/account_fiscal_position_rule/account_fiscal_position_rule.py", line 133, in fiscal_position_map
    partner_addr = partner.address_get(['invoice'])
File "/opt/openerp/uat-6.1/server/openerp/osv/orm.py", line 368, in function_proxy
    return attr(self._cr, self._uid, [self._id], *args, **kwargs)
TypeError: address_get() got an unexpected keyword argument 'context'

I looked at it and it seems to be working by replacing code with
partner_addr = self.pool.get('res.partner').address_get(cr,uid,[partner_id],['invoice'])

Related branches

Changed in openerp-fiscal-rules:
assignee: nobody → Pedro Manuel Baeza (pedro.baeza)
assignee: Pedro Manuel Baeza (pedro.baeza) → nobody
status: New → Fix Committed
Changed in openerp-fiscal-rules:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers