Skip to content

Latest commit

 

History

History
 
 

views_migration_17

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
License: AGPL-3

Python support: 3.6

https://app.travis-ci.com/OCA/odoo-module-migrator.svg?branch=master

Views-migration-v17

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"/>

Usage

This module is not installable, to use this module, you need to:

  1. 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
  1. If success the modifications will be in the source code of your module.

Credits

Authors

  • ADHOC SA

Contributors