Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
4627 Widoki

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

Awatar
Odrzuć

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

Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
lis 19
6065
2
gru 23
14834
0
paź 23
33
3
paź 23
788
1
paź 23
569