When creating a quotation from a opportunity that does not have any customer set, we ended up on a quotation without any customer or any of the contact information entered on the crm.lead. If no customer is set on the opportunity, when hitting New Quotation button, a modal is displayed to ask the user what to do to fill in the customer field. - Create a new customer : Use the information from the opportunity to create automatically a res.partner. Set the res.partner on the quotation and on the opportunity. - Use an existing customer : Set this customer on the quotation and on the opportunity. Task ID : 1917332 Closes PR #30475
5 lines
143 B
Python
5 lines
143 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from . import crm_opportunity_to_quotation
|