Context error in module l10n_it_partially_deductible_vat on ocb6.1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenERP Italia |
New
|
Undecided
|
Unassigned |
Bug Description
Revision addons ocb:
revision 6812 of branch http://
Revision addons openerp italia 240 branch lp:openobject-italia/6.1
The error in Compute Tax and Totals of an Invoice
Error
compute_all() got an unexpected keyword argument 'context'
How to reproduce the error:
- Create a new db without demo data and with the italian language
- Install module l10n_it_
- At the and of the process chose Italy Chart Of Accounts from the menu
- Save the default configuration and exit
- Create a supplier with address and default account configuration
- Create a stockable product with account configuration: Iva al 22% (credito) e Iva al 22% (debito)
- Create a Supplier Invoice with the supplier and product created
- Select Compute Taxes and Totals
Solution
in account.py di l10n_it_
def compute_all(self, cr, uid, taxes, price_unit, quantity, address_id=None, product=None, partner=None, force_excluded=
res = super(account_tax, self).compute_
Ciao Roberto,
can you attach the traceback of the error too?
Thanks!