Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
2408 Представления

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
4096
0
окт. 21
1982
0
нояб. 21
1213
1
авг. 21
3058
1
мар. 15
4997