summaryrefslogtreecommitdiff
path: root/addons/test_mail/tests/test_performance.py
diff options
context:
space:
mode:
authorwan <wan@odoo.com>2019-09-12 12:45:06 +0000
committerwan <wan@odoo.com>2019-09-12 14:51:33 +0000
commitf97c902847c9897852f2928aae316f91ff6f92bc (patch)
tree9afa48cf4b3ead397b8a5191353f615a34fc0369 /addons/test_mail/tests/test_performance.py
parent94b3e339ba45f664e8b892067a4dd3df134ec325 (diff)
[FIX] account: multi-company CoA installation
With the changes in the ORM, the method _compute_has_chart_of_accounts is now also called after the create, erasing the value of chart_template_id. We cannot set that field as related to the company because set_values checks if the value changes and it wouldnt be the case if we already changed it at the validation of the config form. So this commit checks if there is already a value before setting the default. closes odoo/odoo#36780 Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com>
Diffstat (limited to 'addons/test_mail/tests/test_performance.py')
0 files changed, 0 insertions, 0 deletions