Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
7700 Weergaven

We were looking to run a Python Script whenever a product is edited. We were thinking to hook this to the "Save" button on the product form, but can't seem to access it since it is a 'core' button.

Avatar
Annuleer

Key component of OpenERP is ORM. Predefined attributes/ORM method(create, wirte, unlink, etc) are defined out there. There are good reference to start learning https://doc.openerp.com/6.0/developer/2_5_Objects_Fields_Methods/methods/ https://www.openerp.com/files/memento/OpenERP_Technical_Memento_latest.pdf

Beste antwoord

Create a new module that will inherent the save method of product.product.

See question, 8503 for more.

Avatar
Annuleer

from where th creation of the product is handled(by which method of the product.py module) ???

Gerelateerde posts Antwoorden Weergaven Activiteit
2
jun. 16
5089
2
apr. 25
3112
1
aug. 20
5393
1
mei 19
5080
2
dec. 18
27441