diff options
| author | Robot Odoo <xmo+roboto@odoo.com> | 2019-03-26 10:58:23 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-03-26 10:58:23 +0100 |
| commit | e64ed7cece84104231674d95598e9230f58c07ec (patch) | |
| tree | f45b6f07c903d80f29ab1308b988ff08e4636ee5 /addons/web/static/src/js/views/basic | |
| parent | 9ea4fefed2f94c6d211951e573b9a9a456f00ce6 (diff) | |
| parent | c092d8fc6dec7a0caafbeeb883612194138479f1 (diff) | |
[MERGE][IMP] sale_crm : create partner from lead to new quotation
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.
With this commit, 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.
Extra
For consistency, in the 'convert to opportunity' modal,
move the 'create a new customer' at the top of the selection values
+ change the group title to 'Customer' instead of 'Customers'
Task-1917332
closes odoo/odoo#30475
Signed-off-by: Jérome Maes (jem) <jem@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions
