Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
7128 มุมมอง

Hello,

I have a question I want to add total price after discount in Quotation. 

So I create a Quotation and I have added a discount and Tax to that Quotation, and I want the following to be applied in my Quotation.

-Subtotal price

- Discount

-Subtotal after discount(subtotal - discount)

-Tax

---------------

subtotal taxed

Can  I do that in my Quotation? is it possible to perform this without modifying the source code?  or I need to do modify it?  (I have the source code) 

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi, 

Here it needs little customisation to achieve this. You can follow bellow steps.


1) To make different fields.

-subtotal price = unit price * qty

-discount = (subtotal price /100) * discount percentage

-subtotal after discount = subtotal - discount

tax = (subtotal after discount /100) * tax percentage.


So you can add logic to the function which prepare amount calculations.

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

https://odoobook.readthedocs.io/sv/latest/sales/apply_manual_discount.html
https://www.cybrosys.com/blog/discount-on-sale-orders-and-invoices-in-odoo

Please check this link. I hope it will help you.


THanks

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
About Total Discount แก้ไขแล้ว
2
ก.ค. 25
917
2
พ.ค. 25
872
Sales quotation แก้ไขแล้ว
2
มี.ค. 24
1764
1
มี.ค. 15
4062
1
มี.ค. 15
4958