← Back to team overview

c2c-oerpscenario team mailing list archive

Re: [Bug 695736] [NEW] [6.0] display resources with "active=false"

 

On Thursday 30 December 2010, you wrote:
> Public bug reported:
> 
> Example
> Employee - click on active - the employee disappears and can't be
> reactivated without going manualy into the database using SQL. (or do I
> miss something ?)
> 
> I suggest to implement a common Action: "Display Inactive Resource"
> which automatically shows up in the right menu if field active is
> available.

The 'active' field of records has some "magic" property: it will be added to 
the domain filter by the framework. 
That is _unless_ it is already in the domain filter. I think you can already 
add the equivalent of an [('active','=',False)] through the custom filters of 
the Gtk client or Koo. You could even add ['|', ('active','=', True), 
('active', '=', False)], which may look redundant, but in fact it overrides 
the implicit ('active','=', True) rule.

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/695736

Title:
  [6.0]  display resources with "active=false" 

Status in OpenObject Server:
  New

Bug description:
  Example
Employee - click on active - the employee disappears and can't be reactivated without going manualy into the database using SQL. (or do I miss something ?) 

I suggest to implement a common Action: "Display Inactive Resource" which automatically shows up in the right menu if field active is available.

I now not for 6.0 .....





References