Contributors mailing list archives

contributors@odoo-community.org

Re: Error after uninstall addon that has modified action's context

by
Tecnativa. S. L., Pedro M. Baeza
- 10/05/2017 12:07:05

2017-05-10 7:53 GMT+02:00 Holger Brunn <hbrunn@therp.nl>:
> Any advise on how to remove this value back to
> original?

you can null the field in an uninstall hook:
https://github.com/OCA/OCB/blob/10.0/odoo/modules/loading.py#L386

-- 
Therp - Maatwerk in open ontwikkeling

Holger Brunn - Ontwerp en implementatie

mail: holger@therp.nl
web: http://therp.nl

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe