Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
1605 Vizualizări

How to add a new column in table.

Imagine profil
Abandonează
Cel mai bun răspuns

Hi Shibin,

You can add new field by inheriting sale.order.line model and adding the new field in the view as below:

suppose you want to add new field of type char , in your python file add like this:


And now you can add this field in your xml file by inheriting 


This code will add your new field just after the product column

Hope this will help you

Thank you

Imagine profil
Abandonează