Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
4616 Переглядів

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

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
лист. 19
6062
Odoo Mail Sending Limit Вирішено
2
груд. 23
14809
0
жовт. 23
33
3
жовт. 23
788
1
жовт. 23
569