Jay
I tried to apply the patch you provided on my 6.0.2 as I have the same problem.

Actually, It does not have any effect (positive or negative)

This is really critical (production)

Can anyone confirm this fixes the above described problem ?

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/753634

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

Status in OpenERP Addons (modules):
  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'

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/753634/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help   : https://help.launchpad.net/ListHelp

Reply via email to