Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
2422 มุมมอง

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.

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ก.พ. 22
4107
0
ต.ค. 21
1986
0
พ.ย. 21
1214
1
ส.ค. 21
3067
1
มี.ค. 15
5001