Hi, i'm new in openERP and I hope that you'll help me. I want to create a function which makes me able to auto-assign a value to a char field, specifically: I have 2 classes, an extension of "mrp_bom" which adds --> 'regola_colori_line_id':fields.one2many('regola.colori','name','Chiave Colori') connected to the "regola_colori" class. In "regola_colori" class there is the char field 'parent_id_regola_colori'. I want a function that auto-assign the value in Product Template(product_id that is a many2one field) of mrp.bom to my field parent_id_regola_colori. Thanks to all!
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- Project
- MRP