Opening form view from act_window broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Invalid
|
Undecided
|
OpenERP Publisher's Warranty Team |
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
<record id="action_
<field name="act_
<field eval="0" name="multi" />
<field eval="&
<field name="view_id" ref="crm.
<field eval="1" name="sequence" />
</record>
<record id="action_
<field name="act_
<field eval="0" name="multi" />
<field eval="&
<field name="view_id" ref="crm.
<field eval="0" name="sequence" />
</record>
</data>
</openerp>
Changed in openobject-server: | |
assignee: | nobody → OpenERP Publisher's Warranty Team (openerp-opw) |
status: | Invalid → New |
tags: | added: maintenance |
Bug #489183 and Bug #601480 might be relevant, but neither seem to describe exactly the problem I am facing.