How to add a new column in table.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Akuntansi
- Inventaris
- PoS
- Project
- MRP
Pertanyaan ini telah diberikan tanda
1
Balas
1553
Tampilan
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
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
Daftar