openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #13253
[Bug 628767] Re: Opening form view from act_window broken
** Changed in: openobject-server
Assignee: (unassigned) => OpenERP Publisher's Warranty Team (openerp-opw)
** Changed in: openobject-server
Status: Invalid => New
** Tags added: maintenance
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/628767
Title:
Opening form view from act_window broken
Status in OpenERP Server:
New
Bug description:
With the XML below, I get a list view containing a single opportunity
when I click on the 'Opportunity' button. If I click on the 'Form'
button in the GTK client, then I get the form view for that single
opportunity. All is well.
If, however, I change the sequence fields so that the form view comes
before the list view and then click the 'Opportunity' button, I get an
empty Opportunity form. If I click on the List button in the GTK
client, I get the correct list, as above. I can then click the Form
button, as above, and get to the expected form view.
I would expect to be able to load the form view straight off, without
the indirection via the list view.
<?xml version="1.0"?>
<openerp>
<data>
<act_window
id="action_opportunities_from_quotes"
name="Opportunity"
res_model="crm.lead"
src_model="sale.order"
view_mode="form"
domain="[('id','=', opportunity_id)]"
view_type="form" />
<record id="action_opportunities_from_quotes_view1" model="ir.actions.act_window.view">
<field name="act_window_id" ref="action_opportunities_from_quotes" />
<field eval="0" name="multi" />
<field eval=""""form"""" name="view_mode" />
<field name="view_id" ref="crm.crm_case_form_view_oppor" />
<field eval="1" name="sequence" />
</record>
<record id="action_opportunities_from_quotes_view2" model="ir.actions.act_window.view">
<field name="act_window_id" ref="action_opportunities_from_quotes" />
<field eval="0" name="multi" />
<field eval=""""tree"""" name="view_mode" />
<field name="view_id" ref="crm.crm_case_tree_view_oppor" />
<field eval="0" name="sequence" />
</record>
</data>
</openerp>
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/628767/+subscriptions