跳至內容
選單
此問題已被標幟
1 回覆
2417 瀏覽次數

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
2月 22
4102
0
10月 21
1983
0
11月 21
1213
1
8月 21
3059
1
3月 15
4999