← 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,

I get web client 6.0.2 rev 4660, and i get this error only from the web
client (From gtk client, it rocks.) when i try to validate na invoice
payment.


Could you help please :

Exact error : Operation prohibited by access rules, or performed on an
already deleted document (Operation: read, Document type: Invoice).

Thanks

Thierry

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


References