Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
2311 Widoki

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: 




Awatar
Odrzuć
Najlepsza odpowiedź

Hi,

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

Thanks

Awatar
Odrzuć
Autor

Thanks man, I got it.

Powiązane posty Odpowiedzi Widoki Czynność
1
lut 22
3984
0
paź 21
1894
0
lis 21
1158
1
sie 21
2964
1
mar 15
4866