openerp - How to bring products from opportunity to quotation -


hello new odoo , want help.

i have created tab products(many2many) in opportunity (your pipeline) contains product comes mass mailing has been customized. when opportunity won , converted quotation want products present in opportunity transferred in order_line(one2many) tab of quotation. need know there possible way complete functionality.

i see 2 ways, how that:

lead (opportunity) scope

try override functionality of odoo creating sale.order crm.lead. here have create sale.order.line via one2many triplets (look write method) or after sale.order creation, create sale.order.line (with values , create())

order scope (only useful when have lead id on sale.order creation)

get crm.lead (when provided) , create sale.order.line 1 of approaches "lead (opportunity) scope".


Comments

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -