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:
- إدارة علاقات العملاء
- e-Commerce
- المحاسبة
- المخزون
- PoS
- Project
- MRP
لقد تم الإبلاغ عن هذا السؤال
1
الرد
7606
أدوات العرض
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) ???
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيلالمنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
---|---|---|---|---|
|
2
يونيو 16
|
5019 | ||
|
2
أبريل 25
|
3033 | ||
|
1
أغسطس 20
|
5283 | ||
|
1
مايو 19
|
4977 | ||
|
2
ديسمبر 18
|
27313 |
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