How to add it in form?
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
This question has been flagged
Use related field...
already partner_id ('Customer') field exists in SO, so now establish a related for the same
Hi deep, i'm new in odoo. So kindly can you pls let me know how can i establish the related field ?! From ManageViews i tried to add that fileld, but it wasnt listed in there.
Add realted phone field on sale order model
_inherit = 'sale order'
_columns = {
'partner_phone':fields.related('partner_id','phone', type="char", string="Phone", store=True)
}
@Note: Store=True is optional.
Now add this field in xml view by using inerit specific sale order view.
Hope this will helps you.
Regards,
Anil
Thank you.
But it doesnt work for me!