Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
2542 Переглядів

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: 




Аватар
Відмінити
Найкраща відповідь

Hi,

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

Thanks

Аватар
Відмінити
Автор

Thanks man, I got it.

Related Posts Відповіді Переглядів Дія
1
лют. 22
4247
0
жовт. 21
2116
0
лист. 21
1260
1
серп. 21
3193
1
бер. 15
5131