← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 868334] Re: account_tax_expense_include module breaks purchase

 

Hello Normunds,

Yes, you are right. Due to this problem I have faced following
traceback.

AttributeError: 'NoneType' object has no attribute 'employee'

Thanks.

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

** Changed in: openobject-addons
       Status: New => Confirmed

** Changed in: openobject-addons
     Assignee: (unassigned) => Amit Parik (OpenERP) (amp-openerp)

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

Title:
  account_tax_expense_include module breaks purchase

Status in OpenERP Addons (modules):
  Confirmed

Bug description:
  After installation of module Purchase Orders no longer works.
  To fix need: change in account_tax_expense_include.py line 46
  - if (partner.employee and tax.expense_include) or tax.price_include:
  + if (partner and partner.employee and tax.expense_include) or tax.price_include:

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


References