Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
5589 Widoki

Could you please Guide me how to remove or add new field in form of Sales or inventory or another module . e.g i would like to remove the field of "Sale Payment Term "in new Form Quotation it is (Free Services according to problem),where should i work  i dont like to delete from my database but i like to remove from my view . Please how to compile the code.


Awatar
Odrzuć
Najlepsza odpowiedź

Hi,

If you need to remove an existing field from the view, you can just activate the debug mode and open corresponding form and then click the debugger button on top right of screen near logged in user name. From it click Edit View: Form, then you can see the code of the form, from there you can remove the Field. 

But the above is not recommended and permanent solution, always it is good to do it from the code by creating a custom module. 

To add new field from UI without code, see this:  Add custom field in odoo without code

To make changes inside the form from code, you can do it by inheriting the form, see this example:  How To Inherit And Add Field to Existing Views In Odoo

Thanks


Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
gru 24
2607
1
kwi 25
2707
1
maj 24
2526
2
cze 23
2797
1
lip 24
2049