Odoo Aide

0

0
1 Answer
0
Avatar

Pascal Tremblay

--Pascal Tremblay--
1914
| 6 4 10
Alma, Canada
--Pascal Tremblay--


Pascal Tremblay
29/05/2016 15:34

Ok, I have analyzed the file addons/delivery/delivery.py. The method is get_price_from_picking.


For the price_type Fixed :

If the condition is fulfilled, the price of the shipping for this order will be exactly the value of  list_price.


For the price_type Variable :

If the condition is fulfilled, the price of the shipping for this order will be the list_price multiplied by the value of the variable_factor.

For example, the price of the shipping would be 30 $ if the condition is fulfilled, with a list_price of 6 $ and a variable_factor = weight and a total weight of 5 for this order.

Poser une question
Writer
Keep Informed
1 Abonné(e)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