Contributors mailing list archives
contributors@odoo-community.org
Browse archives
Error after uninstall addon that has modified action's context
by
Ecosoft Co. Ltd., Kitti Upariphutthiphong
Hi,
I am proposing an addons https://github.com/OCA/sale-workflow/pull/457
I have a small problem with this module.
Since, it is using existing action, and adding a context value, is_order
<record id="sale.action_orders" model="ir.actions.act_window">
<field name="context">{'is_order': True, }</field>
<field name="domain">[('is_order', '=', True), ]</field>
</record>
Install it to use this feature is OK. But when we uninstall it, the context still there. And so, clicking on the menu will give error.
ValueError: Invalid field 'is_order' in leaf "<osv.ExtendedLeaf: ('is_order', '=', True) on sale_order (ctx: )>"
Any advise on how to remove this value back to original?
Thank you,
Follow-Ups
-
Re: Error after uninstall addon that has modified action's context
byEcosoft Co. Ltd., Kitti Upariphutthiphong -
Re: Error after uninstall addon that has modified action's context
byTecnativa. S. L., Pedro M. Baeza -
Re: Error after uninstall addon that has modified action's context
byHolger Brunn