Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
4498 Представления

Hello,

I created some user defined fields within the models delivery order and invoice. (Same name in both models)

Now I create an invoice from a delivery order and want the values for those user defined fields to be transfered automatically to the same fields in the invoice.

How can I transfer this field values? Is it possible by doing it just with xml without any python changes? Where should I start?

Thanks for help in advance.

Аватар
Отменить
Лучший ответ

Hello !

You have to override this method in stock.py file.
def _prepare_invoice()

Thanks,
Acespritech Solutions Pvt. Ltd.
www.acespritech.com
Mail: info@acespritech.com
Skype: acespritech
Blog: http://www.acespritechblog.wordpress.com

Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
нояб. 22
2802
1
апр. 22
18364
0
янв. 22
2467
0
февр. 21
2339
0
дек. 24
1125