← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 753634] Re: cannot add an invoice line in a draft supplier invoice

 

Hello Aline,Kevin,

This has been fixed into stable by revision http://bazaar.launchpad.net/~openerp/openobject-addons/6.0/revision/4537.
Fix will be available from Version 6.0.3.

Thank you.

** Also affects: openobject-addons
   Importance: Undecided
       Status: New

** Changed in: openobject-client-web/6.0
       Status: Confirmed => Invalid

** Changed in: openobject-client-web/6.0
     Assignee: OpenERP Publisher's Warranty Team (openerp-opw) => (unassigned)

** Changed in: openobject-addons
       Status: New => Fix Released

** Changed in: openobject-addons
   Importance: Undecided => High

** Changed in: openobject-client-web/6.0
   Importance: High => Undecided

** Changed in: openobject-addons
    Milestone: None => 6.0.3

** Changed in: openobject-addons
     Assignee: (unassigned) => OpenERP Publisher's Warranty Team (openerp-opw)

-- 
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/753634

Title:
  cannot add an invoice line in a draft supplier invoice

Status in OpenERP Modules (addons):
  Fix Released
Status in OpenERP Web Client:
  Invalid
Status in OpenERP Web Client 6.0 series:
  Invalid

Bug description:
  To test :

  Install purchase ans invoicing : 
  -create a purchase order and convert it 
  - go to the invoice (supplier invoice)
  - it is in draft so add a new invoice line by clicking "Create"

  bug :

  
  AVERTISSEMENT
  	Traceback (most recent call last): File "/home/odoo/openerp/server/bin/netsvc.py", line 490, in dispatch result = ExportService.getService(service_name).dispatch(method, auth, params) File "/home/odoo/openerp/server/bin/addons/use_control/services.py", line 41, in dispatch return super(recording_objects_proxy, self).dispatch(func, auth, params) File "/home/odoo/openerp/server/bin/service/web_services.py", line 608, in dispatch res = fn(db, uid, *params) File "/home/odoo/openerp/server/bin/addons/audittrail/audittrail.py", line 511, in execute res = my_fct(db, uid, model, method, *args) File "/home/odoo/openerp/server/bin/addons/audittrail/audittrail.py", line 489, in my_fct return fct_src(db, uid, model, method, *args) File "/home/odoo/openerp/server/bin/osv/osv.py", line 122, in wrapper return f(self, dbname, *args, **kwargs) File "/home/odoo/openerp/server/bin/osv/osv.py", line 176, in execute res = self.execute_cr(cr, uid, obj, method, *args, **kw) File "/home/odoo/openerp/server/bin/osv/osv.py", line 167, in execute_cr return getattr(object, method)(cr, uid, *args, **kw) File "/home/odoo/openerp/server/bin/osv/orm.py", line 981, in default_get defaults[f] = self._defaults[f](self, cr, uid, context) File "/home/odoo/openerp/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 "/home/odoo/openerp/server/bin/addons/account/account.py", line 1904, in compute_all if tax.price_include: AttributeError: 'NoneType' object has no attribute 'price_include'


References