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:
- CRM
- e-Commerce
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
2645
Widoki
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj się