[base_partner] cannot add categories after selecting partner by category view

Bug #560666 reported by Ruud Riem-Vis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Status tracked in Trunk
Trunk
Fix Released
Undecided
Unassigned

Bug Description

When you select a partner using the "Partners->Partners->Partners by category" view, you cannot add a new category to this partner because only the selected category is available from the "Categories" tab in the partner (and not any other available category). This is very annoying if you want to treat a category of partners to add a new category to some of them for example. It is not consistent that the behavior of the "+ category" operation changes if you have selected the partner from a different view.

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) 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:
milestone: none → 5.0.10
status: New → Invalid
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

Revision history for this message
Jay Vora (Serpent Consulting Services) (jayvora) wrote :

It has been resolved in trunk.
Thanks.

Revision history for this message
Ruud Riem-Vis (ruud-riem-vis) wrote :

On 12.04.2010 12:09, Jay (Open ERP) wrote:
> It has been resolved in trunk.
> Thanks.
>
> ** Also affects: openobject-addons/trunk
> Importance: Undecided
> Status: Invalid
>
> ** Changed in: openobject-addons/trunk
> Status: Invalid => Fix Released
>
> ** Changed in: openobject-addons/trunk
> Milestone: 5.0.10 => 6.0
>
>
Great!
Thanks

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.