Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
2448 Vizualizări

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: 




Imagine profil
Abandonează
Cel mai bun răspuns

Hi,

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

Thanks

Imagine profil
Abandonează
Autor

Thanks man, I got it.

Related Posts Răspunsuri Vizualizări Activitate
1
feb. 22
4129
0
oct. 21
2012
0
nov. 21
1225
1
aug. 21
3097
1
mar. 15
5024