summaryrefslogtreecommitdiff
path: root/addons/web/tests/test_base_document_layout.py
diff options
context:
space:
mode:
authorXavier Morel <xmo@odoo.com>2020-10-14 12:57:47 +0000
committerXavier Morel <xmo@odoo.com>2020-10-14 12:57:47 +0000
commit5bc6eb9b387112138ac118726ff746bad6d00f8d (patch)
tree530fe16768a233d519b37a64f8e85edc46be9490 /addons/web/tests/test_base_document_layout.py
parentce953a898f32ba571518c097bd0914eea9275b71 (diff)
[FIX] account: don't call deprecated method
Introduced in 5a031e6478b8922f74d373bc8b8e75db3600ea0b, issue got caught and fixed in the master version of the PR (odoo/odoo#59798) but because of an other issue the warning was non-deterministic, and the 14.0 PR (odoo/odoo#59794) was successfully merged without needing the change, and has been breaking stagings ever since. Also updated the warning stacklevel so that it reports the *caller* of AccountMove.post instead of reporting AccountMove.post itself, that's more useful. closes odoo/odoo#59996 Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
Diffstat (limited to 'addons/web/tests/test_base_document_layout.py')
0 files changed, 0 insertions, 0 deletions