Odoo Help

0

How to Add Fields to Sales Order Form View

By
Cidex
on 4/19/16, 3:32 AM 820 views

Hello, 

I would like to add following fields to the Sales Order form view:

Under Order Line TAB:

qty_available  (to see for each product entered in the sales order line the quantity on hand)

Under shipping information TAB: 

Total Gross Weight and Total Net Weight for the ordered products.

Thanks

MAX

customize the module by someone

webkul, Prakash Sharma
on 4/21/16, 2:39 AM
1

Akhil P Sivan

--Akhil P Sivan--
4060
| 5 4 7
Kochi, India
--Akhil P Sivan--

Interested in exploring Odoo both technically & functionality wise.

email-id : akhilpsivan01@gmail.com

Akhil P Sivan
On 4/26/16, 7:45 AM

You need to create your own custom addon for that implementing these changes.

I think, for the first change:

- Add a functional field in sale.order.line model. (Refer the file stock >> product.py. You can see how the qty_available field in product form is created. Similarly you can do in sale.order.line model)

for the second change:

- You need to create two more functional or compute (new api) fields for that in sale.order model.

You may refer the Odoo tutorials to understand how to create your own simple addon, functional fields, inheriting views to add your fields etc. If you need any help contact me at: akhilpsivan01@gmail.com

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)

Stats

Asked: 4/19/16, 3:32 AM
Seen: 820 times
Last updated: 4/26/16, 7:45 AM