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
- Accounting
- Inventory
- PoS
- Project
- MRP
This question has been flagged
2397
Views
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up