Odoo Help

0

run python script on product save

By
grayson
on 7/15/13, 6:53 PM 1,565 views

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

KAM, ainur rofiq
on 7/16/13, 1:55 PM
1
Will Lau
On 7/30/13, 1:03 PM

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) ???

Hachem Chraiti
on 5/9/14, 7:23 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 7/15/13, 6:53 PM
Seen: 1565 times
Last updated: 3/16/15, 8:10 AM