New search widget
review95006
This commit is contained in:
1 parent
c9fe155c40
commit
a427acce04
5 files changed
+94
-94
No files matched your search
+9
-9
@@ -59,11 +59,11 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<field name="arch" type="xml">
|
||||
<![CDATA[
|
||||
<tree string="Inventories">
|
||||
<field name="location" select="1"/>
|
||||
<field name="date" select="1"/>
|
||||
<field name="state" select="1"/>
|
||||
<field name="company" select="2"/>
|
||||
<field name="create_date" tree_invisible="1" select="2"/>
|
||||
<field name="location"/>
|
||||
<field name="date"/>
|
||||
<field name="state"/>
|
||||
<field name="company"/>
|
||||
<field name="create_date" tree_invisible="1"/>
|
||||
</tree>
|
||||
]]>
|
||||
</field>
|
||||
@@ -71,7 +71,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<record model="ir.action.act_window" id="act_inventory_form">
|
||||
<field name="name">Inventories</field>
|
||||
<field name="res_model">stock.inventory</field>
|
||||
<field name="search_value">{'create_date': ['between', Date(delta_years=-1)]}</field>
|
||||
<field name="search_value">[('create_date', '>=', DateTime(hour=0, minute=0, second=0, microsecond=0, delta_years=-1))]</field>
|
||||
</record>
|
||||
<record model="ir.action.act_window.view"
|
||||
id="act_inventory_form_view1">
|
||||
@@ -138,10 +138,10 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<field name="arch" type="xml">
|
||||
<![CDATA[
|
||||
<tree string="Inventory Lines" editable="bottom">
|
||||
<field name="product" select="1"/>
|
||||
<field name="product"/>
|
||||
<field name="expected_quantity"/>
|
||||
<field name="quantity" select="2"/>
|
||||
<field name="uom" select="2"/>
|
||||
<field name="quantity"/>
|
||||
<field name="uom"/>
|
||||
<field name="unit_digits" tree_invisible="1"/>
|
||||
</tree>
|
||||
]]>
|
||||
|
||||
+8
-8
@@ -43,10 +43,10 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<field name="arch" type="xml">
|
||||
<![CDATA[
|
||||
<tree string="Locations" keyword_open="1">
|
||||
<field name="name" select="1"/>
|
||||
<field name="code" select="2"/>
|
||||
<field name="type" select="1"/>
|
||||
<field name="active" select="2" tree_invisible="1"/>
|
||||
<field name="name"/>
|
||||
<field name="code"/>
|
||||
<field name="type"/>
|
||||
<field name="active" tree_invisible="1"/>
|
||||
<field name="parent" tree_invisible="1"/>
|
||||
<field name="childs" tree_invisible="1"/>
|
||||
</tree>
|
||||
@@ -60,10 +60,10 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<field name="arch" type="xml">
|
||||
<![CDATA[
|
||||
<tree string="Locations">
|
||||
<field name="name" select="1"/>
|
||||
<field name="code" select="2"/>
|
||||
<field name="type" select="1"/>
|
||||
<field name="active" select="2" tree_invisible="1"/>
|
||||
<field name="name"/>
|
||||
<field name="code"/>
|
||||
<field name="type"/>
|
||||
<field name="active" tree_invisible="1"/>
|
||||
</tree>
|
||||
]]>
|
||||
</field>
|
||||
|
||||
@@ -44,14 +44,14 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<field name="arch" type="xml">
|
||||
<![CDATA[
|
||||
<tree string="Moves">
|
||||
<field name="product" select="1"/>
|
||||
<field name="from_location" select="1"/>
|
||||
<field name="to_location" select="1"/>
|
||||
<field name="quantity" select="2"/>
|
||||
<field name="uom" select="2"/>
|
||||
<field name="state" select="2"/>
|
||||
<field name="product"/>
|
||||
<field name="from_location"/>
|
||||
<field name="to_location"/>
|
||||
<field name="quantity"/>
|
||||
<field name="uom"/>
|
||||
<field name="state"/>
|
||||
<field name="unit_digits" tree_invisible="1"/>
|
||||
<field name="create_date" tree_invisible="1" select="2"/>
|
||||
<field name="create_date" tree_invisible="1"/>
|
||||
</tree>
|
||||
]]>
|
||||
</field>
|
||||
@@ -59,7 +59,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<record model="ir.action.act_window" id="act_move_form">
|
||||
<field name="name">Moves</field>
|
||||
<field name="res_model">stock.move</field>
|
||||
<field name="search_value">{'create_date': ['between', Date(delta_years=-1)]}</field>
|
||||
<field name="search_value">[('create_date', '>=', DateTime(hour=0, minute=0, second=0, microsecond=0, delta_years=-1))]</field>
|
||||
</record>
|
||||
<record model="ir.action.act_window.view" id="act_move_form_view1">
|
||||
<field name="sequence" eval="1"/>
|
||||
@@ -79,7 +79,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<field name="name">Moves from Suppliers</field>
|
||||
<field name="res_model">stock.move</field>
|
||||
<field name="domain">[('from_location.type', '=', 'supplier')]</field>
|
||||
<field name="search_value">{'create_date': ['between', Date(delta_years=-1)]}</field>
|
||||
<field name="search_value">[('create_date', '>=', DateTime(hour=0, minute=0, second=0, microsecond=0, delta_years=-1))]</field>
|
||||
</record>
|
||||
<record model="ir.action.act_window.view" id="act_move_form_supp_view1">
|
||||
<field name="sequence" eval="1"/>
|
||||
@@ -120,7 +120,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<field name="name">Moves to Customers</field>
|
||||
<field name="res_model">stock.move</field>
|
||||
<field name="domain">[('to_location.type', '=', 'customer')]</field>
|
||||
<field name="search_value">{'create_date': ['between', Date(delta_years=-1)]}</field>
|
||||
<field name="search_value">[('create_date', '>=', DateTime(hour=0, minute=0, second=0, microsecond=0, delta_years=-1))]</field>
|
||||
</record>
|
||||
<record model="ir.action.act_window.view"
|
||||
id="act_move_form_cust_view1">
|
||||
|
||||
+7
-7
@@ -10,13 +10,13 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<field name="arch" type="xml">
|
||||
<![CDATA[
|
||||
<tree string="Products">
|
||||
<field name="name" select="1"/>
|
||||
<field name="code" select="1"/>
|
||||
<field name="quantity" select="2"/>
|
||||
<field name="forecast_quantity" select="2"/>
|
||||
<field name="default_uom" select="2"/>
|
||||
<field name="type" select="1"/>
|
||||
<field name="active" select="2"/>
|
||||
<field name="name"/>
|
||||
<field name="code"/>
|
||||
<field name="quantity"/>
|
||||
<field name="forecast_quantity"/>
|
||||
<field name="default_uom"/>
|
||||
<field name="type"/>
|
||||
<field name="active"/>
|
||||
</tree>
|
||||
]]>
|
||||
</field>
|
||||
|
||||
+60
-60
@@ -29,13 +29,13 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<page string="Incoming Moves" id="incoming_moves">
|
||||
<field name="incoming_moves" colspan="4">
|
||||
<tree string="Moves">
|
||||
<field name="product" select="1"/>
|
||||
<field name="from_location" select="2"/>
|
||||
<field name="to_location" select="2"/>
|
||||
<field name="quantity" select="1"/>
|
||||
<field name="uom" select="1"/>
|
||||
<field name="planned_date" select="1"/>
|
||||
<field name="state" select="2"/>
|
||||
<field name="product"/>
|
||||
<field name="from_location"/>
|
||||
<field name="to_location"/>
|
||||
<field name="quantity"/>
|
||||
<field name="uom"/>
|
||||
<field name="planned_date"/>
|
||||
<field name="state"/>
|
||||
<field name="unit_digits" tree_invisible="1"/>
|
||||
</tree>
|
||||
</field>
|
||||
@@ -73,14 +73,14 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<field name="arch" type="xml">
|
||||
<![CDATA[
|
||||
<tree string="Supplier Shipments">
|
||||
<field name="code" select="1"/>
|
||||
<field name="reference" select="1"/>
|
||||
<field name="planned_date" select="2"/>
|
||||
<field name="effective_date" select="2"/>
|
||||
<field name="supplier" select="2"/>
|
||||
<field name="contact_address" select="2"/>
|
||||
<field name="state" select="1"/>
|
||||
<field name="create_date" tree_invisible="1" select="2"/>
|
||||
<field name="code"/>
|
||||
<field name="reference"/>
|
||||
<field name="planned_date"/>
|
||||
<field name="effective_date"/>
|
||||
<field name="supplier"/>
|
||||
<field name="contact_address"/>
|
||||
<field name="state"/>
|
||||
<field name="create_date" tree_invisible="1"/>
|
||||
</tree>
|
||||
]]>
|
||||
</field>
|
||||
@@ -88,7 +88,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<record model="ir.action.act_window" id="act_shipment_in_form">
|
||||
<field name="name">Supplier Shipments</field>
|
||||
<field name="res_model">stock.shipment.in</field>
|
||||
<field name="search_value">{'create_date': ['between', Date(delta_years=-1)]}</field>
|
||||
<field name="search_value">[('create_date', '>=', DateTime(hour=0, minute=0, second=0, microsecond=0, delta_years=-1))]</field>
|
||||
</record>
|
||||
<record model="ir.action.act_window.view"
|
||||
id="act_shipment_in_form_view1">
|
||||
@@ -204,14 +204,14 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<field name="arch" type="xml">
|
||||
<![CDATA[
|
||||
<tree string="Supplier Return Shipments">
|
||||
<field name="code" select="1"/>
|
||||
<field name="reference" select="2"/>
|
||||
<field name="planned_date" select="2"/>
|
||||
<field name="effective_date" select="2"/>
|
||||
<field name="from_location" select="2"/>
|
||||
<field name="to_location" select="2"/>
|
||||
<field name="state" select="1"/>
|
||||
<field name="create_date" tree_invisible="1" select="2"/>
|
||||
<field name="code"/>
|
||||
<field name="reference"/>
|
||||
<field name="planned_date"/>
|
||||
<field name="effective_date"/>
|
||||
<field name="from_location"/>
|
||||
<field name="to_location"/>
|
||||
<field name="state"/>
|
||||
<field name="create_date" tree_invisible="1"/>
|
||||
</tree>
|
||||
]]>
|
||||
</field>
|
||||
@@ -219,7 +219,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<record model="ir.action.act_window" id="act_shipment_in_return_form">
|
||||
<field name="name">Supplier Return Shipments</field>
|
||||
<field name="res_model">stock.shipment.in.return</field>
|
||||
<field name="search_value">{'create_date': ['between', Date(delta_years=-1)]}</field>
|
||||
<field name="search_value">[('create_date', '>=', DateTime(hour=0, minute=0, second=0, microsecond=0, delta_years=-1))]</field>
|
||||
</record>
|
||||
<record model="ir.action.act_window.view"
|
||||
id="act_shipment_in_return_form_view1">
|
||||
@@ -333,14 +333,14 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<field name="arch" type="xml">
|
||||
<![CDATA[
|
||||
<tree string="Customer Shipments">
|
||||
<field name="code" select="1"/>
|
||||
<field name="reference" select="1"/>
|
||||
<field name="planned_date" select="2"/>
|
||||
<field name="effective_date" select="2"/>
|
||||
<field name="customer" select="2"/>
|
||||
<field name="delivery_address" select="2"/>
|
||||
<field name="state" select="1"/>
|
||||
<field name="create_date" tree_invisible="1" select="2"/>
|
||||
<field name="code"/>
|
||||
<field name="reference"/>
|
||||
<field name="planned_date"/>
|
||||
<field name="effective_date"/>
|
||||
<field name="customer"/>
|
||||
<field name="delivery_address"/>
|
||||
<field name="state"/>
|
||||
<field name="create_date" tree_invisible="1"/>
|
||||
</tree>
|
||||
]]>
|
||||
</field>
|
||||
@@ -360,7 +360,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<record model="ir.action.act_window" id="act_shipment_out_form">
|
||||
<field name="name">Customer Shipments</field>
|
||||
<field name="res_model">stock.shipment.out</field>
|
||||
<field name="search_value">{'create_date': ['between', Date(delta_years=-1)]}</field>
|
||||
<field name="search_value">[('create_date', '>=', DateTime(hour=0, minute=0, second=0, microsecond=0, delta_years=-1))]</field>
|
||||
</record>
|
||||
<record model="ir.action.act_window.view"
|
||||
id="act_shipment_out_form_view1">
|
||||
@@ -522,14 +522,14 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<field name="arch" type="xml">
|
||||
<![CDATA[
|
||||
<tree string="Internal Shipments">
|
||||
<field name="code" select="1"/>
|
||||
<field name="reference" select="2"/>
|
||||
<field name="planned_date" select="2"/>
|
||||
<field name="effective_date" select="2"/>
|
||||
<field name="from_location" select="2"/>
|
||||
<field name="to_location" select="2"/>
|
||||
<field name="state" select="1"/>
|
||||
<field name="create_date" tree_invisible="1" select="2"/>
|
||||
<field name="code"/>
|
||||
<field name="reference"/>
|
||||
<field name="planned_date"/>
|
||||
<field name="effective_date"/>
|
||||
<field name="from_location"/>
|
||||
<field name="to_location"/>
|
||||
<field name="state"/>
|
||||
<field name="create_date" tree_invisible="1"/>
|
||||
</tree>
|
||||
]]>
|
||||
</field>
|
||||
@@ -537,7 +537,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<record model="ir.action.act_window" id="act_shipment_internal_form">
|
||||
<field name="name">Internal Shipments</field>
|
||||
<field name="res_model">stock.shipment.internal</field>
|
||||
<field name="search_value">{'create_date': ['between', Date(delta_years=-1)]}</field>
|
||||
<field name="search_value">[('create_date', '>=', DateTime(hour=0, minute=0, second=0, microsecond=0, delta_years=-1))]</field>
|
||||
</record>
|
||||
<record model="ir.action.act_window.view"
|
||||
id="act_shipment_internal_form_view1">
|
||||
@@ -666,13 +666,13 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<page string="Incoming Moves" id="incoming_moves">
|
||||
<field name="incoming_moves" colspan="4">
|
||||
<tree string="Moves">
|
||||
<field name="product" select="1"/>
|
||||
<field name="from_location" select="2"/>
|
||||
<field name="to_location" select="2"/>
|
||||
<field name="quantity" select="1"/>
|
||||
<field name="uom" select="1"/>
|
||||
<field name="planned_date" select="1"/>
|
||||
<field name="state" select="2"/>
|
||||
<field name="product"/>
|
||||
<field name="from_location"/>
|
||||
<field name="to_location"/>
|
||||
<field name="quantity"/>
|
||||
<field name="uom"/>
|
||||
<field name="planned_date"/>
|
||||
<field name="state"/>
|
||||
<field name="unit_digits" tree_invisible="1"/>
|
||||
</tree>
|
||||
</field>
|
||||
@@ -710,14 +710,14 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<field name="arch" type="xml">
|
||||
<![CDATA[
|
||||
<tree string="Customer Return Shipments">
|
||||
<field name="code" select="1"/>
|
||||
<field name="reference" select="1"/>
|
||||
<field name="state" select="1"/>
|
||||
<field name="planned_date" select="2"/>
|
||||
<field name="effective_date" select="2"/>
|
||||
<field name="customer" select="2"/>
|
||||
<field name="delivery_address" select="2"/>
|
||||
<field name="create_date" tree_invisible="1" select="2"/>
|
||||
<field name="code"/>
|
||||
<field name="reference"/>
|
||||
<field name="state"/>
|
||||
<field name="planned_date"/>
|
||||
<field name="effective_date"/>
|
||||
<field name="customer"/>
|
||||
<field name="delivery_address"/>
|
||||
<field name="create_date" tree_invisible="1"/>
|
||||
</tree>
|
||||
]]>
|
||||
</field>
|
||||
@@ -726,7 +726,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<record model="ir.action.act_window" id="act_shipment_out_return_form">
|
||||
<field name="name">Customer Return Shipments</field>
|
||||
<field name="res_model">stock.shipment.out.return</field>
|
||||
<field name="search_value">{'create_date': ['between', Date(delta_years=-1)]}</field>
|
||||
<field name="search_value">[('create_date', '>=', DateTime(hour=0, minute=0, second=0, microsecond=0, delta_years=-1))]</field>
|
||||
</record>
|
||||
<record model="ir.action.act_window.view"
|
||||
id="act_shipment_out_return_form_view1">
|
||||
@@ -1390,7 +1390,7 @@ this repository contains the full copyright notices and license terms. -->
|
||||
<data>
|
||||
<xpath
|
||||
expr="/tree/field[@name="active"]" position="after">
|
||||
<field name="delivery" select="2"/>
|
||||
<field name="delivery"/>
|
||||
</xpath>
|
||||
</data>
|
||||
]]>
|
||||
|
||||
Reference in new issue
Block a user