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 ...
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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 ...
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
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
Get invoice lines in custom form in Odoo 12
Diselesaikan
|
|
1
Nov 19
|
6053 | |
Odoo Mail Sending Limit
Diselesaikan
|
|
2
Des 23
|
14796 | |
|
0
Okt 23
|
33 | ||
|
3
Okt 23
|
788 | ||
|
1
Okt 23
|
569 |
Reference for customization in odoo: https://learnopenerp.tumblr.com/