← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 566318] Re: switching from tree to form always takes the lowest priority

 

on which version did you noticed this ? I don't think we have this in
OpenERP, because Supplier & Customers invoices (which have different
form views and open in list views) are correct.

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

-- 
switching from tree to form always takes the lowest priority
https://bugs.launchpad.net/bugs/566318
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: Incomplete

Bug description:
IMHO if such a code  is given the form with the id chricar_stock_care_act1_view1 and the view chricar_stock_care_form (priority=50) has to be taken
currently the standard stock picking form is used (priority 16)

    <record model="ir.actions.act_window" id="chricar_stock_care_act1">
      <field name="name">Stock Care</field>
      <field name="res_model">stock.picking</field>
      <field name="view_type">form</field>
      <field name="view_mode">tree,form</field>
      <field name="view_id" ref="chricar_stock_care_list"/>
      <field name="domain">[('type','=','production')]</field>
    </record>
    <record model="ir.actions.act_window.view" id="chricar_stock_care_act1_view2">
      <field name="sequence" eval="1"/>
      <field name="view_mode">tree</field>
      <field name="view_id" ref="chricar_stock_care_list"/>
      <field name="act_window_id" ref="chricar_stock_care_act1"/>
    </record>
    <record model="ir.actions.act_window.view" id="chricar_stock_care_act1_view1">
      <field name="sequence" eval="2"/>
      <field name="view_mode">form</field>
      <field name="view_id" ref="chricar_stock_care_form"/>
      <field name="act_window_id" ref="chricar_stock_care_act1"/>
    </record>