← 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

 

Hello Leonardo,

   It has been fixed and improved by revision 4595
ach@xxxxxxxxxxx-20110520120701-chejiloauw8oyfyd  in the branch lp
:~openerp-community/openobject-addons/lpistone_6.0_lp784499.

   It will be merged soon in the stable.

   Thanks a lot for pointing out towards such an issue and proposing the
fix. We really do appreciate your efforts.

Thanks.

** Changed in: openobject-addons
       Status: Confirmed => Fix Committed

-- 
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):
  Fix Committed

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