Skip to content

Commit

Permalink
[FIX] stock: better order of rules attribute
Browse files Browse the repository at this point in the history
In the Route form view, there is a table summerizing all the rules that 
define the current route. The order of variables was not so clear.

Task id : 1879552
  • Loading branch information
Whenrow authored and sle-odoo committed Sep 10, 2018
1 parent e316c95 commit b356b94
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion addons/stock/views/stock_location_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,9 @@
<field name="rule_ids" colspan="4" nolabel="1" context="{'default_company_id': company_id, 'form_view_ref':'stock.view_route_rule_form'}">
<tree>
<field name="sequence" widget="handle"/>
<field name="action"/>
<field name="location_src_id"/>
<field name="location_id"/>
<field name="action"/>
</tree>
</field>
</group>
Expand Down
4 changes: 2 additions & 2 deletions addons/stock/views/stock_rule_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<group>
<field name="name"/>
<field name="move_type"/>
</group>
</group>
</sheet>
</form>
</field>
Expand Down Expand Up @@ -45,9 +45,9 @@
<field name="model">stock.rule</field>
<field name="arch" type="xml">
<tree string="Rules">
<field name="action"/>
<field name="location_src_id"/>
<field name="location_id"/>
<field name="action"/>
<field name="route_id"/>
</tree>
</field>
Expand Down

0 comments on commit b356b94

Please sign in to comment.