Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


override the makeOrder method.

on 5/26/16, 2:01 AM 190 views

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,


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

 'total_product' : make.subject,


Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 5/26/16, 2:01 AM
Seen: 190 times
Last updated: 5/26/16, 2:27 AM