Skip to content

Commit 71c35a8

Browse files
committed
[IMP] base/17.0: tools for converting view attrs
Since Odoo 17.0 we no longer allow for domains in `attrs` attributes of view elements. Domains were converted to Python expressions. In this commit we add some tooling for converting them. The main entry point is the function `fix_attrs` -- see docstring for details. An example usage function is `adapt_view` Closes #54 closes #69 Related: odoo/upgrade#5855 Signed-off-by: Christophe Simonis (chs) <[email protected]>
1 parent 8123c2e commit 71c35a8

File tree

2 files changed

+594
-0
lines changed

2 files changed

+594
-0
lines changed

0 commit comments

Comments
 (0)