[IMP] point_of_sale sale_crm stock: Task ID-595:remove select=1 from all search views and all form view having a search view defined for the same object
bzr revid: mtr@mtr-20100513090447-113eqht4bw7o17lv
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
<group colspan="4" col="6">
|
||||
<field name="user_salesman_id" />
|
||||
<field name="partner_id" on_change="onchange_partner_pricelist(partner_id)"/>
|
||||
<field name="contract_number" select="1" groups="base.group_extended"/>
|
||||
<field name="contract_number" groups="base.group_extended"/>
|
||||
</group>
|
||||
<field name="lines" colspan="4" nolabel="1">
|
||||
<tree string="Order lines" editable="bottom">
|
||||
@@ -60,7 +60,7 @@
|
||||
</group>
|
||||
<separator colspan="4" string="Actions"/>
|
||||
<group colspan="4" col="6">
|
||||
<field name="state" select="1"/>
|
||||
<field name="state"/>
|
||||
<button name="%(action_pos_payment)d" string="Ma_ke Payment" icon="gtk-ok" type="action" states="draft,advance" />
|
||||
<button name="%(action_report_pos_receipt)d" string="_Reprint" icon="gtk-print" type="action" states="paid,done,invoiced"/>
|
||||
<button name="set_to_draft" string="Set to draft" states="paid" icon="gtk-execute" type="object" />
|
||||
@@ -74,16 +74,16 @@
|
||||
<separator string="Order Information" colspan="4"/>
|
||||
<field name="company_id"/>
|
||||
<field name="shop_id" widget="selection" />
|
||||
<field name="name" select="1"/>
|
||||
<field name="name"/>
|
||||
<field name="user_id" />
|
||||
<field name="sale_manager" />
|
||||
<field name="price_type" />
|
||||
</group>
|
||||
<group colspan="2" col="2" name="Type">
|
||||
<separator string="Dates" colspan="4"/>
|
||||
<field name="date_order" select="1" />
|
||||
<field name="date_validation" select="1" />
|
||||
<field name="date_payment" select="1" groups="base.group_extended"/>
|
||||
<field name="date_order"/>
|
||||
<field name="date_validation" />
|
||||
<field name="date_payment" groups="base.group_extended"/>
|
||||
</group>
|
||||
<group colspan="4">
|
||||
<separator string="Invoicing" colspan="4"/>
|
||||
@@ -135,12 +135,12 @@
|
||||
<field name="arch" type="xml">
|
||||
<tree string="POS Orders">
|
||||
<field name="name"/>
|
||||
<field name="date_order" select="1"/>
|
||||
<field name="date_order"/>
|
||||
<field name="date_validation"/>
|
||||
<field name="date_payment"/>
|
||||
<field name="user_id"/>
|
||||
<field name="invoice_id"/>
|
||||
<field name="state" select="1"/>
|
||||
<field name="state" />
|
||||
<field name="amount_total" sum="Amount total"/>
|
||||
<field name="company_id"/>
|
||||
</tree>
|
||||
@@ -155,12 +155,12 @@
|
||||
<filter icon="terp-sale" string="Quotations" domain="[('state','=','draft')]"/>
|
||||
<filter icon="terp-sale" string="Running" domain="[('state','in',('payment','advance'))]"/>
|
||||
<separator orientation="vertical"/>
|
||||
<field name="name" select="1"/>
|
||||
<field name="partner_id" select="1"/>
|
||||
<field name="user_id" select="1" widget="selection">
|
||||
<field name="name"/>
|
||||
<field name="partner_id"/>
|
||||
<field name="user_id" widget="selection">
|
||||
<filter icon="terp-partner" string="My Sale" domain="[('user_id','=',uid)]" help="My Sale Orders" />
|
||||
</field>
|
||||
<field name="date_order" select="1" string="Order date" />
|
||||
<field name="date_order" string="Order date" />
|
||||
<newline/>
|
||||
<group expand="1" string="Group By..." colspan="11" col="11">
|
||||
<filter string="Customer" icon="terp-sale" domain="[]" context="{'group_by':'partner_id'}"/>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
<field name="inherit_id" ref="sale.view_order_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<field name="user_id" position="after">
|
||||
<field name="section_id" widget="selection" groups="base.group_extended"/>
|
||||
<field name="section_id" widget="selection" groups="base.group_extended"/>
|
||||
</field>
|
||||
</field>
|
||||
</record>
|
||||
@@ -34,7 +34,7 @@
|
||||
<field name="inherit_id" ref="sale.view_sales_order_filter"/>
|
||||
<field name="arch" type="xml">
|
||||
<field name="date_order" position="after">
|
||||
<field name="section_id" default="context.get('section_id', False)" select="1" widget="selection" string="Section" groups="base.group_extended">
|
||||
<field name="section_id" default="context.get('section_id', False)" widget="selection" string="Section" groups="base.group_extended">
|
||||
|
||||
<filter icon="terp-crm"
|
||||
domain="[('section_id','=',context.get('section_id',False))]"
|
||||
|
||||
@@ -69,8 +69,8 @@
|
||||
help = "Completed Stock-Moves"/>
|
||||
|
||||
<separator orientation="vertical"/>
|
||||
<field name="product_id" select="1" widget="selection"/>
|
||||
<field name="location_id" select="1" widget="selection"/>
|
||||
<field name="product_id" widget="selection"/>
|
||||
<field name="location_id" widget="selection"/>
|
||||
</group>
|
||||
<newline/>
|
||||
<group expand="1" string="Group By..." >
|
||||
|
||||
+10
-13
@@ -600,13 +600,13 @@
|
||||
<form string="Picking list">
|
||||
<group colspan="4" col="6">
|
||||
|
||||
<field name="name" select="1" readonly="1"/>
|
||||
<!-- <field name="address_id" select="1" context="{'contact_display' : 'partner'}" groups="base.group_extended"/>-->
|
||||
<field name="name" readonly="1"/>
|
||||
<!-- <field name="address_id" context="{'contact_display' : 'partner'}" groups="base.group_extended"/>-->
|
||||
<field name="origin"/>
|
||||
|
||||
<field name="backorder_id" groups="base.group_extended" readonly="1"/>
|
||||
<field name="date"/>
|
||||
<field name="min_date" select="1"/>
|
||||
<field name="min_date"/>
|
||||
<field name="type"/>
|
||||
<field name="company_id" groups="base.group_multi_company" widget="selection"/>
|
||||
</group>
|
||||
@@ -734,7 +734,7 @@
|
||||
<field name="arch" type="xml">
|
||||
<tree colors="blue:state in ('draft');grey:state in ('cancel', 'done');red:state not in ('cancel', 'done') and date < current_date" string="Picking list">
|
||||
<field name="name"/>
|
||||
<field name="address_id" select="1"/>
|
||||
<field name="address_id"/>
|
||||
<field name="backorder_id" groups="base.group_extended"/>
|
||||
<field name="origin"/>
|
||||
<field name="date"/>
|
||||
@@ -1036,9 +1036,9 @@
|
||||
<filter icon="terp-stock" string="Confirmed" domain="[('state','=','confirmed')]" help="Confirmed Outgoing Orders"/>
|
||||
<separator orientation="vertical"/>
|
||||
|
||||
<field name="name" select="1"/>
|
||||
<field name="address_id" select="1"/>
|
||||
<!-- <field name="company_id" select="1" widget="selection"/>-->
|
||||
<field name="name"/>
|
||||
<field name="address_id" />
|
||||
<!-- <field name="company_id" widget="selection"/>-->
|
||||
|
||||
</group>
|
||||
<newline/>
|
||||
@@ -1108,9 +1108,8 @@
|
||||
<form string="Input Picking List">
|
||||
<group colspan="4" col="6">
|
||||
|
||||
<field name="name" readonly="1" select="1"/>
|
||||
<field name="name" readonly="1"/>
|
||||
<field name="address_id" on_change="onchange_partner_in(address_id)" context="{'contact_display':'partner'}" />
|
||||
|
||||
<field name="origin"/>
|
||||
<field name="backorder_id" readonly="1" groups="base.group_extended"/>
|
||||
<field name="date"/>
|
||||
@@ -1342,10 +1341,8 @@
|
||||
|
||||
<group colspan="2" col="2">
|
||||
<separator string="Locations & Picking" colspan="2" />
|
||||
|
||||
<field name="location_id" select="1" widget="selection"/>
|
||||
<field name="location_dest_id" select="1" widget="selection"/>
|
||||
|
||||
<field name="location_id" widget="selection"/>
|
||||
<field name="location_dest_id" widget="selection"/>
|
||||
<field name="picking_id"/>
|
||||
<field name="address_id" context="{'contact_display':'partner'}"/>
|
||||
<field name="company_id" groups="base.group_multi_company" widget="selection"/>
|
||||
|
||||
Reference in New Issue
Block a user