Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3457 Lượt xem

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,

 }

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 12 15
3482
3
thg 11 16
6728
2
thg 7 23
2673
2
thg 6 23
2264
1
thg 1 22
3826