Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
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.
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: email@example.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
|Asked: 4/19/16, 3:32 AM|
|Seen: 641 times|
|Last updated: 4/26/16, 7:45 AM|