Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged

Hi everyone I am looking to remove a field from contact, invoice, shipping addresses when adding information to the res.partner. I have tried to attributes invisible for the field but it ends up hiding all of the fields. Quite weird i know.

can anyone help?

thanks again in advance  

Avatar
Opusti
Best Answer

Hello Justin ,

Based on type(contact, invoice, shipping) the fields will change .
So you have to pass at least one type as well as inherit the form and add whatever the fields do you want

Avatar
Opusti
Best Answer

Try to override

fields_view_get

Ex odoo12: github . com/odoo/odoo/blob/12.0/addons/account/models/account_invoice.py#L564

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
0
jun. 20
2252
0
mar. 15
3822
2
jul. 25
625
0
feb. 20
4421
3
sep. 18
2341