← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 784499] Re: with account_invoice_layout multi-company, non-product lines can get a wrong account_id and not be shown

 

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

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

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

Title:
  with account_invoice_layout multi-company, non-product lines can get a
  wrong account_id and not be shown

Status in OpenERP Modules (addons):
  Confirmed

Bug description:
  affects v6 and trunk

  If you create an invoice_line with account_invoice_layout installed,
  the method

  http://bazaar.launchpad.net/~openerp/openobject-
  addons/6.0/view/head:/account_invoice_layout/account_invoice_layout.py#L167

  chooses an account_id for decorative invoice.line's. That could end up
  to belong to another company, or anyway be inaccessible to the current
  user. The result is that the user sees all invoice lines disappear.

  thanks!


References