Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
3463 Переглядів

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,

 }

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
2
груд. 15
3482
3
лист. 16
6731
2
лип. 23
2681
Create function problem Вирішено
2
черв. 23
2281
1
січ. 22
3837