← Back to team overview

openerp-dev-web team mailing list archive

[Bug 708467] [NEW] Act_window : Incomplete behavior

 

Olivier Dony (OpenERP) (odo) has assigned this bug to you for OpenERP Web Client:

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-addons
     Importance: Medium
     Assignee: OpenERP R&D Addons Team 1 (openerp-dev-addons1)
         Status: In Progress

** Affects: openobject-client
     Importance: Medium
     Assignee: OpenERP sa GTK client R&D (openerp-dev-gtk)
         Status: Confirmed

** Affects: openobject-client-web
     Importance: Medium
     Assignee: OpenERP SA's Web Client R&D (openerp-dev-web)
         Status: Confirmed

-- 
Act_window : Incomplete behavior
https://bugs.launchpad.net/bugs/708467
You received this bug notification because you are a member of OpenERP SA's Web Client R&D, which is a bug assignee.