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

In OpenERp v7

A sale order is created with the customer having sale agent. After confirming the sale , I created the invoice. The Agent field in the created invoice is empty.

The agent is not populated from sale order to invoice.

Is there any change to be done in the latest version of the sale commission module downloaded from launchpad.

الصورة الرمزية
إهمال
أفضل إجابة

Hello !

If you want to transfer anything from Sales Order to invoice, then you have to override this method in your module which is written in Sale module in sale.py file.
If you are aware about OpenERP architecture and having python knowledge then you can do that.

def _prepare_invoice()

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

الصورة الرمزية
إهمال
الكاتب

Thanks for the answer , will try to extend that method in sale.py

المنشورات ذات الصلة الردود أدوات العرض النشاط
1
مارس 15
9373
0
مارس 15
3504
1
مارس 15
9792
1
فبراير 17
10466
0
يونيو 15
3996