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

this function is for create quotation.

its necessary write whole function to override method.

i want to set  subject field to total_product field.


for make in self.browse(cr, uid, ids, context=context):

vals = {

 'partner_invoice_id': partner_addr['invoice'],

 'partner_shipping_id': partner_addr['delivery'],

'date_order': fields.datetime.now(),

 'fiscal_position': fpos,

 'payment_term':payment_term,

 'note': sale_obj.get_salenote(cr, uid, [case.id], partner.id, context=context),

 'total_product' : make.subject,

 }

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
2
ديسمبر 15
3482
3
نوفمبر 16
6698
2
يوليو 23
2647
2
يونيو 23
2236
1
يناير 22
3812