Contributors mailing list archives

contributors@odoo-community.org

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

by
Ecosoft, Kitti Upariphutthiphong
- 11/05/2017 02:54:12
Thank you all.

I have added the hook and now the module is ready for final review, if you may :)


Thanks again.

On Wed, May 10, 2017 at 7:38 PM, Pedro M. Baeza (Tecnativa) <pedro.baeza@tecnativa.com> wrote:

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


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