Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
2410 Lượt xem

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: 




Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,

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

Thanks

Ảnh đại diện
Huỷ bỏ
Tác giả

Thanks man, I got it.

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 2 22
4098
0
thg 10 21
1982
0
thg 11 21
1213
1
thg 8 21
3059
1
thg 3 15
4998