Changed widget=selection for many2one fields in views Ref: blueprint
bzr revid: hda@tinyerp.com-20091022134016-yxcmgifje47x87yr
This commit is contained in:
parent
bee8edb400
commit
cb16659625
|
@ -196,10 +196,10 @@
|
|||
</group>
|
||||
</page>
|
||||
<page string="Other Info">
|
||||
<field name="company_id"/>
|
||||
<field name="fiscal_position" groups="base.group_extended"/>
|
||||
<field name="company_id" widget="selection"/>
|
||||
<field name="fiscal_position" groups="base.group_extended" widget="selection"/>
|
||||
<newline/>
|
||||
<field name="payment_term"/>
|
||||
<field name="payment_term" widget="selection"/>
|
||||
<field name="name" select="2"/>
|
||||
<newline/>
|
||||
<field name="number" select="2"/>
|
||||
|
@ -213,7 +213,7 @@
|
|||
<field colspan="4" name="comment" nolabel="1"/>
|
||||
</page>
|
||||
<page string="Payments">
|
||||
<field name="payment_ids" colspan="4" nolabel="1">
|
||||
<field name="payment_ids" colspan="4" nolabel="1" >
|
||||
<tree string="Payments">
|
||||
<field name="date"/>
|
||||
<field name="ref"/>
|
||||
|
@ -255,7 +255,7 @@
|
|||
<page string="Invoice">
|
||||
<field domain="[('type','<>','view'), ('company_id', '=', company_id),('journal_id','=',journal_id)]" name="account_id" groups="base.group_user"/>
|
||||
<field name="name" select="2"/>
|
||||
<field name="payment_term"/>
|
||||
<field name="payment_term" widget="selection"/>
|
||||
<field colspan="4" name="invoice_line" nolabel="1" widget="one2many_list"/>
|
||||
<group col="1" colspan="2">
|
||||
<field name="tax_line" nolabel="1">
|
||||
|
@ -287,8 +287,8 @@
|
|||
</group>
|
||||
</page>
|
||||
<page string="Other Info">
|
||||
<field name="company_id"/>
|
||||
<field name="fiscal_position" groups="base.group_extended,base.group_user"/>
|
||||
<field name="company_id" widget="selection"/>
|
||||
<field name="fiscal_position" groups="base.group_extended,base.group_user" widget="selection"/>
|
||||
<newline/>
|
||||
<field name="date_due" select="1"/>
|
||||
<newline/>
|
||||
|
|
|
@ -120,7 +120,7 @@
|
|||
<field name="name" select="1" colspan="4"/>
|
||||
<field name="code" select="1"/>
|
||||
<field name="parent_id"/>
|
||||
<field name="company_id" select="2"/>
|
||||
<field name="company_id" select="2" widget="selection"/>
|
||||
<field name="user_type" select="1"/>
|
||||
</group>
|
||||
<notebook colspan="4">
|
||||
|
@ -534,7 +534,7 @@
|
|||
<form string="Account Tax Code">
|
||||
<field name="name" select="1"/>
|
||||
<field name="code" select="1"/>
|
||||
<field name="company_id"/>
|
||||
<field name="company_id" widget="selection"/>
|
||||
<field name="notprintable"/>
|
||||
<field name="parent_id" select="1"/>
|
||||
<field name="sign"/>
|
||||
|
@ -581,7 +581,7 @@
|
|||
<form string="Account Tax">
|
||||
<group colspan="4" col="6">
|
||||
<field name="name" select="1"/>
|
||||
<field name="company_id"/>
|
||||
<field name="company_id" widget="selection"/>
|
||||
<field name="description" select="1"/>
|
||||
<field name="active" select="2"/>
|
||||
<field name="tax_group" select="1"/>
|
||||
|
@ -1657,7 +1657,7 @@
|
|||
<form string="Generate Chart of Accounts from a Chart Template">
|
||||
<separator col="4" colspan="4" string="Generate Chart of Accounts from a Chart Template"/>
|
||||
<label align="0.0" string="This will automatically configure your chart of accounts, bank accounts, taxes and journals according to the selected template" colspan="4"/>
|
||||
<field name="company_id" />
|
||||
<field name="company_id" widget="selection"/>
|
||||
<field name ="code_digits" />
|
||||
<field name="chart_template_id"/>
|
||||
<field name ="seq_journal" />
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<field name="arch" type="xml">
|
||||
<form string="Fiscal Position">
|
||||
<field name="name" select="1"/>
|
||||
<field name="company_id"/>
|
||||
<field name="company_id" widget="selection"/>
|
||||
<newline/>
|
||||
<field name="note" colspan="4"/>
|
||||
<field name="tax_ids" colspan="4" widget="one2many_list">
|
||||
|
@ -75,8 +75,8 @@
|
|||
<group col="2" colspan="2">
|
||||
<separator string="Customer Accounting Properties" colspan="2"/>
|
||||
<field name="property_account_receivable"/>
|
||||
<field name="property_account_position"/>
|
||||
<field name="property_payment_term"/>
|
||||
<field name="property_account_position" widget="selection"/>
|
||||
<field name="property_payment_term" widget="selection"/>
|
||||
</group>
|
||||
<group col="2" colspan="2">
|
||||
<separator string="Supplier Accounting Properties" colspan="2"/>
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
<field name="name" select="1" colspan="4"/>
|
||||
<field name="code" select="1"/>
|
||||
<field name="parent_id" on_change="on_change_parent(parent_id)"/>
|
||||
<field name="company_id" select="2"/>
|
||||
<field name="company_id" select="2" widget="selection"/>
|
||||
<field name="type" select="2"/>
|
||||
</group>
|
||||
<notebook colspan="4">
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
<field name="product_id" select="2"/>
|
||||
<field name="partner_id" select="2"/>
|
||||
<field name="user_id" select="2"/>
|
||||
<field name="company_id" select="2"/>
|
||||
<field name="company_id" select="2" widget="selection"/>
|
||||
<field name="date_start"/>
|
||||
<field name="date_stop"/>
|
||||
</form>
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
<field name="arch" type="xml">
|
||||
<form string="Follow-Up">
|
||||
<field name="name" select="1"/>
|
||||
<field name="company_id" select="1"/>
|
||||
<field name="company_id" select="1" widget="selection"/>
|
||||
<separator colspan="4" string="Description"/>
|
||||
<field colspan="4" name="description" nolabel="1" select="1"/>
|
||||
<separator colspan="4" string="Lines"/>
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
</group>
|
||||
</page>
|
||||
<page string="Other Info">
|
||||
<field name="company_id" select="1"/>
|
||||
<field name="company_id" select="1" widget="selection"/>
|
||||
<field name="currency_id" select="1" />
|
||||
<field name="period_id"/>
|
||||
<field name="date" select="1"/>
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
<field name="sequence"/>
|
||||
<field name="active" select="2"/>
|
||||
<field name="user_id" select="2"/>
|
||||
<field name="parent_id" select="2"/>
|
||||
<field name="parent_id" select="2" widget="selection"/>
|
||||
<field name="allow_unlink" select="2"/>
|
||||
<field name="reply_to" select="2"/>
|
||||
<field name="gateway_ids" widget="one2many_list" nolabel="1" colspan="4">
|
||||
|
@ -110,7 +110,7 @@
|
|||
<field name="arch" type="xml">
|
||||
<form string="Case Category">
|
||||
<field name="name" select="1"/>
|
||||
<field name="section_id" select="1"/>
|
||||
<field name="section_id" select="1" widget="selection"/>
|
||||
<field name="probability"/>
|
||||
</form>
|
||||
</field>
|
||||
|
@ -153,7 +153,7 @@
|
|||
|
||||
<separator colspan="4" string="Conditions on Case Fields"/>
|
||||
<field name="regex_name" string="Regex on Case Name" colspan="2"/>
|
||||
<field name="trg_section_id" select="1"/>
|
||||
<field name="trg_section_id" select="1" widget="selection"/>
|
||||
<field name="trg_categ_id"/>
|
||||
<field name="trg_user_id" select="2"/>
|
||||
<separator colspan="4" string="Conditions on Case Partner"/>
|
||||
|
@ -316,7 +316,7 @@
|
|||
<field name="arch" type="xml">
|
||||
<form string="Cases">
|
||||
<field colspan="4" name="name" select="1"/>
|
||||
<field colspan="2" name="section_id"/>
|
||||
<field colspan="2" name="section_id" widget="selection"/>
|
||||
<field name="date" select="1"/>
|
||||
<field name="date_deadline" select="2"/>
|
||||
<field name="priority"/>
|
||||
|
@ -628,7 +628,7 @@
|
|||
<field name="type">form</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Email Gateway">
|
||||
<field name="section_id"/>
|
||||
<field name="section_id" widget="selection"/>
|
||||
<field name="mailgateway"/>
|
||||
<notebook colspan="4">
|
||||
<page string="Server Setting">
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
<form string="Bug Tracker Form">
|
||||
<group colspan="4" col="6">
|
||||
<field name="name" string="Title" colspan="2"/>
|
||||
<field name="section_id" colspan="1"/>
|
||||
<field name="section_id" colspan="1" widget="selection"/>
|
||||
<label string="Resolution: " align="1.0"/>
|
||||
<group colspan="1" col="2">
|
||||
<field name="stage_id" select="1" nolabel="1"/>
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
<field name="partner_id"/>
|
||||
<field name="user_id" string="Responsible" select="2"/>
|
||||
<newline/>
|
||||
<field name="section_id"/>
|
||||
<field name="section_id" widget="selection"/>
|
||||
<field name="date" string="Date of Claim"/>
|
||||
<field name="categ_id" string="Type of claim" select="1" on_change="onchange_categ_id(categ_id)"/>
|
||||
<label string="Stage: " align="1.0"/>
|
||||
|
@ -102,7 +102,7 @@
|
|||
<field name="name"/>
|
||||
<field name="partner_id"/>
|
||||
<field name="user_id"/>
|
||||
<field name="section_id"/>
|
||||
<field name="section_id" widget="selection"/>
|
||||
<field name="state"/>
|
||||
</tree>
|
||||
</field>
|
||||
|
|
|
@ -99,7 +99,7 @@
|
|||
<field name="arch" type="xml">
|
||||
<form string="Stage">
|
||||
<field name="name" select="1"/>
|
||||
<field name="section_id" select="1"/>
|
||||
<field name="section_id" select="1" widget="selection"/>
|
||||
<field name="sequence"/>
|
||||
</form>
|
||||
</field>
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
<form string="Funds Form">
|
||||
<group colspan="4" col="6">
|
||||
<field name="name" select="1" string="Name" colspan="2"/>
|
||||
<field name="section_id" colspan="1"/>
|
||||
<field name="section_id" colspan="1" widget="selection"/>
|
||||
<field name="categ_id" select="1" on_change="onchange_categ_id(categ_id)"/>
|
||||
<newline/>
|
||||
<field name="date" string="Next Meeting"/>
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
<form string="Jobs - Recruitment Form">
|
||||
<group colspan="4" col="7">
|
||||
<field name="name" string="Description" colspan="2"/>
|
||||
<field name="section_id" colspan="1"/>
|
||||
<field name="section_id" colspan="1" widget="selection"/>
|
||||
<field name="user_id" string="Responsible" select="2"/>
|
||||
<button name="set_partner" string="Convert to Partner" icon="terp-partner"/>
|
||||
<newline/>
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
<form string="Prospects Form">
|
||||
<group colspan="4" col="7">
|
||||
<field name="name" select="1" string="Prospect Subject"/>
|
||||
<field name="section_id" colspan="1"/>
|
||||
<field name="section_id" colspan="1" widget="selection"/>
|
||||
<label string="Stage: " align="1.0"/>
|
||||
<group colspan="1" col="2">
|
||||
<field name="stage_id" select="1" nolabel="1"/>
|
||||
|
@ -93,7 +93,7 @@
|
|||
<field name="name"/>
|
||||
<field name="partner_id"/>
|
||||
<field name="user_id"/>
|
||||
<field name="section_id"/>
|
||||
<field name="section_id" widget="selection"/>
|
||||
<field name="state"/>
|
||||
</tree>
|
||||
</field>
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
<form string="Meetings Form">
|
||||
<group colspan="4" col="6">
|
||||
<field name="name" select="1" string="Title"/>
|
||||
<field name="section_id"/>
|
||||
<field name="section_id" widget="selection"/>
|
||||
<field name="user_id" select="2" string="Responsible" required="1"/>
|
||||
<newline/>
|
||||
<field name="date" string="Meeting Date" required="1"/>
|
||||
|
@ -110,7 +110,7 @@
|
|||
<field name="id"/>
|
||||
<field name="name" string="Title"/>
|
||||
<field name="date" string="Next Meeting"/>
|
||||
<field name="section_id"/>
|
||||
<field name="section_id" widget="selection"/>
|
||||
<field name="priority"/>
|
||||
<field name="categ_id"/>
|
||||
<field name="category2_id" string="Type"/>
|
||||
|
@ -131,7 +131,7 @@
|
|||
<calendar string="Meetings" date_start="date" color="user_id" date_delay="duration">
|
||||
<field name="name"/>
|
||||
<field name="partner_id"/>
|
||||
<field name="section_id"/>
|
||||
<field name="section_id" widget="selection"/>
|
||||
</calendar>
|
||||
</field>
|
||||
</record>
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
<form string="Opportunities">
|
||||
<group colspan="4" col="7">
|
||||
<field name="name" select="1" string="Opportunity" colspan="2"/>
|
||||
<field name="section_id" colspan="1"/>
|
||||
<field name="section_id" colspan="1" widget="selection"/>
|
||||
<field name="user_id" select="2" string="Responsible"/>
|
||||
<button string="Schedule a Phone Call"
|
||||
name="%(wizard_crm_reschedule_phone_call)d" icon="gtk-redo" type="action" />
|
||||
|
@ -88,7 +88,7 @@
|
|||
<field name="name"/>
|
||||
<field name="partner_id"/>
|
||||
<field name="user_id"/>
|
||||
<field name="section_id"/>
|
||||
<field name="section_id" widget="selection"/>
|
||||
<field name="state"/>
|
||||
</tree>
|
||||
</field>
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
<form string="Claims">
|
||||
<group colspan="4" col="7">
|
||||
<field name="name" string="Subject"/>
|
||||
<field name="section_id" colspan="1"/>
|
||||
<field name="section_id" colspan="1" widget="selection"/>
|
||||
<field name="user_id" string="Assigned to" select="2"/>
|
||||
<button string="Convert to Partner" icon="terp-crm" name="%(wizard_crm_partner_create)d" type="action" attrs="{'invisible':[('partner_id','!=',False)]}"/>
|
||||
<newline/>
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
<form string="Cases by Section and Category2">
|
||||
<field name="name"/>
|
||||
<field name="user_id"/>
|
||||
<field name="section_id" select="1"/>
|
||||
<field name="section_id" select="1" widget="selection"/>
|
||||
<field name="category2_id" select="1"/>
|
||||
<field name="stage_id"/>
|
||||
<field name="amount_revenue"/>
|
||||
|
@ -98,7 +98,7 @@
|
|||
<form string="Cases by Section and Stage">
|
||||
<field name="name"/>
|
||||
<field name="user_id"/>
|
||||
<field name="section_id" select="1"/>
|
||||
<field name="section_id" select="1" widget="selection"/>
|
||||
<field name="stage_id"/>
|
||||
<field name="amount_revenue"/>
|
||||
<field name="nbr" select="1"/>
|
||||
|
@ -163,7 +163,7 @@
|
|||
<form string="Cases by Section, Category and Stage">
|
||||
<field name="name"/>
|
||||
<field name="user_id"/>
|
||||
<field name="section_id" select="1"/>
|
||||
<field name="section_id" select="1" widget="selection"/>
|
||||
<field name="categ_id"/>
|
||||
<field name="stage_id"/>
|
||||
<field name="nbr" select="1"/>
|
||||
|
@ -217,7 +217,7 @@
|
|||
<form string="Cases by Section, Category and Type">
|
||||
<field name="name"/>
|
||||
<field name="user_id"/>
|
||||
<field name="section_id" select="1"/>
|
||||
<field name="section_id" select="1" widget="selection"/>
|
||||
<field name="categ_id"/>
|
||||
<field name="category2_id"/>
|
||||
<field name="stage_id"/>
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
<field name="arch" type="xml">
|
||||
<form string="department">
|
||||
<field colspan="4" name="name" select="1"/>
|
||||
<field name="company_id" select="1"/>
|
||||
<field name="company_id" select="1" widget="selection"/>
|
||||
<field name="parent_id" select="2"/>
|
||||
<field colspan="4" name="manager_id" select="1"/>
|
||||
<notebook colspan="4" >
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
<group colspan="4" col="4">
|
||||
<field name="name" select="1"/>
|
||||
<field name="active" select="1"/>
|
||||
<field name="company_id"/>
|
||||
<field name="company_id" widget="selection"/>
|
||||
<field name="user_id"/>
|
||||
</group>
|
||||
<notebook colspan="4">
|
||||
|
@ -59,7 +59,7 @@
|
|||
<separator string="Job Information" colspan="4"/>
|
||||
<field name="parent_id" select="1" colspan="4"/>
|
||||
|
||||
<field name="category_id" colspan="4"/>
|
||||
<field name="category_id" colspan="4" widget="selection"/>
|
||||
</group>
|
||||
</page>
|
||||
<page string="Notes">
|
||||
|
|
|
@ -176,7 +176,7 @@
|
|||
<form string="Leave Type">
|
||||
<field colspan="4" name="name" select="1"/>
|
||||
<field name="color_name" select="2"/>
|
||||
<field name="section_id" select="1" />
|
||||
<field name="section_id" select="1" widget="selection"/>
|
||||
<field name="limit" select="2"/>
|
||||
<field name="active" select="2"/>
|
||||
</form>
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<group colspan="4" col="4">
|
||||
<separator colspan="4" string="Invoicing Data"/>
|
||||
<field name="pricelist_id"/>
|
||||
<field name="to_invoice"/>
|
||||
<field name="to_invoice" widget="selection" />
|
||||
<field name="amount_max"/>
|
||||
<field name="amount_invoiced"/>
|
||||
<separator colspan="4" string="Status"/>
|
||||
|
|
|
@ -830,7 +830,7 @@
|
|||
<form string="Minimum Stock Rules">
|
||||
<field name="name" select="1"/>
|
||||
<field name="active" select="1"/>
|
||||
<field name="warehouse_id" on_change="onchange_warehouse_id(warehouse_id)" select="1"/>
|
||||
<field name="warehouse_id" on_change="onchange_warehouse_id(warehouse_id)" select="1" widget="selection"/>
|
||||
<field name="location_id" select="2"/>
|
||||
<field name="product_id" on_change="onchange_product_id(product_id)" select="1"/>
|
||||
<field name="product_uom"/>
|
||||
|
|
|
@ -124,7 +124,7 @@
|
|||
<group colspan="2" col="2" name="misc">
|
||||
<separator string="Miscelleanous" colspan="2"/>
|
||||
<field name="active" select="2"/>
|
||||
<field name="company_id" select="2" groups="base.group_extended"/>
|
||||
<field name="company_id" select="2" groups="base.group_extended" widget="selection"/>
|
||||
</group>
|
||||
|
||||
</page>
|
||||
|
|
|
@ -380,7 +380,7 @@
|
|||
<field name="date_close" select="2"/>
|
||||
</group>
|
||||
<separator string="Miscelleanous" colspan="4"/>
|
||||
<field name="type"/>
|
||||
<field name="type" widget="selection"/>
|
||||
<field name="active" select="2"/>
|
||||
<field name="partner_id" select="2"/>
|
||||
<separator colspan="4" string="Notes"/>
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
<field name="date_order" select="2"/>
|
||||
<field name="invoiced" select="2"/>
|
||||
<newline/>
|
||||
<field name="warehouse_id" on_change="onchange_warehouse_id(warehouse_id)"/>
|
||||
<field name="warehouse_id" on_change="onchange_warehouse_id(warehouse_id)" widget="selection"/>
|
||||
<field name="origin" select="2"/>
|
||||
<field name="shipped" select="2"/>
|
||||
</group>
|
||||
|
@ -87,13 +87,13 @@
|
|||
<separator string="Delivery" colspan="2"/>
|
||||
<field name="dest_address_id" on_change="onchange_dest_address_id(dest_address_id)"/>
|
||||
<field name="minimum_planned_date"/>
|
||||
<field name="location_id"/>
|
||||
<field name="location_id" widget="selection"/>
|
||||
</group>
|
||||
<group colspan="2" col="2">
|
||||
<separator string="Invoice Control" colspan="2"/>
|
||||
<field name="invoice_method"/>
|
||||
<field name="invoice_id" readonly="1"/>
|
||||
<field name="fiscal_position" groups="base.group_extended"/>
|
||||
<field name="fiscal_position" groups="base.group_extended" widget="selection"/>
|
||||
</group>
|
||||
<newline/>
|
||||
<separator string="Purchase Control" colspan="4"/>
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
<form string="Cases by User and Section">
|
||||
<field name="name" select="1"/>
|
||||
<field name="user_id" select="1"/>
|
||||
<field name="section_id" select="1"/>
|
||||
<field name="section_id" select="1" widget="selection"/>
|
||||
<field name="nbr" select="1"/>
|
||||
<field name="state" select="1"/>
|
||||
</form>
|
||||
|
@ -123,7 +123,7 @@
|
|||
<form string="Cases by User and Section">
|
||||
<field name="name" select="1"/>
|
||||
<field name="categ_id" select="1"/>
|
||||
<field name="section_id" select="1"/>
|
||||
<field name="section_id" select="1" widget="selection"/>
|
||||
<field name="nbr" select="1"/>
|
||||
<field name="state" select="1"/>
|
||||
</form>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<field name="arch" type="xml">
|
||||
<form string="Tasks by User">
|
||||
<field name="user_id" select="1"/>
|
||||
<field name="company_id" select="1"/>
|
||||
<field name="company_id" select="1" widget="selection"/>
|
||||
<field name="task_nbr" select="2"/>
|
||||
<field name="task_hrs" select="2"/>
|
||||
<field name="task_progress" select="2"/>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<field name="arch" type="xml">
|
||||
<form string="Sale Shop">
|
||||
<field name="name" select="1"/>
|
||||
<field name="warehouse_id" required="1" select="1"/>
|
||||
<field name="warehouse_id" required="1" select="1" widget="selection"/>
|
||||
<separator colspan="4" string="Accounting"/>
|
||||
<field name="payment_default_id"/>
|
||||
<field domain="[('type','=','sale')]" name="pricelist_id" select="1"/>
|
||||
|
@ -97,7 +97,7 @@
|
|||
<field name="name" select="1"/>
|
||||
<field name="client_order_ref" select="2"/>
|
||||
<field name="shipped" select="2"/>
|
||||
<field name="shop_id" on_change="onchange_shop_id(shop_id)" select="2"/>
|
||||
<field name="shop_id" on_change="onchange_shop_id(shop_id)" select="2" widget="selection"/>
|
||||
<field name="date_order" select="1"/>
|
||||
<field name="invoiced" select="2"/>
|
||||
</group>
|
||||
|
@ -206,8 +206,8 @@
|
|||
<field name="order_policy" on_change="shipping_policy_change(order_policy)"/>
|
||||
<field groups="base.group_extended" name="origin"/>
|
||||
<field groups="base.group_extended" name="invoice_quantity" attrs="{'readonly':[('order_policy','=','prepaid'),('order_policy','=','picking')]}"/>
|
||||
<field name="payment_term"/>
|
||||
<field name="fiscal_position" groups="base.group_extended"/>
|
||||
<field name="payment_term" widget="selection"/>
|
||||
<field name="fiscal_position" groups="base.group_extended" widget="selection"/>
|
||||
<separator colspan="4" string="Notes"/>
|
||||
<field colspan="4" name="note" nolabel="1"/>
|
||||
</page>
|
||||
|
|
|
@ -14,8 +14,8 @@
|
|||
<page string="Sales & Purchases" position="inside">
|
||||
<group colspan="2" col="2">
|
||||
<separator string="Stock Properties" colspan="2"/>
|
||||
<field name="property_stock_customer"/>
|
||||
<field name="property_stock_supplier"/>
|
||||
<field name="property_stock_customer" widget="selection"/>
|
||||
<field name="property_stock_supplier" widget="selection"/>
|
||||
</group>
|
||||
</page>
|
||||
</field>
|
||||
|
|
|
@ -225,6 +225,7 @@ class product_template(osv.osv):
|
|||
string="Procurement Location",
|
||||
method=True,
|
||||
view_load=True,
|
||||
domain=[('usage','like','procurement')],
|
||||
help="For the current product (template), this stock location will be used, instead of the default one, as the source location for stock moves generated by procurements"),
|
||||
'property_stock_production': fields.property(
|
||||
'stock.location',
|
||||
|
@ -233,6 +234,7 @@ class product_template(osv.osv):
|
|||
string="Production Location",
|
||||
method=True,
|
||||
view_load=True,
|
||||
domain=[('usage','like','production')],
|
||||
help="For the current product (template), this stock location will be used, instead of the default one, as the source location for stock moves generated by production orders"),
|
||||
'property_stock_inventory': fields.property(
|
||||
'stock.location',
|
||||
|
@ -241,6 +243,7 @@ class product_template(osv.osv):
|
|||
string="Inventory Location",
|
||||
method=True,
|
||||
view_load=True,
|
||||
domain=[('usage','like','inventory')],
|
||||
help="For the current product (template), this stock location will be used, instead of the default one, as the source location for stock moves generated when you do an inventory"),
|
||||
'property_stock_account_input': fields.property('account.account',
|
||||
type='many2one', relation='account.account',
|
||||
|
|
|
@ -42,9 +42,9 @@
|
|||
<page position="after" string="Information">
|
||||
<page string="Properties">
|
||||
<separator string="Counter-Part Locations Properties" colspan="4"/>
|
||||
<field name="property_stock_procurement"/>
|
||||
<field name="property_stock_production"/>
|
||||
<field name="property_stock_inventory"/>
|
||||
<field name="property_stock_procurement" widget="selection"/>
|
||||
<field name="property_stock_production" widget="selection"/>
|
||||
<field name="property_stock_inventory" widget="selection"/>
|
||||
<separator string="Accounting Entries" colspan="4"/>
|
||||
<field name="property_stock_account_input" domain="[('type','<>','view'),('type','<>','consolidation')]"/>
|
||||
<field name="property_stock_account_output" domain="[('type','<>','view'),('type','<>','consolidation')]"/>
|
||||
|
@ -99,9 +99,9 @@
|
|||
<group name="store" position="after">
|
||||
<group col="2" colspan="2" name="store">
|
||||
<separator string="Counter-Part Locations Properties" colspan="2"/>
|
||||
<field name="property_stock_procurement"/>
|
||||
<field name="property_stock_production"/>
|
||||
<field name="property_stock_inventory"/>
|
||||
<field name="property_stock_procurement" widget="selection" domain="[('usage','=','procurement')]"/>
|
||||
<field name="property_stock_production" widget="selection"/>
|
||||
<field name="property_stock_inventory" widget="selection"/>
|
||||
</group>
|
||||
</group>
|
||||
</field>
|
||||
|
|
Loading…
Reference in New Issue