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

Hi ,I have added a new field discount in purchase order (odoo 10 ) but i want to carry forward that discount value in invoice form .All other values are being carried automatically by inbuilt module .So can someone help me to solve this problem .

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

Take a look at https://www.odoo.com/apps/modules/9.0/purchase_discount/ 

This module, for version 9, does what you want.  Check out the code in models/account_invoice_line.py that overrides the NEW method of account.invoice.line to look at the related purchase.order.line and set the discount.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 3 24
1155
2
thg 8 25
1557
1
thg 7 25
648
2
thg 7 25
910
2
thg 5 25
871