Skip to Content
Menu
This question has been flagged
1 Atsakyti
2426 Rodiniai

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: 




Portretas
Atmesti
Best Answer

Hi,

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

Thanks

Portretas
Atmesti
Autorius

Thanks man, I got it.

Related Posts Replies Rodiniai Veikla
1
vas. 22
4109
0
spal. 21
1988
0
lapkr. 21
1218
1
rugp. 21
3069
1
kov. 15
5003