コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
4610 ビュー

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

アバター
破棄

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

最善の回答

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

アバター
破棄
関連投稿 返信 ビュー 活動
1
11月 19
6053
2
12月 23
14798
0
10月 23
33
3
10月 23
788
1
10月 23
569