Skip to content

Commit

Permalink
run pre-commit with new prettiers
Browse files Browse the repository at this point in the history
  • Loading branch information
guewen authored and rousseldenis committed Dec 7, 2022
1 parent 9e40e8c commit fd9a58d
Showing 1 changed file with 22 additions and 10 deletions.
32 changes: 22 additions & 10 deletions stock_location_zone/views/stock_location.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>

<record id="stock_location_form_inherit" model="ir.ui.view">
<field name="name">stock.location.zone</field>
<field name="model">stock.location</field>
<field name="inherit_id" ref="stock.view_location_form"/>
<field name="inherit_id" ref="stock.view_location_form" />
<field name="arch" type="xml">
<field name="scrap_location" position="before">
<field name="is_zone" />
Expand All @@ -16,24 +15,37 @@
</field>
</field>
</record>

<record id="view_location_search" model="ir.ui.view">
<field name="name">view.location.search.inherit</field>
<field name="model">stock.location</field>
<field name="inherit_id" ref="stock.view_location_search"/>
<field name="inherit_id" ref="stock.view_location_search" />
<field name="arch" type="xml">
<xpath expr="//search" position="inside">
<field name="location_kind"/>
<field name="location_kind" />
<field name="is_zone" />
<field name="zone_location_id" />
<field name="area_location_id" />
<group expand="0" string="Group By">
<filter string="Location Kind" name="location_kind" domain="[]" context="{'group_by':'location_kind'}"/>
<filter string="Zone location" name="zone_location" domain="[]" context="{'group_by':'zone_location_id'}"/>
<filter string="Area location" name="area_location" domain="[]" context="{'group_by':'area_location_id'}"/>
<filter
string="Location Kind"
name="location_kind"
domain="[]"
context="{'group_by':'location_kind'}"
/>
<filter
string="Zone location"
name="zone_location"
domain="[]"
context="{'group_by':'zone_location_id'}"
/>
<filter
string="Area location"
name="area_location"
domain="[]"
context="{'group_by':'area_location_id'}"
/>
</group>
</xpath>
</field>
</record>

</odoo>

0 comments on commit fd9a58d

Please sign in to comment.