Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
7662 Ansichten

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
Verwerfen

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 Antwort

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

See question, 8503 for more.

Avatar
Verwerfen

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

Verknüpfte Beiträge Antworten Ansichten Aktivität
2
Juni 16
5080
2
Apr. 25
3105
1
Aug. 20
5378
1
Mai 19
5066
2
Dez. 18
27423