Odoo Help

0

0
1 Answer
0
Avatar

Axel Mendoza

--Axel Mendoza--
13613
| 8 8 10
Camaguey, Cuba
--Axel Mendoza--

DevOps - Full stack - Software Architect - Developer - Technology Integrator

I could help you to develop anything and solve complex problems based on technologies, integrations and tricky stuffs mostly in Python with OpenERP/Odoo, Zato, Django and many others frameworks programming languages and technologies.

I offers consulting services to anyone with an unanswered questions or needs for customizations. Think about it, maybe it's better to have an expert to solve your issues and projects than having a full-time employee trying to understand what to do and how

Reach me at aekroft@gmail.com

Axel Mendoza
15/03/16 05:43

Hi Pascal. Interesting question. The answer is "no" while using Odoo out of the box. For that you need to change how the pricelist get applied to calculate the product unit_price in the sale order line, to remove the warning dialog that prevent for calculate anything in the onchange that use the pricelist. Review it at the method product_id_change of the sale.order.line model. The warning is at this line:

warning_msgs += _("No valid pricelist line found ! :") + warn_msg +"\n\n"

---------------------update-----------------------------------

That error is due to the method price_get_multi of the model product.pricelist is not able to calculate an unit price for the product because it's using it in an sql query. Changing that sql query you could be better on this

2 Comments
Pascal Tremblay
15/03/16 07:46

thanks. I will see that.

Pascal Tremblay
15/03/16 08:09

Is it the same method product_id_change for the web shop?

Ask a Question
Writer
Keep Informed
1 follower(s)
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 eLearning platform and experience all Odoo Apps through learning videos, use cases and quizzes.

Test it now