summaryrefslogtreecommitdiff
path: root/odoo/tools/safe_eval.py
diff options
context:
space:
mode:
authorMartin Trigaux <mat@odoo.com>2018-07-16 11:43:48 +0200
committerMartin Trigaux <mat@odoo.com>2018-07-17 13:25:33 +0200
commit5a57c29ff2ac0c6b75aaba963b094809b8e60d44 (patch)
tree916371904fcae231dd65f82f6632ab6a9453776b /odoo/tools/safe_eval.py
parent5705e3e5d27b1ce815c182510f13baccfcf0b038 (diff)
[FIX] base: do not use async reserved keyword
In python 3.7, async is a reserved keyword. Using it in a method signature produces a syntax error. Replace by an argument async_load and catch the previous calls in a kw for backward compatibility. Log a warning on public methods. The **kw can be removed in v12 and officially deprecate the 'async' parameter. Fixes #25578 Closes #25783
Diffstat (limited to 'odoo/tools/safe_eval.py')
0 files changed, 0 insertions, 0 deletions