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

I have created one custom field in the purchase order line, and I have to send that value into the invoice while clicking the Create Bill button in the Purchase order form. how can I do this?


Please help me to fix this ...

อวตาร
ละทิ้ง

Reference for customization in odoo: https://learnopenerp.tumblr.com/

คำตอบที่ดีที่สุด

Hi,

You can pass the required values from the purchase order line to invoice line by overriding the function _prepare_invoice_line_from_po_line and pass the required values with this function.This function is in the following path addons/purchase/models/account_invoice.py.
Regards

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
พ.ย. 19
6078
Odoo Mail Sending Limit แก้ไขแล้ว
2
ธ.ค. 23
14893
0
ต.ค. 23
33
3
ต.ค. 23
789
1
ต.ค. 23
569