c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #24479
[Bug 783796] Re: Exception adding an item on Supplier Invoice
Hello,
I have tested your scenario with latest trunk at my end but all are
working as expected and I am not faced any type of the traceback.
So would you please provide more information on this or provide the
proper steps.
I have attached a video for your reference so would you please check it
and notify us where you faced the problem.
Thanks and waiting for your reply!
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/783796
Title:
Exception adding an item on Supplier Invoice
Status in OpenERP Modules (addons):
Incomplete
Bug description:
How to reproduce:
Add an item in a supplier invoice, not a product, choose directly the
account number and add taxes for this item, after that if you want to
add another item the system will show you the following exception:
Traceback (most recent call last): File
"/usr/local/openerp/6.0.2/instance/devel/server/bin/netsvc.py", line
489, in dispatch result =
ExportService.getService(service_name).dispatch(method, auth, params)
File
"/usr/local/openerp/6.0.2/instance/devel/server/bin/service/web_services.py",
line 599, in dispatch res = fn(db, uid, *params) File
"/usr/local/openerp/6.0.2/instance/devel/server/bin/osv/osv.py", line
122, in wrapper return f(self, dbname, *args, **kwargs) File
"/usr/local/openerp/6.0.2/instance/devel/server/bin/osv/osv.py", line
176, in execute res = self.execute_cr(cr, uid, obj, method, *args,
**kw) File
"/usr/local/openerp/6.0.2/instance/devel/server/bin/osv/osv.py", line
167, in execute_cr return getattr(object, method)(cr, uid, *args,
**kw) File
"/usr/local/openerp/6.0.2/instance/devel/server/bin/osv/orm.py", line
981, in default_get defaults[f] = self._defaults[f](self, cr, uid,
context) File
"/usr/local/openerp/6.0.2/instance/devel/server/bin/addons/account/invoice.py",
line 1262, in _price_unit_default for tax in tax_obj.compute_all(cr,
uid, taxes, p,l[2].get('quantity'), context.get('address_invoice_id',
False), l[2].get('product_id', False), context.get('partner_id',
False))['taxes']: File
"/usr/local/openerp/6.0.2/instance/devel/server/bin/addons/account/account.py",
line 1904, in compute_all if tax.price_include: AttributeError:
'NoneType' object has no attribute 'price_include'
Follow ups
References