Comment 2 for bug 560666

Revision history for this message
Ruud Riem-Vis (ruud-riem-vis) wrote : Re: [Bug 560666] Re: [base_partner] cannot add categories after selecting partner by category view

On 12.04.2010 08:12, Jay (Open ERP) wrote:
> Hello Ruud,
> I agree to your point of view.
> But the issue is, when you go through partners via selected category,the domain is set on the field.So, it will show only domain-satisfying categories. You may add a NEW category, but you cannot attach an existing one which is not relavent to domain.
> You may go to partners and edit the categories tab for that partner.
> Hope this helps.
>
> Thanks.
>
> ** Changed in: openobject-addons
> Status: New => Invalid
>
> ** Changed in: openobject-addons
> Milestone: None => 5.0.10
>
>
Hi Jay,
I understand the unerlying implementation issue. Still it is annoying
and could be worthwhile to be further investigated. It could solve issue
like those mentioned in this post :
http://www.openobject.com/forum/topic16103.html where you could much
more easily first select according to a category and then change.
The alternative path is possible of course but it's more a matter of
perceived logic for the end user (he get different information on the
category field depending how he got to the partner). I agree that the
domain filtering should apply to the res.partner object but not to the
res.partner.category object.

The problem is when you go to big number of records where you need to
use categories to select a set of partners. In my opinion, it is
necessary to be able to preselect and then add some more detail on a
subselection. The same reasoning hold for employees (employee structure)
where you would expect to be able to change the employee's category
after selecting a subset of them.

A solution could be to systematically reset the domain before opening
the category popup window via +. Note further that all categories are
shown in the categories tab of the partner even when selected by category.

What do you think?

Thanks