← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 783796] Re: Exception adding an item on Supplier Invoice

 

Hello,

I have tested your scenario with latest trunk and stable 6.0 at my end.
But all working fine.

I have worked on following revision number.
Stable web : 4622
          addons : 4624
          server : 3436
Trunk web:   4661
          addons : 4764
          server  :  3443
       
So would you please check with latest updated code.

I have attached a video for your reference so would you please check it.

Currently I am closing this bug if you still faced the problem then you
can reopen this with more details.

Thanks

-- 
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):
  Invalid

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'


References