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.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Contabilità
- Magazzino
- PoS
- Project
- MRP
La domanda è stata contrassegnata
1
Rispondi
7650
Visualizzazioni
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) ???
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!
Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!
RegistratiPost correlati | Risposte | Visualizzazioni | Attività | |
---|---|---|---|---|
|
2
giu 16
|
5079 | ||
|
2
apr 25
|
3105 | ||
|
1
ago 20
|
5373 | ||
|
1
mag 19
|
5063 | ||
|
2
dic 18
|
27418 |
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