تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
4481 أدوات العرض

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

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
نوفمبر 22
2782
1
أبريل 22
18364
0
يناير 22
2464
0
فبراير 21
2337
0
ديسمبر 24
1123