Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
2353 Tampilan

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
Buang
Jawaban Terbai

Hi,

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

Thanks

Avatar
Buang
Penulis

Thanks man, I got it.

Post Terkait Replies Tampilan Aktivitas
1
Feb 22
4041
0
Okt 21
1934
0
Nov 21
1164
1
Agu 21
2994
1
Mar 15
4909