Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
2541 Näkymät

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
Hylkää
Paras vastaus

Hi,

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

Thanks

Avatar
Hylkää
Tekijä

Thanks man, I got it.

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
helmik. 22
4246
0
lokak. 21
2116
0
marrask. 21
1260
1
elok. 21
3192
1
maalisk. 15
5129