← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 708467] [NEW] Act_window : Incomplete behavior

 

Public bug reported:

There has been a problem observed on act_windows(links or shortcuts).

The problem is, act_windows do not respect domain and they work
according to context set on search panel,but this context can lead to a
completely wrong result.

Example:
Install stock module(With demo data).
Go to Sales/Products , edit the code of CPU1 to be CPU.
Click on Stock Moves(act_windows), you will see that the the purpose of link is not served at all. (result includes records for cpu2,cpu3) as well.


Second problem, clicking NEW should set default product_id on new Stock.move,which doesn't happen anymore.

Overall,
1. If domain is not supposed to beset, there should be a special key which loads FILTERED records on links.
2. 'default_FIELD':active_id or kind of relevant entry should appear in context.

Thanks.

** Affects: openobject-server
     Importance: Medium
     Assignee: OpenERP's Framework R&D (openerp-dev-framework)
         Status: Confirmed

** Project changed: openobject-addons => openobject-server

** Changed in: openobject-server
       Status: New => Confirmed

** Changed in: openobject-server
   Importance: Undecided => Medium

** Changed in: openobject-server
     Assignee: (unassigned) => OpenERP's Framework R&D (openerp-dev-framework)

-- 
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/708467

Title:
  Act_window : Incomplete behavior

Status in OpenERP Server:
  Confirmed

Bug description:
  There has been a problem observed on act_windows(links or shortcuts).

  The problem is, act_windows do not respect domain and they work
  according to context set on search panel,but this context can lead to
  a completely wrong result.

  Example:
  Install stock module(With demo data).
  Go to Sales/Products , edit the code of CPU1 to be CPU.
  Click on Stock Moves(act_windows), you will see that the the purpose of link is not served at all. (result includes records for cpu2,cpu3) as well.

  
  Second problem, clicking NEW should set default product_id on new Stock.move,which doesn't happen anymore.

  Overall,
  1. If domain is not supposed to beset, there should be a special key which loads FILTERED records on links.
  2. 'default_FIELD':active_id or kind of relevant entry should appear in context.

  Thanks.





Follow ups

References