Odoo Help


1 إجابة
francislouie الفلبّين
16‏/9‏/2019 11:41 م

Here's the sample code:

if line.product_id.x_fields_1 <= value (100):    

result = 1.00 * line.product_id.x_fields_1 * line.x_fields_2 

elif line.product_id.x_fields_1 >= value (101): 

result = 1.50 * line.product_id.x_fields_1 * line.x_fields_2 

This idea is same with salary rule of payroll module

اطرح سؤالاً
Keep Informed
1 متابعين
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.

Odoo Training Center

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

Test it now