Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
7870 Widoki

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.

Awatar
Odrzuć

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

Najlepsza odpowiedź

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

See question, 8503 for more.

Awatar
Odrzuć

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

Powiązane posty Odpowiedzi Widoki Czynność
2
cze 16
5243
2
kwi 25
3182
1
sie 20
5466
1
maj 19
5214
2
gru 18
27590