Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
2 Respostas
4634 Visualizações

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
Cancelar

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

Melhor resposta

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
1
nov. 19
6067
2
dez. 23
14851
0
out. 23
33
3
out. 23
788
1
out. 23
569