[IMP]remove all select=1 and select=2

bzr revid: sgo@tinyerp.com-20120628061736-ujwe0swulvrcrkjt
This commit is contained in:
Sanjay Gohel (Open ERP) 2012-06-28 11:47:36 +05:30
parent 997fe404b3
commit 7ed6f5052d
24 changed files with 146 additions and 146 deletions

View File

@ -78,7 +78,7 @@
<field name="inherit_id" ref="hr_timesheet.hr_timesheet_line_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='account_id']" position="replace">
<field name="account_id" domain="[('type','=','normal'),('state', '&lt;&gt;', 'close')]" on_change="on_change_account_id(account_id, user_id, unit_amount)" select="1"/>
<field name="account_id" domain="[('type','=','normal'),('state', '&lt;&gt;', 'close')]" on_change="on_change_account_id(account_id, user_id, unit_amount)" />
</xpath>
</field>
</record>
@ -90,7 +90,7 @@
<field name="inherit_id" ref="hr_timesheet.hr_timesheet_line_form"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='user_id']" position="replace">
<field name="user_id" select="1" required="1" on_change="on_change_user_id(user_id, account_id, unit_amount)"/>
<field name="user_id" required="1" on_change="on_change_user_id(user_id, account_id, unit_amount)"/>
</xpath>
</field>
</record>
@ -102,7 +102,7 @@
<field name="inherit_id" ref="hr_timesheet.hr_timesheet_line_tree"/>
<field name="arch" type="xml">
<xpath expr="/tree/field[@name='account_id']" position="replace">
<field name="account_id" domain="[('type','=','normal'),('state', '&lt;&gt;', 'close')]" on_change="on_change_account_id(account_id, user_id, unit_amount)" select="1"/>
<field name="account_id" domain="[('type','=','normal'),('state', '&lt;&gt;', 'close')]" on_change="on_change_account_id(account_id, user_id, unit_amount)" />
</xpath>
</field>
</record>
@ -114,7 +114,7 @@
<field name="inherit_id" ref="hr_timesheet.hr_timesheet_line_tree"/>
<field name="arch" type="xml">
<xpath expr="/tree/field[@name='user_id']" position="replace">
<field name="user_id" select="1" required="1" on_change="on_change_user_id(user_id, account_id, unit_amount)"/>
<field name="user_id" required="1" on_change="on_change_user_id(user_id, account_id, unit_amount)"/>
</xpath>
</field>
</record>

View File

@ -20,14 +20,14 @@
</group>
<group col="2" colspan="6" attrs="{'invisible': [('type', '!=', 'internal')]}">
<separator string="Users" colspan="4"/>
<field name="user_ids" select="1" colspan="4" nolabel="1" height="180"/>
<field name="user_ids" colspan="4" nolabel="1" height="180"/>
<newline/>
</group>
<group col="2" colspan="6" attrs="{'invisible': [('type', '!=', 'partner')]}">
<field name="partner_id" colspan="2" on_change="onchange_partner_id(partner_id)" attrs="{'required': [('type', '=', 'partner')]}"/>
<newline/>
<separator string="Partner Contacts" colspan="6"/>
<field name="contact_ids" select="1" colspan="4" nolabel="1" domain="[('id', 'child_of', [partner_id])]" attrs="{'readonly': [('type', '!=', 'partner')]}"/>
<field name="contact_ids" colspan="4" nolabel="1" domain="[('id', 'child_of', [partner_id])]" attrs="{'readonly': [('type', '!=', 'partner')]}"/>
</group>
</page>
</notebook>

View File

@ -27,7 +27,7 @@
<group name="partner" position="after">
<group col="2" colspan="2">
<separator colspan="4" string="Condition Case Fields"/>
<field name="trg_section_id" select="1" widget="selection"/>
<field name="trg_section_id" widget="selection"/>
<field name="trg_categ_id"/>
</group>
</group>

View File

@ -35,12 +35,12 @@
<field name="name"/>
<field name="month"/>
<field name="user_id"/>
<field name="section_id" select="1" widget="selection"/>
<field name="category2_id" select="1"/>
<field name="section_id" widget="selection"/>
<field name="category2_id" />
<field name="stage_id"/>
<field name="amount_revenue"/>
<field name="nbr" select="1"/>
<field name="state" select="1"/>
<field name="nbr" />
<field name="state" />
<field name="delay_close"/>
</form>
</field>
@ -124,11 +124,11 @@
<field name="name"/>
<field name="month"/>
<field name="user_id"/>
<field name="section_id" select="1" widget="selection"/>
<field name="section_id" widget="selection"/>
<field name="stage_id"/>
<field name="amount_revenue"/>
<field name="nbr" select="1"/>
<field name="state" select="1"/>
<field name="nbr" />
<field name="state" />
<field name="delay_close"/>
</form>
</field>
@ -211,11 +211,11 @@
<field name="name"/>
<field name="month"/>
<field name="user_id"/>
<field name="section_id" select="1" widget="selection"/>
<field name="section_id" widget="selection"/>
<field name="categ_id"/>
<field name="stage_id"/>
<field name="nbr" select="1"/>
<field name="state" select="1"/>
<field name="nbr" />
<field name="state" />
<field name="delay_close"/>
</form>
</field>
@ -299,12 +299,12 @@
<field name="name"/>
<field name="month"/>
<field name="user_id"/>
<field name="section_id" select="1" widget="selection"/>
<field name="section_id" widget="selection"/>
<field name="categ_id"/>
<field name="category2_id"/>
<field name="stage_id"/>
<field name="nbr" select="1"/>
<field name="state" select="1"/>
<field name="nbr" />
<field name="state" />
<field name="delay_close"/>
</form>
</field>

View File

@ -75,7 +75,7 @@
<field name="stage_id"/>
<field name="date_action_next"/>
<field name="action_next"/>
<field name="categ_id" string="Type" select="1"/>
<field name="categ_id" string="Type" />
<field name="date_deadline" invisible="1"/>
<field name="date_closed" invisible="1"/>
<field name="state" groups="base.group_no_one"/>

View File

@ -31,8 +31,8 @@
<field name="type">tree</field>
<field name="arch" type="xml">
<tree string="Questionnaires">
<field name="name" select="1" colspan="4"/>
<field name="description" select="1" colspan="4"/>
<field name="name" colspan="4"/>
<field name="description" colspan="4"/>
<field name="questions_ids" colspan="4" nolabel="1"/>
</tree>
</field>
@ -46,13 +46,13 @@
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Questionnaires">
<field name="name" select="1" />
<field name="name" />
<newline/>
<separator string="Questions List" colspan="4"/>
<field name="questions_ids" colspan="4" nolabel="1"/>
<newline/>
<separator string="Description" colspan="4"/>
<field name="description" colspan="4" select="1" nolabel="1"/>
<field name="description" colspan="4" nolabel="1"/>
</form>
</field>
</record>
@ -65,8 +65,8 @@
<field name="type">tree</field>
<field name="arch" type="xml">
<tree string="Answers">
<field name="question_id" select="1"/>
<field name="name" select="1"/>
<field name="question_id" />
<field name="name" />
</tree>
</field>
</record>
@ -79,8 +79,8 @@
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Answers">
<field name="question_id" select="1"/>
<field name="name" select="1"/>
<field name="question_id" />
<field name="name" />
</form>
</field>
</record>
@ -93,7 +93,7 @@
<field name="type">tree</field>
<field name="arch" type="xml">
<tree string="Questions">
<field name="name" select="1" colspan="4"/>
<field name="name" colspan="4"/>
<field name="answers_ids" colspan="4" nolabel="1"/>
</tree>
</field>
@ -108,15 +108,15 @@
<field name="arch" type="xml">
<form string="Questions">
<newline/>
<field name="name" select="1" />
<field name="name" />
<newline/>
<separator string="Avalaible Answers" colspan="4"/>
<field name="answers_ids" colspan="4" nolabel="1">
<tree string="Answers" editable="bottom">
<field name="name" select="1"/>
<field name="name" />
</tree>
<form string="Answers">
<field name="name" select="1"/>
<field name="name" />
</form>
</field>
</form>
@ -153,7 +153,7 @@
<notebook>
<page string="Segmentation">
<separator string="Segmentation Description" colspan="4"/>
<field name="name" select="1"/>
<field name="name" />
<field name="exclusif"/>
<newline/>
<field name="categ_id" colspan="2"/>

View File

@ -93,7 +93,7 @@
</group>
<group col="4">
<field name="ressource_parent_type_id"/>
<field name="ressource_id" select="2" readonly="1"/>
<field name="ressource_id" readonly="1"/>
</group>
<group col="2" attrs="{'invisible': [('type','!=','ressource'),('ressource_parent_type_id','=',False)]}">
<field name="resource_find_all"/>

View File

@ -7,10 +7,10 @@
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Files">
<field name="name" select="1"/>
<field name="user" select="1"/>
<field name="directory" select="1"/>
<field name="datas_fname" select="1"/>
<field name="name" />
<field name="user" />
<field name="directory" />
<field name="datas_fname" />
<field name="file_size"/>
<field name="create_date"/>
</form>
@ -24,10 +24,10 @@
<field name="type">tree</field>
<field name="arch" type="xml">
<tree string="Files">
<field name="name" select="1"/>
<field name="month" select="1"/>
<field name="user" select="1" invisible="1"/>
<field name="directory" select="1" invisible="1"/>
<field name="name" />
<field name="month" />
<field name="user" invisible="1"/>
<field name="directory" invisible="1"/>
<field name="file_size" invisible="1"/>
<field name="create_date" invisible="1"/>
<field name="nbr"/>

View File

@ -120,7 +120,7 @@
<group col="8" colspan="4">
<separator string="" colspan="4"/>
<newline/>
<field name="state" select="1" colspan="2"/>
<field name="state" colspan="2"/>
<button name="registration_open" string="Confirm Registration" states="draft" type="object" icon="gtk-apply"/>
<button name="button_reg_close" string="Attended the Event" states="open" type="object" icon="gtk-jump-to"/>
<button name="button_reg_cancel" string="Cancel Registration" states="draft,open" type="object" icon="gtk-cancel"/>
@ -360,7 +360,7 @@
<button name="button_reg_close" string="Attended" states="open" type="object"/>
<button string="Set To Unconfirmed" name="do_draft" states="cancel,done" type="object"/>
<button name="button_reg_cancel" string="Cancel Registration" states="draft,open" type="object"/>
<field name="state" select="1" nolabel="1" colspan="2" widget="statusbar" statusbar_visible="draft,open,done"/>
<field name="state" nolabel="1" colspan="2" widget="statusbar" statusbar_visible="draft,open,done"/>
</header>
<sheet string="Registration" layout="auto">
<group col="6" colspan="4">

View File

@ -25,10 +25,10 @@
</group>
<group colspan="2" col="2">
<separator string="Job Info" colspan="2"/>
<field name="manager" select="1"/>
<field name="vehicle" select="1"/>
<field name="vehicle_distance" select="1"/>
<field name="medic_exam" select="1" string="Medical Examination"/>
<field name="manager" />
<field name="vehicle" />
<field name="vehicle_distance" />
<field name="medic_exam" string="Medical Examination"/>
</group>
</page>
</xpath>
@ -508,8 +508,8 @@
<field name="type">tree</field>
<field name="arch" type="xml">
<tree string="Contribution Registers">
<field name="name" select="1"/>
<field name="company_id" select="1" groups="base.group_multi_company" widget="selection"/>
<field name="name" />
<field name="company_id" groups="base.group_multi_company" widget="selection"/>
</tree>
</field>
</record>
@ -596,7 +596,7 @@
<h2><field name="category_id"/></h2>
<group col="4">
<field name="code" select="1"/>
<field name="code" />
<field name="sequence" />
<field name="active"/>
<field name="appears_on_payslip"/>

View File

@ -41,7 +41,7 @@
<field name="unit_amount" on_change="on_change_unit_amount(product_id, unit_amount, False, product_uom_id,journal_id)" widget="float_time"/>
</group>
<group string="Accounting">
<field domain="[('type','=','normal'),('state', '&lt;&gt;', 'close'),('parent_id','!=',False)]" name="account_id" select="1"/>
<field domain="[('type','=','normal'),('state', '&lt;&gt;', 'close'),('parent_id','!=',False)]" name="account_id" />
<field name="amount"/>
<field name="general_account_id"/>
<field name="journal_id"/>

View File

@ -52,7 +52,7 @@
<field name="inherit_id" ref="hr_timesheet.hr_timesheet_line_form"/>
<field name="arch" type="xml">
<field name="account_id" position="replace">
<field domain="[('type','in',['normal','contract']),('state', '&lt;&gt;', 'close'),('use_timesheets','=',1)]" name="account_id" on_change="on_change_account_id(account_id)" select="1" context="{'default_use_timesheets': 1}"/>
<field domain="[('type','in',['normal','contract']),('state', '&lt;&gt;', 'close'),('use_timesheets','=',1)]" name="account_id" on_change="on_change_account_id(account_id)" context="{'default_use_timesheets': 1}"/>
</field>
</field>
</record>
@ -76,7 +76,7 @@
<field name="inherit_id" ref="hr_timesheet.hr_timesheet_line_tree"/>
<field name="arch" type="xml">
<field name="account_id" position="replace">
<field domain="[('type','in',['normal','contract']),('state', '&lt;&gt;', 'close'),('use_timesheets','=',1)]" name="account_id" on_change="on_change_account_id(account_id)" select="1" context="{'default_use_timesheets': 1}"/>
<field domain="[('type','in',['normal','contract']),('state', '&lt;&gt;', 'close'),('use_timesheets','=',1)]" name="account_id" on_change="on_change_account_id(account_id)" context="{'default_use_timesheets': 1}"/>
</field>
</field>
</record>

View File

@ -108,9 +108,9 @@
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Timesheet by user">
<field name="name" select="1"/>
<field name="month" select="1"/>
<field name="user_id" select="1"/>
<field name="name" />
<field name="month" />
<field name="user_id" />
</form>
</field>
</record>
@ -188,9 +188,9 @@
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Timesheet by invoice">
<field name="account_id" select="1" groups="analytic.group_analytic_accounting"/>
<field name="manager_id" select="1"/>
<field name="user_id" select="1"/>
<field name="account_id" groups="analytic.group_analytic_accounting"/>
<field name="manager_id" />
<field name="user_id" />
</form>
</field>
</record>
@ -242,7 +242,7 @@
<field name="arch" type="xml">
<tree string="Daily timesheet per account">
<field name="name"/>
<field name="month" select="1"/>
<field name="month" />
<field name="account_id" groups="analytic.group_analytic_accounting"/>
<field name="user_id"/>
<field name="quantity"/>
@ -267,10 +267,10 @@
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Daily timesheet by account">
<field name="name" select="1"/>
<field name="month" select="1"/>
<field name="account_id" select="1" groups="analytic.group_analytic_accounting"/>
<field name="user_id" select="1"/>
<field name="name" />
<field name="month" />
<field name="account_id" groups="analytic.group_analytic_accounting"/>
<field name="user_id" />
<field name="quantity"/>
</form>
</field>
@ -336,10 +336,10 @@
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Timesheet by account">
<field name="name" select="1"/>
<field name="month" select="1"/>
<field name="account_id" select="1" groups="analytic.group_analytic_accounting"/>
<field name="user_id" select="1"/>
<field name="name" />
<field name="month" />
<field name="account_id" groups="analytic.group_analytic_accounting"/>
<field name="user_id" />
<field name="quantity"/>
</form>
</field>

View File

@ -8,13 +8,13 @@
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Expired analytic accounts">
<field name="name" select="1" groups="analytic.group_analytic_accounting"/>
<field name="partner_id" select="1"/>
<field name="quantity" select="1"/>
<field name="state" select="1"/>
<field name="name" groups="analytic.group_analytic_accounting"/>
<field name="partner_id" />
<field name="quantity" />
<field name="state" />
<field name="quantity_max"/>
<field name="date_deadline" select="1"/>
<field name="balance" select="1"/>
<field name="date_deadline" />
<field name="balance" />
</form>
</field>
</record>
@ -64,11 +64,11 @@
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Analytic Lines to Invoice">
<field name="name" select="1"/>
<field name="month" select="1"/>
<field name="account_id" select="1" groups="analytic.group_analytic_accounting"/>
<field name="name" />
<field name="month" />
<field name="account_id" groups="analytic.group_analytic_accounting"/>
<newline/>
<field name="product_id" select="1"/>
<field name="product_id" />
<field name="product_uom_id"/>
<newline/>
<field colspan="1" name="amount"/>

View File

@ -11,9 +11,9 @@
<field name="arch" type="xml">
<field name="payment_term" position="after">
<group col="4" colspan="2">
<field name="reference_type" nolabel="1" select="2" size="0" attrs="{'readonly':[('state','!=','draft')]}"
<field name="reference_type" nolabel="1" size="0" attrs="{'readonly':[('state','!=','draft')]}"
on_change="generate_bbacomm(type,reference_type,algorithm,partner_id,reference)" colspan="1"/>
<field name="reference" nolabel="1" select="1" colspan="3" attrs="{'readonly':[('state','!=','draft')]}"/>
<field name="reference" nolabel="1" colspan="3" attrs="{'readonly':[('state','!=','draft')]}"/>
</group>
</field>
</field>

View File

@ -10,7 +10,7 @@
<field name="partner_id" position="replace">
<field name="partner_id"
on_change="onchange_partner_id(type,partner_id,date_invoice,payment_term, partner_bank_id)"
select="1"/>
/>
</field>
</field>
</record>

View File

@ -25,8 +25,8 @@
<field name="inherit_id" ref="base.view_res_bank_tree"/>
<field name="arch" type="xml">
<field name="name" position="after">
<field name="code" select="1"/>
<field name="clearing" select="1"/>
<field name="code" />
<field name="clearing" />
</field>
</field>
</record>

View File

@ -50,7 +50,7 @@
</h2>
<group>
<group>
<field name="partner_id" on_change="onchange_partner_id(partner_id)" select="1"/>
<field name="partner_id" on_change="onchange_partner_id(partner_id)" />
<field name="user_id" string="Project Manager" attrs="{'readonly':[('state','in',['close', 'cancelled'])]}"/>
<field name="analytic_account_id" invisible="1" required="0"/>
<field name="parent_id" invisible="1" string="Parent" domain="[('id','!=',analytic_account_id)]" context="{'current_model': 'project.project'}"/>
@ -97,10 +97,10 @@
<field name="resource_calendar_id"/>
</group>
<group string="Miscellaneous" name="misc">
<field name="company_id" select="1" groups="base.group_multi_company" widget="selection" required="1"/>
<field name="company_id" groups="base.group_multi_company" widget="selection" required="1"/>
<field name="priority"/>
<field name="active" attrs="{'invisible':[('state','in',['open', 'pending', 'template'])]}"/>
<field name="currency_id" select="1" groups="base.group_multi_company" required="1"/>
<field name="currency_id" groups="base.group_multi_company" required="1"/>
</group>
</group>
</page>

View File

@ -36,7 +36,7 @@
<field name="inherit_id" ref="analytic_contract_project.project_invoice_form"/>
<field name="arch" type="xml">
<field name="partner_id" position="replace">
<field name="partner_id" on_change="onchange_partner_id(partner_id)" select="1" string="Customer" attrs="{'required':[('to_invoice','!=',False)]}"/>
<field name="partner_id" on_change="onchange_partner_id(partner_id)" string="Customer" attrs="{'required':[('to_invoice','!=',False)]}"/>
</field>
</field>
</record>

View File

@ -15,10 +15,10 @@
<field name="type">tree</field>
<field name="arch" type="xml">
<tree string="Timesheet/Task hours Report Per Month" >
<field name="name" select="1"/>
<field name="year" select="1" invisible="1"/>
<field name="month" select="1" invisible="1"/>
<field name="user_id" select="1"/>
<field name="name" />
<field name="year" invisible="1"/>
<field name="month" invisible="1"/>
<field name="user_id" />
<field name="timesheet_hrs" widget="float_time" />
<field name="task_hrs" widget="float_time"/>
</tree>

View File

@ -25,7 +25,7 @@
name="product_id"
attrs="{'invisible':[('layout_type','!=','article')]}"
on_change="product_id_change(parent.pricelist_id,product_id,product_uom_qty,product_uom,product_uos_qty,product_uos,name,parent.partner_id, False, True, parent.date_order, product_packaging, parent.fiscal_position, False, context)"
select="1"/>
/>
<field
name="name" required="0"
attrs="{'invisible':[('layout_type','in',('line','break','subtotal'))], 'required':[('layout_type','not in',['line','break'])]}"/>
@ -82,8 +82,8 @@
</page>
<page string="Extra Info" attrs="{'invisible':[('layout_type','!=','article')]}">
<field name="type" attrs="{'invisible':[('layout_type','!=','article')]}"/>
<field name="delay" select="2" attrs="{'invisible':[('layout_type','!=','article')]}"/>
<field name="address_allotment_id" select="2"/>
<field name="delay" attrs="{'invisible':[('layout_type','!=','article')]}"/>
<field name="address_allotment_id" />
<separator colspan="4" string="Properties"/>
<field colspan="4" name="property_ids" nolabel="1"/>
</page>

View File

@ -39,7 +39,7 @@
<field name="name"/>
<field name="date_start"/>
<field name="date_stop"/>
<field name="state" select="1"/>
<field name="state" />
</tree>
</field>
</record>
@ -90,7 +90,7 @@
<sheet string="Stock and Sales Forecast" layout="auto">
<group colspan = "4" col = "4" class="oe_header">
<group colspan = "2" col="2" >
<field name="company_id" select="1"
<field name="company_id"
groups="base.group_multi_company"
widget="selection"
on_change="onchange_company(company_id)"/>
@ -246,7 +246,7 @@
<group colspan="4" col="7">
<group colspan ="3" col="2">
<separator colspan ="2" string = "General Info"/>
<field name="company_id" select = "1" widget= "selection"
<field name="company_id" widget= "selection"
on_change="onchange_company(company_id)" groups="base.group_multi_company"/>
<field name="warehouse_id" domain = "[('company_id','=',company_id)] " />
<field name="period_id" />

View File

@ -27,7 +27,7 @@
</header>
<sheet>
<group col="6" colspan="6">
<field name="title" select="1"/>
<field name="title" />
<field name="responsible_id"/>
<field name="id" invisible="1"/>
<button name="%(action_view_survey_question_message)d" states="open,draft,close,cancel"
@ -42,14 +42,14 @@
<page string="Survey">
<field name="page_ids" colspan="4" nolabel="1" mode="form,tree">
<form string="Survey Page">
<field name="title" select="1"/>
<field name="title" />
<field name="sequence" groups="base.group_no_one"/>
<separator string="Description" colspan="4"/>
<field name="note" colspan="4" nolabel="1"/>
<field name="question_ids" height="200" width="200" colspan="4" nolabel="1">
<form string="Survey Question" >
<group col="6" colspan="6" height="600" width="200">
<field name="question" colspan="4" select="1"/>
<field name="question" colspan="4" />
<field name="sequence"/>
<field name="tot_resp"/>
<field name="type" on_change="on_change_type(type)"/>
@ -181,7 +181,7 @@
</form>
<tree string="Survey Question">
<field name="sequence" string="Seq"/>
<field name="question" colspan="4" select="1"/>
<field name="question" colspan="4" />
<field name="answer_choice_ids"/>
</tree>
</field>
@ -204,10 +204,10 @@
<field name="invited_user_ids" nolabel="1" readonly="1"/>
</page>
<page string="History">
<field name="date_open" select="1"/>
<field name="date_open" />
<field name="date_close"/>
<field name="tot_start_survey" select="1"/>
<field name="tot_comp_survey" select="1"/>
<field name="tot_start_survey" />
<field name="tot_comp_survey" />
<field name="history" colspan="4" nolabel="1">
<tree string="History">
<field name="date"/>
@ -231,13 +231,13 @@
<field name="type">tree</field>
<field name="arch" type="xml">
<tree colors="gray:state == 'close'" string="Survey">
<field name="title" select="1"/>
<field name="type" select="1"/>
<field name="title" />
<field name="type" />
<field name="responsible_id"/>
<field name="date_open" select="1" string="Open Date"/>
<field name="date_open" string="Open Date"/>
<field name="tot_start_survey" string="Started"/>
<field name="tot_comp_survey" string="Completed"/>
<field name="state" select="1"/>
<field name="state" />
<button name="%(action_view_survey_question_message)d" states="open,draft,close,cancel"
string="Test Survey" type="action" icon="gtk-new"
context="{'active':True,'survey_id': active_id}"/>
@ -304,14 +304,14 @@
<field name="arch" type="xml">
<form string="Survey Page" version="7.0">
<sheet>
<field name="title" colspan="4" select="1"/>
<field name="survey_id" select="1"/>
<field name="title" colspan="4" />
<field name="survey_id" />
<field name="sequence"/>
<separator string="Description" colspan="4"/>
<field name="note" colspan="4" nolabel="1"/>
<field name="question_ids" colspan="4" nolabel="1">
<form string="Survey Question">
<field name="question" colspan="4" select="1"/>
<field name="question" colspan="4" />
<field name="sequence"/>
<field name="tot_resp"/>
<field name="type" on_change="on_change_type(type)"/>
@ -443,7 +443,7 @@
</form>
<tree string="Survey Question">
<field name="sequence" string="Seq"/>
<field name="question" colspan="4" select="1"/>
<field name="question" colspan="4" />
<field name="answer_choice_ids"/>
</tree>
</field>
@ -503,7 +503,7 @@
<field name="priority">20</field>
<field name="arch" type="xml">
<form string="Survey Pages">
<field name="title" colspan="4" select="1"/>
<field name="title" colspan="4" />
<field name="sequence"/>
<separator string="Description" colspan="4"/>
<field name="note" colspan="4" nolabel="1"/>
@ -854,7 +854,7 @@
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Survey Answer">
<field name="answer" colspan="4" select="1"/>
<field name="answer" colspan="4" />
<field name="sequence"/>
<field name="in_visible_answer_type" invisible="1"/>
<group colspan="4" attrs="{'invisible':[('in_visible_answer_type','=',True)]}">
@ -876,7 +876,7 @@
<field name="arch" type="xml">
<tree editable="bottom" string="Survey Answer">
<field name="sequence" string="Seq"/>
<field name="answer" select="1"/>
<field name="answer" />
<field name="type"/>
</tree>
</field>
@ -893,7 +893,7 @@
<field name="arch" type="xml">
<form string="Survey Answer">
<field name="question_id"/>
<field name="date_create" select="1"/>
<field name="date_create" />
<notebook colspan="4">
<page string="Answer">
<field name="response_answer_ids" colspan="4" nolabel="1"/>
@ -935,7 +935,7 @@
<tree string="Survey Answer Line">
<field name="page_id"/>
<field name="question_id"/>
<field name="date_create" select="1"/>
<field name="date_create" />
<field name="state"/>
</tree>
</field>
@ -951,12 +951,12 @@
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Survey Answer">
<field name="survey_id" select="1"/>
<field name="date_create" select="1"/>
<field name="user_id" select="1"/>
<field name="response_type" select="1"/>
<field name="survey_id" />
<field name="date_create" />
<field name="user_id" />
<field name="response_type" />
<field name="question_ids" nolabel="1" colspan="4" />
<field name="state" select="1"/>
<field name="state" />
</form>
</field>
</record>
@ -967,11 +967,11 @@
<field name="type">tree</field>
<field name="arch" type="xml">
<tree string="Survey Answer">
<field name="survey_id" select="1"/>
<field name="date_create" select="1"/>
<field name="user_id" select="1"/>
<field name="response_type" select="1"/>
<field name="state" select="1"/>
<field name="survey_id" />
<field name="date_create" />
<field name="user_id" />
<field name="response_type" />
<field name="state" />
</tree>
</field>
</record>
@ -1147,8 +1147,8 @@
<field name="type">form</field>
<field name="arch" type="xml">
<form string="Survey Type">
<field name="name" select="1"/>
<field name="code" select="1"/>
<field name="name" />
<field name="code" />
</form>
</field>
</record>
@ -1159,8 +1159,8 @@
<field name="type">tree</field>
<field name="arch" type="xml">
<tree string="Survey Type">
<field name="name" select="1"/>
<field name="code" select="1"/>
<field name="name" />
<field name="code" />
</tree>
</field>
</record>

View File

@ -32,12 +32,12 @@
<field name="arch" type="xml">
<form string="Wiki Groups" version="7.0">
<group col="4" colspan="3" >
<field name="name" select="1"/>
<field name="name" />
<field name="create_date" readonly="2"/>
</group>
<group col="2" colspan="1">
<field name="method" select="1"/>
<field name="home" select="1" domain="[('group_id','=',active_id)]"
<field name="method" />
<field name="home" domain="[('group_id','=',active_id)]"
attrs="{'required':[('method','=','page')], 'readonly':[('method','!=','page')]}" />
</group>
<notebook colspan="4">
@ -130,26 +130,26 @@
<form string="Wiki" version="7.0">
<sheet>
<group col="6" colspan="4">
<field name="name" select="1" colspan="6"/>
<field name="group_id" string="Topic" select="1" on_change="onchange_group_id(group_id, text_area)"/>
<field name="name" colspan="6"/>
<field name="group_id" string="Topic" on_change="onchange_group_id(group_id, text_area)"/>
<field name="parent_id" domain="[('group_id','=',group_id)]"/>
<field name="section"/>
</group>
<notebook colspan="4">
<page string="Content">
<separator colspan="4" string="Page Content"/>
<field name="text_area" nolabel="1" colspan="4" select="1" widget="text_wiki"/>
<field name="text_area" nolabel="1" colspan="4" widget="text_wiki"/>
</page>
</notebook>
<group col="2" colspan="2" groups="base.group_no_one">
<separator colspan="4" string="Modification Information"/>
<field name="write_date" readonly="1"/>
<field name="minor_edit"/>
<field name="review" select="1"/>
<field name="review" />
</group>
<group col="2" colspan="2">
<separator colspan="4" string="Meta Information"/>
<field name="tags" select="1"/>
<field name="tags" />
<field name="toc" groups="base.group_no_one"/>
</group>
</sheet>
@ -234,11 +234,11 @@
<field name="arch" type="xml">
<form string="Wiki History" version="7.0">
<sheet>
<field name="wiki_id" select="1" colspan="4"/>
<field name="summary" select="1" colspan="4"/>
<field name="text_area" select="1" colspan="4" nolabel="1" widget="text_wiki"/>
<field name="create_date" select="1" readonly="1"/>
<field name="minor_edit" select="1" groups="base.group_no_one"/>
<field name="wiki_id" colspan="4"/>
<field name="summary" colspan="4"/>
<field name="text_area" colspan="4" nolabel="1" widget="text_wiki"/>
<field name="create_date" readonly="1"/>
<field name="minor_edit" groups="base.group_no_one"/>
</sheet>
</form>
</field>