This question has been flagged

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.

Avatar
Discard
Best Answer

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

Avatar
Discard