Contributors mailing list archives
contributors@odoo-community.org
Browse archives
Re: Write record in onchange so it behaves like a button?
by
MoaHub, Graeme Gellatly
Hi, I tried that but it doesn't work. I think the onchange decorator messes it up, so you get a record has been modified, do you want to discqrd message and no change.
On Fri, Feb 16, 2018 at 9:17 PM, Holger Brunn <hbrunn@therp.nl> wrote:
> 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______________________________
_________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
Reference
-
Write record in onchange so it behaves like a button?
byMoaHub, Graeme Gellatly-
Re: Write record in onchange so it behaves like a button?
byMoaHub, Graeme Gellatly
-