diff options
| author | Cedric Snauwaert <csn@openerp.com> | 2017-03-21 09:45:03 +0100 |
|---|---|---|
| committer | Cedric Snauwaert <csn@openerp.com> | 2017-03-21 09:45:13 +0100 |
| commit | 89581abf145fa593439aacb67f5fa77c334fe619 (patch) | |
| tree | 4b9130f2d6f0578344925c39148d0a6eb38bf2a0 /addons/web_editor/static/src/js/transcoder.js | |
| parent | 9dbd6d21e123ede6973cd55a2255f1f835d5651a (diff) | |
[FIX] account: field commercial_partner_id should be compute_related=True
OPW: 716163
This is needed to fix the following problem: adding a partner to res_partner.child_ids will mark all element of child_ids as 'todo'
and trigger a write on res_parner.commercial_partner_id for all element of the child_ids and then on the related field
account_invoice.commercial_partner_id. This can cause problem if partner in child_ids belong to different company and have invoices. This will throw a
read access error when doing the _write method of account_invoice. Adding the compute_related=True to account_invoice.commercial_partner_id
ensure that the _write on that field is done in sudo.
Diffstat (limited to 'addons/web_editor/static/src/js/transcoder.js')
0 files changed, 0 insertions, 0 deletions
