Skip to Content
Menu
This question has been flagged
3 Replies
3647 Views

Are there any structural differences in apps/modules from 9 to 10? I understand there could be changes in the dependent apps that would need resolved, but is there a set of core changes that need to be made? I am interested in having my developer look into migrating some modules that have not been released for v10 yet. Is there documentation of this process anywhere?

Avatar
Discard
Best Answer

You could follow the OCA guidlines  https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-10.0

Extract:

  • Replace openerp imports to odoo.

  • Rename __openerp__.py to __manifest__.py

  • Replace select = True by index = TrueReplace string selectors in XML by name (if possible) or other attribute selector or even another equivalent path/reference. For example, change <group string="x" position="after"> by <group name="x" position="after">Remove <data> and </data> in xml files if noupdate="0"

  • Replace the <openerp>/</openerp> tags in xml files by <odoo>/</odoo>.

  • Don't use @api.one with @api.onchange or it will crash.

  • ...

Avatar
Discard

got the same question on droped modules on V10 over V6/V7/V9...

Best Answer

Also rml and Mako report not supported

Avatar
Discard
Best Answer

Hi Bruce,

Apart from object and view structure of dependent apps, change the name of Manifest file __openerp__.py to __manifest__.py  and change all code to new ORM API.


Hope this helps.

Avatar
Discard
Related Posts Replies Views Activity
2
Nov 24
2166
2
Nov 24
172
1
May 24
451
1
Dec 23
649
2
Jan 21
4571