Comment 33 for bug 1155679

Revision history for this message
Raphaƫl Valyi - http://www.akretion.com (rvalyi) wrote : Re: [Bug 1155679] Re: [7.0][trunk][crm] regression: sale order created from prospect through opportunity related to wrong address/partner

So and in any case the problem wasn't the receivable parts
which surprisingly are correctly related to the company despite the invoice
being related to the contact. Or it could be that partner_id of receivable
is different from the one of the invoice then which leads to other problems
described by Nhomar here
https://www.evernote.com/shard/s158/sh/40828d76-d94a-4f44-bdb5-9c0336f55a52/fe43fe77c401e9f3bdf95982a4b0a878

Thanks for having investigated anyway.

On Fri, Apr 5, 2013 at 6:53 PM, Ray Carnes <email address hidden>wrote:

> I was wrong. I mixed up the ID's.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1155679
>
> Title:
> [7.0][trunk][crm] regression: sale order created from prospect through
> opportunity related to wrong address/partner
>
> Status in OpenERP Addons (modules):
> Invalid
>
> Bug description:
> Hello,
>
> How to reproduce
> -------------------------------
>
> runbot + sale_crm module installed.
>
> Create a new prospect like this:
> subject: 'new project'
> company name: 'CompanyX'
> contact name: 'Joe'
>
> convert the lead it to an opportunity with the default settings (eg
> create new partner).
>
> By default the opportunity is related to the new contact Joe, who has
> been correctly created as a contact of CompanyX.
> But notice this is debatable whether it's good or not to link the
> opportunity to Joe instead of CompanyX. Indeed, CompanyX may have many
> contacts and this makes it hard to manage your opportunities by the
> companies behind the contacts.
>
> But there is worse:
> Now convert the opportunity to a new quote using default settings.
>
> By default: the new quote will be related to Joe, not CompanyX!!
> That is if you continue the flow, who will be invoiced will be Joe, not
> CompanyX, that is the accounting with CompanyX is going to be all wrong.
>
>
> Expected behavior
> -------------------------------
> 1) at the very least, in such case, the default address/company for the
> quote conversion should be the parent CompanyX instead of contact Joe.
> 2) eventually, the opportunity could be related to CompanyX too instead
> of Joe. Eventually this could be an option and eventually the opportunity
> would be related to CompanyX but mentioning in some field the Joe contact.
>
>
> Hope to see this fixed. I think today the CRM acts as a "discover
> OpenERP" channel, it can not be that broken. And behavior was correct in
> 6.1 at least, so this is a regression and regressions aren't good.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/openobject-addons/+bug/1155679/+subscriptions
>