Hello,
How can I edit a rule from a module in xml ?
Update :
I've tried in a xml file :
record id="stock.stock_production_lot_rule" model="ir.rule"
field name="active" eval="False"
record
But i got the error "ID XML is missing"
WARNING test odoo_tools_convert : Skipping deletion for missing XML ID `'stock_production_lot_rule'`"
Yet the ID matches the one in the rule metadata.
Version? Community or Enterprise?
Enterprise
i think this rule have noupdate=1 that's why you getting issue.