Closed moylop260 closed 1 year ago
Bad
<?xml version="1.0" ?> <odoo noupdate="1"> <record model="ir.cron"> ...
Good
<?xml version="1.0" ?> <odoo noupdate="1"> <record id="my_id" model="ir.cron"> ...
I think the xpath could looks like:
[odoo or openerp]//record[@id not set] or
[odoo or openerp]//record[@id not set]
[odoo or openerp]//record and check if id exists from python
[odoo or openerp]//record
Bad
Good
I think the xpath could looks like:
[odoo or openerp]//record[@id not set]
or[odoo or openerp]//record
and check if id exists from python