← 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

 

I think we can do that also in 6.1:

http://bazaar.launchpad.net/~openerp-community/openobject-
addons/lpistone_6.0_lp784499/revision/4595


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

** Changed in: openobject-addons
       Status: In Progress => Confirmed

-- 
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):
  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!

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