← Back to team overview

openerp-india 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

 

Hello, this bug affects 6.1 too: http://bazaar.launchpad.net/~openerp
/openobject-
addons/6.1/view/6963/account_invoice_layout/account_invoice_layout.py#L166

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
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 Addons (modules):
  Fix Released

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!

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