Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
4609 Visualizzazioni

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 ...

Avatar
Abbandona

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

Risposta migliore

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

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
nov 19
6053
2
dic 23
14798
0
ott 23
33
3
ott 23
788
1
ott 23
569