c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #04952
[Bug 601480] Re: missing functionality for act_window
Hello DR Ferdinand,
In this situation you need to add one more attribute
view_mode="tree,form,calendar,graph" in <act_window> tag which will open
the all specified views correctly.
Thanks.
** Changed in: openobject-server
Status: New => Invalid
--
missing functionality for act_window
https://bugs.launchpad.net/bugs/601480
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
Status in OpenObject Server: Invalid
Bug description:
To "Browse" from "Sale Order" to "Outgoing Products"
<act_window
domain="[('sale_id', '=', active_id),('type','=','out')]"
view="stock.view_picking_out_tree"
id="act_sale_order_2_stock_picking"
name="Outgoing Products"
res_model="stock.picking"
src_model="sale.order"/>
which opens the tree view correctly
switching to form is not controllable as we can not define
view="stock.view_picking_out_form" anywhere
result - OpenERP opens a "random" form ( at least I do not think that something is evaluated to select specific forms)
workaround: (good to know !!)
in "Windows Action" define manually for this "Outgoing Products" resource (Source Object = sale.order) the same tree and form views as for the general "Outgoing Products" without source object