تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
2445 أدوات العرض

Hello,

  • I'm working on Odoo 14. I have inherited 'sale.order' model and have added a selection field named 'Discount' with values 'Fixed Discount' and 'Discount In Percentage'.
  • My goal is when I select Fixed Discount from the selection field, The entered 'Fixed' amount should be removed from the Subtotal [e.g. $50(unit Price) - $10(fixed discount) = $40 ] and when I select Discount In Percentage it should function like a normal percentage operation.
  • I'm adding a Screenshot for your better understanding, Please let me know: 




الصورة الرمزية
إهمال
أفضل إجابة

Hi,

Please have a look at this free module which has similar functionality. You may refer this.

Thanks

الصورة الرمزية
إهمال
الكاتب

Thanks man, I got it.

المنشورات ذات الصلة الردود أدوات العرض النشاط
1
فبراير 22
4128
0
أكتوبر 21
2009
0
نوفمبر 21
1225
1
أغسطس 21
3097
1
مارس 15
5017