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'm trying to modify the form view of sale order to add two columns automaticaly filled when the product is selected with the informations of two fields i've added in the product creation. I've identified into the sale.order.form view that there is an on change option linked with the product_id_change function but i want to know where is the python file containing this function. Thanks for youre help.
Thanks for your help, but i've already tried to modify the sale/sale.py (located in /usr/share/pyshared/openerp/addons ), to ensure that's the product_id_change function was the good function, i've modified the osv error raised when no customer id is selected, restarted the server but when i select a line without selected a customer the osv error is still the original and not the error i've modified. I've also tried to modify the error into the i18n/uk.po but the result is the same. I'm not sure that i'm doing the best thing.
I've another question linked to my problem : i want to know if the product_id_changed function located in the sale/sale.py file is used only for the sales orders form or also for the quotations view? Because i've seen that the same sale.order.form view is used, thinking it's inherited for both.
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: 11/25/13, 1:14 PM|
|Seen: 1000 times|
|Last updated: 3/16/15, 8:10 AM|