Odoo Help


This community 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.


run python script on product save

on 7/15/13, 6:53 PM 1,341 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
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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


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