diff options
| author | Nicolas (vin) <vin@odoo.com> | 2020-11-26 08:37:48 +0000 |
|---|---|---|
| committer | Nicolas (vin) <vin@odoo.com> | 2021-04-07 05:47:23 +0000 |
| commit | c3c6ec69a0c50daf0b33df62144b6cd2f254a4f5 (patch) | |
| tree | 7626908aea020b1b78e72e3121cd10a7676a6fa2 /doc/_static/extract_api_implementation.py | |
| parent | 365da2a0aca1503133433f9dc66b6866e7867974 (diff) | |
[FIX] account: Fixes the losing of company_id in account move
Currently, the company_id of an account move is related to its journal.
This means that if you empty the journal field, the company_id is also
emptied.
This is then causing a traceback when adding a new line, for example.
This change will transform the related company_id in a computed field,
making sure to not lose the company_id if the journal_id is emptied.
task id #2392004
closes odoo/odoo#67238
X-original-commit: 296cf6cca4055fbd3c91189c2a45b90ab1dc420f
Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
Signed-off-by: William André (wan) <wan@odoo.com>
Diffstat (limited to 'doc/_static/extract_api_implementation.py')
0 files changed, 0 insertions, 0 deletions
