Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I have the field:
'merged_porder_id' : fields.many2one('purchase.order', 'purchase_id'),
And display this field with:
How can I tell the system that I want to input several values ? The UI control is a simple Textbox, do the user have to separate the Purchase_id by some separator ? if yes which one ?
If you want to attach more than one purchase order you have to use a field of type
The difference is:
- If you use
many2manythen every purchase order can be assigned
more than oncein the field
merged_porder_id. A separate relation table is used in the background.
- If you use
one2manythen every purchase order can only be assigned to
merged_porder_id. In this case you also have to create a
many2onefield in the purchase order for the relation to the model of field
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 3/19/13, 7:40 AM|
|Seen: 3993 times|
|Last updated: 3/16/15, 8:10 AM|