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
Create an account today to enjoy exclusive features and engage with our awesome community!
Registrar-se| Related Posts | Respostes | Vistes | Activitat | |
|---|---|---|---|---|
|
1
de nov. 19
|
6641 | |||
|
Odoo Mail Sending Limit
Solved
|
2
de des. 23
|
16663 | ||
|
0
d’oct. 23
|
33 | |||
|
3
d’oct. 23
|
790 | |||
|
1
d’oct. 23
|
569 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.
Reference for customization in odoo: https://learnopenerp.tumblr.com/