Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
7693 มุมมอง

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.

อวตาร
ละทิ้ง

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

คำตอบที่ดีที่สุด

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

See question, 8503 for more.

อวตาร
ละทิ้ง

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

Related Posts ตอบกลับ มุมมอง กิจกรรม
2
มิ.ย. 16
5087
2
เม.ย. 25
3110
1
ส.ค. 20
5389
Add products in attribute values? แก้ไขแล้ว
1
พ.ค. 19
5079
2
ธ.ค. 18
27438