Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: Write record in onchange so it behaves like a button?

by
Holger Brunn
- 16/02/2018 09:02:24
> What is the best way to write the record and then pass

> it on to the original button function?

call the function on self._origin:
https://github.com/OCA/OCB/blob/11.0/odoo/models.py#L4960


-- 
Therp - Maatwerk in open ontwikkeling

Holger Brunn - Ontwerp en implementatie

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

Reference