views-migration-v17
is a odoo server mode module that allows you to automatically migrate the views of a Odoo module versión <= v16 to v17 .
For example:
<field name="test_field_1" attrs="{'invisible': [('active', '=', True)]}"/> <field name="test_field_2" attrs="{'invisible': [('zip', '!=', 123)]}"/> <field name="test_field_3" attrs="{'readonly': [('zip', '!=', False)]}"/>
To:
<field name="test_field_1" invisible="active"/> <field name="test_field_2" invisible="zip != 123"/> <field name="test_field_3" readonly="zip"/>
This module is not installable, to use this module, you need to:
- Run odoo with this module as a server module:
odoo -d DATABASE_NAME -i MODULE_TO_MIGRATE --load=base,web,views_migration_17 --stop-after-init
- If success the modifications will be in the source code of your module.
- ADHOC SA
- ADHOC SA:
- Juan José Scarafía <[email protected]>
- Bruno Zanotti <[email protected]>