Cédric Pigeon (ACSONE) 5859951218 [FIX] account_credit_control: more accurate usage of sudo() to avoid multi-company issues (#666)
Step to reproduce:

* Define 2 companies A and B.
* Configure Policies only for company A (set the list of accounts)
* Set Admin user on company B

Try to change the policy on a partner on campany A. An error message will appear explaining that the account is not allowed on the policy.

The reason is that partner.property_account_receivable_id is evaluate in sudo() the contains the value of company B.
2018-07-14 10:48:02 +02:00
2018-07-13 04:34:01 +02:00
2017-10-03 15:57:15 +02:00
2017-10-03 15:57:15 +02:00
2018-01-04 17:41:35 +01:00
2018-03-20 11:01:41 +01:00

Licence Runbot Status Build Status Coverage Status

Account financial Tools for Odoo/OpenERP

This project aims to make the accounting usage system easy and painless. It provides addons to:

  • Update the currency rate automatically via web services
  • Push credit management and follow up to next level
  • Generate reversed account moves
  • Cancel invoices with ease
  • Force draft accounting by default
  • Enforce partners on account moves

And much more.

Contributing

Do you want to contribute? Please read our contributing guidelines.

Translation Status

Transifex Status

Description
Odoo Accountant Financial Tools and Utils
Readme 117 MiB
Languages
Python 61.9%
HTML 38.1%