Review: Needs Fixing
Sembrano esserci problemi con le tasse parzialmente deducibili.
Ho provato a creare una fattura fornitore con una riga da 123,57 e IVA 20%
deducibile al 50%.
Cliccando su 'Compute Taxes' ottengo
ERROR:web-services:Uncaught exception
Traceback (most recent call last):
File "/home/elbati/workspace/openerp/openerp6/server/bin/osv/osv.py", line
122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/elbati/workspace/openerp/openerp6/server/bin/osv/osv.py", line
176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/elbati/workspace/openerp/openerp6/server/bin/osv/osv.py", line
167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File
"/home/elbati/workspace/openerp/openerp6/server/bin/addons/account/invoice.py",
line 644, in button_reset_taxes
for taxe in ait_obj.compute(cr, uid, id, context=ctx).values():
File
"/home/elbati/workspace/openerp/openerp6/server/bin/addons/l10n_it_invoice_tax/invoice.py",
line 79, in compute
amount = tax_obj.compute_all(cr, uid, t['tax'], t['price'],
1)["taxes"][0]["amount"] #MG
KeyError: 'tax'
--
https://code.launchpad.net/~openobject-italia-core-devs/openobject-italia/l10n_it_invoice_tax_compute/+merge/60069
Your team OpenERP Italia core devs is subscribed to branch
lp:~openobject-italia-core-devs/openobject-italia/l10n_it_invoice_tax_compute.
_______________________________________________
Mailing list: https://launchpad.net/~openobject-italia-core-devs
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openobject-italia-core-devs
More help : https://help.launchpad.net/ListHelp