Skip to Content
Menu
This question has been flagged
1 Reply
2253 Views

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: 




Avatar
Discard
Best Answer

Hi,

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

Thanks

Avatar
Discard
Author

Thanks man, I got it.

Related Posts Replies Views Activity
1
Feb 22
3939
0
Oct 21
1866
0
Nov 21
1149
1
Aug 21
2898
1
Mar 15
4821