Skip to Content
Menú
This question has been flagged
1 Respondre
2278 Vistes

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
Descartar
Best Answer

Hi,

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

Thanks

Avatar
Descartar
Autor

Thanks man, I got it.

Related Posts Respostes Vistes Activitat
1
de febr. 22
3964
0
d’oct. 21
1881
0
de nov. 21
1150
1
d’ag. 21
2937
1
de març 15
4838