Convert form views @version="6.1"

This commit is contained in:
Fabien Meghazi 2014-06-12 13:55:40 +02:00
parent b76c4e248c
commit 87378aac26
14 changed files with 268 additions and 216 deletions

View File

@ -33,15 +33,17 @@
<field name="name">Base Report File sxw</field> <field name="name">Base Report File sxw</field>
<field name="model">base.report.file.sxw</field> <field name="model">base.report.file.sxw</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Get a report" version="6.1"> <form string="Get a report">
<separator string="The .SXW report" colspan="4"/> <group col="4">
<field name="report_id"/> <separator string="The .SXW report" colspan="4"/>
<newline/> <field name="report_id"/>
<field name="file_sxw"/> <newline/>
<newline/> <field name="file_sxw"/>
<field name="file_sxw_upload"/> <newline/>
<newline/> <field name="file_sxw_upload"/>
<label colspan="4" string="This is the template of your requested report.&#10;Save it as a .SXW file and open it with OpenOffice.&#10;Don't forget to install the OpenERP SA OpenOffice package to modify it.&#10;Once it is modified, re-upload it in OpenERP using this wizard." align="0.0"/> <newline/>
<label colspan="4" string="This is the template of your requested report.&#10;Save it as a .SXW file and open it with OpenOffice.&#10;Don't forget to install the OpenERP SA OpenOffice package to modify it.&#10;Once it is modified, re-upload it in OpenERP using this wizard." align="0.0"/>
</group>
</form> </form>
</field> </field>
</record> </record>
@ -50,9 +52,11 @@
<field name="name">Base Report File sxw</field> <field name="name">Base Report File sxw</field>
<field name="model">base.report.rml.save</field> <field name="model">base.report.rml.save</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Save RML FIle" version="6.1"> <form string="Save RML FIle">
<separator string="The RML Report"/> <group col="4">
<field name="file_rml"/> <separator string="The RML Report"/>
<field name="file_rml"/>
</group>
</form> </form>
</field> </field>
</record> </record>

View File

@ -29,18 +29,20 @@
<field name="name">CRM Report - Teams and Type(Form)</field> <field name="name">CRM Report - Teams and Type(Form)</field>
<field name="model">report.crm.case.section.categ2</field> <field name="model">report.crm.case.section.categ2</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Cases by Team and Category2" version="6.1"> <form string="Cases by Team and Category2">
<field name="name"/> <group col="4">
<field name="month"/> <field name="name"/>
<field name="user_id"/> <field name="month"/>
<field name="section_id" widget="selection" <field name="user_id"/>
groups="base.group_multi_salesteams"/> <field name="section_id" widget="selection"
<field name="category2_id" /> groups="base.group_multi_salesteams"/>
<field name="stage_id"/> <field name="category2_id" />
<field name="amount_revenue"/> <field name="stage_id"/>
<field name="nbr" /> <field name="amount_revenue"/>
<field name="state" /> <field name="nbr" />
<field name="delay_close"/> <field name="state" />
<field name="delay_close"/>
</group>
</form> </form>
</field> </field>
</record> </record>
@ -113,17 +115,19 @@
<field name="name">CRM Report - Teams and Stage(Form)</field> <field name="name">CRM Report - Teams and Stage(Form)</field>
<field name="model">report.crm.case.section.stage</field> <field name="model">report.crm.case.section.stage</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Cases by Team and Stage" version="6.1"> <form string="Cases by Team and Stage">
<field name="name"/> <group col="4">
<field name="month"/> <field name="name"/>
<field name="user_id"/> <field name="month"/>
<field name="section_id" widget="selection" <field name="user_id"/>
groups="base.group_multi_salesteams"/> <field name="section_id" widget="selection"
<field name="stage_id"/> groups="base.group_multi_salesteams"/>
<field name="amount_revenue"/> <field name="stage_id"/>
<field name="nbr" /> <field name="amount_revenue"/>
<field name="state" /> <field name="nbr" />
<field name="delay_close"/> <field name="state" />
<field name="delay_close"/>
</group>
</form> </form>
</field> </field>
</record> </record>
@ -194,16 +198,18 @@
<field name="name">CRM Report - Team, Category and Stage(Form)</field> <field name="name">CRM Report - Team, Category and Stage(Form)</field>
<field name="model">report.crm.case.section.categ.stage</field> <field name="model">report.crm.case.section.categ.stage</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Cases by Section, Category and Stage" version="6.1"> <form string="Cases by Section, Category and Stage">
<field name="name"/> <group col="4">
<field name="month"/> <field name="name"/>
<field name="user_id"/> <field name="month"/>
<field name="section_id" widget="selection" groups="base.group_multi_salesteams"/> <field name="user_id"/>
<field name="categ_id"/> <field name="section_id" widget="selection" groups="base.group_multi_salesteams"/>
<field name="stage_id"/> <field name="categ_id"/>
<field name="nbr" /> <field name="stage_id"/>
<field name="state" /> <field name="nbr" />
<field name="delay_close"/> <field name="state" />
<field name="delay_close"/>
</group>
</form> </form>
</field> </field>
</record> </record>
@ -275,17 +281,19 @@
<field name="name">CRM Report - Section, Category and Type(Form)</field> <field name="name">CRM Report - Section, Category and Type(Form)</field>
<field name="model">report.crm.case.section.categ.categ2</field> <field name="model">report.crm.case.section.categ.categ2</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Cases by Section, Category and Type" version="6.1"> <form string="Cases by Section, Category and Type">
<field name="name"/> <group col="4">
<field name="month"/> <field name="name"/>
<field name="user_id"/> <field name="month"/>
<field name="section_id" widget="selection" groups="base.group_multi_salesteams"/> <field name="user_id"/>
<field name="categ_id"/> <field name="section_id" widget="selection" groups="base.group_multi_salesteams"/>
<field name="category2_id"/> <field name="categ_id"/>
<field name="stage_id"/> <field name="category2_id"/>
<field name="nbr" /> <field name="stage_id"/>
<field name="state" /> <field name="nbr" />
<field name="delay_close"/> <field name="state" />
<field name="delay_close"/>
</group>
</form> </form>
</field> </field>
</record> </record>

View File

@ -46,11 +46,13 @@
<field name="name">crm.claim.stage.form</field> <field name="name">crm.claim.stage.form</field>
<field name="model">crm.claim.stage</field> <field name="model">crm.claim.stage</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Claim Stage" version="6.1"> <form string="Claim Stage">
<field name="name"/> <group col="4">
<field name="case_default"/> <field name="name"/>
<field name="sequence"/> <field name="case_default"/>
<field name="fold"/> <field name="sequence"/>
<field name="fold"/>
</group>
</form> </form>
</field> </field>
</record> </record>

View File

@ -43,14 +43,16 @@
<field name="name">Questionnaires</field> <field name="name">Questionnaires</field>
<field name="model">crm_profiling.questionnaire</field> <field name="model">crm_profiling.questionnaire</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Questionnaires" version="6.1"> <form string="Questionnaires">
<field name="name"/> <group col="4">
<newline/> <field name="name"/>
<separator string="Questions List" colspan="4"/> <newline/>
<field name="questions_ids" colspan="4" nolabel="1"/> <separator string="Questions List" colspan="4"/>
<newline/> <field name="questions_ids" colspan="4" nolabel="1"/>
<separator string="Description" colspan="4"/> <newline/>
<field name="description" colspan="4" nolabel="1"/> <separator string="Description" colspan="4"/>
<field name="description" colspan="4" nolabel="1"/>
</group>
</form> </form>
</field> </field>
</record> </record>
@ -74,9 +76,11 @@
<field name="name">Answers</field> <field name="name">Answers</field>
<field name="model">crm_profiling.answer</field> <field name="model">crm_profiling.answer</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Answers" version="6.1"> <form string="Answers">
<field name="question_id"/> <group col="4">
<field name="name"/> <field name="question_id"/>
<field name="name"/>
</group>
</form> </form>
</field> </field>
</record> </record>
@ -100,19 +104,21 @@
<field name="name">Questions</field> <field name="name">Questions</field>
<field name="model">crm_profiling.question</field> <field name="model">crm_profiling.question</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Questions" version="6.1"> <form string="Questions">
<newline/> <group col="4">
<field name="name"/> <newline/>
<newline/> <field name="name"/>
<separator string="Avalaible Answers" colspan="4"/> <newline/>
<field name="answers_ids" colspan="4" nolabel="1"> <separator string="Avalaible Answers" colspan="4"/>
<tree string="Answers" editable="bottom"> <field name="answers_ids" colspan="4" nolabel="1">
<field name="name"/> <tree string="Answers" editable="bottom">
</tree> <field name="name"/>
<form string="Answers"> </tree>
<field name="name"/> <form string="Answers">
</form> <field name="name"/>
</field> </form>
</field>
</group>
</form> </form>
</field> </field>
</record> </record>
@ -141,42 +147,44 @@
<field name="name">crm.segmentation.form</field> <field name="name">crm.segmentation.form</field>
<field name="model">crm.segmentation</field> <field name="model">crm.segmentation</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Partner Segmentation" version="6.1"> <form string="Partner Segmentation">
<notebook> <group col="4">
<page string="Segmentation"> <notebook>
<separator string="Segmentation Description" colspan="4"/> <page string="Segmentation">
<field name="name"/> <separator string="Segmentation Description" colspan="4"/>
<field name="exclusif"/> <field name="name"/>
<newline/> <field name="exclusif"/>
<field name="categ_id" colspan="2"/> <newline/>
<newline/> <field name="categ_id" colspan="2"/>
<field name="description" colspan="4"/> <newline/>
<field name="state"/> <field name="description" colspan="4"/>
<group col="3" colspan="2"> <field name="state"/>
<button name="process_start" <group col="3" colspan="2">
states="not running" string="Compute Segmentation" type="object" <button name="process_start"
icon="gtk-apply" /> states="not running" string="Compute Segmentation" type="object"
<button name="process_stop" states="running" icon="gtk-apply" />
string="Stop Process" type="object" icon="gtk-stop" /> <button name="process_stop" states="running"
<button name="process_continue" states="running" string="Stop Process" type="object" icon="gtk-stop" />
string="Continue Process" type="object" icon="gtk-go-forward" /> <button name="process_continue" states="running"
</group> string="Continue Process" type="object" icon="gtk-go-forward" />
</page> </group>
<page string="Sales Purchase"> </page>
<field name="sales_purchase_active"/> <page string="Sales Purchase">
<separator string="Segmentation Test" colspan="4"/> <field name="sales_purchase_active"/>
<field name="segmentation_line" widget="one2many_list" colspan="4"/> <separator string="Segmentation Test" colspan="4"/>
</page> <field name="segmentation_line" widget="one2many_list" colspan="4"/>
<page string="Profiling"> </page>
<field name="profiling_active" colspan="2"/> <page string="Profiling">
<separator string="Profiling Options" colspan="4"/> <field name="profiling_active" colspan="2"/>
<field name="parent_id" colspan="2"/><newline/> <separator string="Profiling Options" colspan="4"/>
<separator string="Included Answers :" colspan="2" /> <field name="parent_id" colspan="2"/><newline/>
<separator string="Excluded Answers :" colspan="2"/> <separator string="Included Answers :" colspan="2" />
<field name="answer_yes" nolabel="1" colspan="2"/> <separator string="Excluded Answers :" colspan="2"/>
<field name="answer_no" nolabel="1" colspan="2"/> <field name="answer_yes" nolabel="1" colspan="2"/>
</page> <field name="answer_no" nolabel="1" colspan="2"/>
</notebook> </page>
</notebook>
</group>
</form> </form>
</field> </field>
</record> </record>

View File

@ -5,13 +5,15 @@
<field name="name">report.document.user.form</field> <field name="name">report.document.user.form</field>
<field name="model">report.document.user</field> <field name="model">report.document.user</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Files" version="6.1"> <form string="Files">
<field name="name"/> <group col="4">
<field name="user"/> <field name="name"/>
<field name="directory"/> <field name="user"/>
<field name="datas_fname"/> <field name="directory"/>
<field name="file_size"/> <field name="datas_fname"/>
<field name="create_date"/> <field name="file_size"/>
<field name="create_date"/>
</group>
</form> </form>
</field> </field>
</record> </record>

View File

@ -159,8 +159,10 @@
<field name="name">hr.contract.type.view.form</field> <field name="name">hr.contract.type.view.form</field>
<field name="model">hr.contract.type</field> <field name="model">hr.contract.type</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Contract Type" version="6.1"> <form string="Contract Type">
<field colspan="4" name="name"/> <group col="4">
<field colspan="4" name="name"/>
</group>
</form> </form>
</field> </field>
</record> </record>

View File

@ -408,14 +408,14 @@
<field name="name">hr.salary.rule.category.form</field> <field name="name">hr.salary.rule.category.form</field>
<field name="model">hr.salary.rule.category</field> <field name="model">hr.salary.rule.category</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Salary Categories" version="6.1"> <form string="Salary Categories">
<group col="4"> <group col="4">
<field name="name"/> <field name="name"/>
<field name="code"/> <field name="code"/>
<field name="parent_id"/> <field name="parent_id"/>
<separator string="Notes"/>
<field name="note"/>
</group> </group>
<separator string="Notes"/>
<field name="note"/>
</form> </form>
</field> </field>
</record> </record>

View File

@ -92,10 +92,12 @@
<field name="name">report_timesheet.timesheet.user.form</field> <field name="name">report_timesheet.timesheet.user.form</field>
<field name="model">report_timesheet.user</field> <field name="model">report_timesheet.user</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Timesheet by user" version="6.1"> <form string="Timesheet by user">
<field name="name"/> <group col="4">
<field name="month"/> <field name="name"/>
<field name="user_id"/> <field name="month"/>
<field name="user_id"/>
</group>
</form> </form>
</field> </field>
</record> </record>
@ -164,10 +166,12 @@
<field name="name">report_timesheet.timesheet.invoice.form</field> <field name="name">report_timesheet.timesheet.invoice.form</field>
<field name="model">report_timesheet.invoice</field> <field name="model">report_timesheet.invoice</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Timesheet by invoice" version="6.1"> <form string="Timesheet by invoice">
<field name="account_id" groups="analytic.group_analytic_accounting"/> <group col="4">
<field name="manager_id"/> <field name="account_id" groups="analytic.group_analytic_accounting"/>
<field name="user_id"/> <field name="manager_id"/>
<field name="user_id"/>
</group>
</form> </form>
</field> </field>
</record> </record>
@ -237,12 +241,14 @@
<field name="name">report_timesheet.timesheet.account.date.form</field> <field name="name">report_timesheet.timesheet.account.date.form</field>
<field name="model">report_timesheet.account.date</field> <field name="model">report_timesheet.account.date</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Daily timesheet by account" version="6.1"> <form string="Daily timesheet by account">
<field name="name"/> <group col="4">
<field name="month"/> <field name="name"/>
<field name="account_id" groups="analytic.group_analytic_accounting"/> <field name="month"/>
<field name="user_id"/> <field name="account_id" groups="analytic.group_analytic_accounting"/>
<field name="quantity"/> <field name="user_id"/>
<field name="quantity"/>
</group>
</form> </form>
</field> </field>
</record> </record>
@ -299,12 +305,14 @@
<field name="name">report_timesheet.timesheet.account.form</field> <field name="name">report_timesheet.timesheet.account.form</field>
<field name="model">report_timesheet.account</field> <field name="model">report_timesheet.account</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Timesheet by account" version="6.1"> <form string="Timesheet by account">
<field name="name"/> <group col="4">
<field name="month"/> <field name="name"/>
<field name="account_id" groups="analytic.group_analytic_accounting"/> <field name="month"/>
<field name="user_id"/> <field name="account_id" groups="analytic.group_analytic_accounting"/>
<field name="quantity"/> <field name="user_id"/>
<field name="quantity"/>
</group>
</form> </form>
</field> </field>
</record> </record>

View File

@ -6,14 +6,16 @@
<field name="name">report.analytic.account.close.form</field> <field name="name">report.analytic.account.close.form</field>
<field name="model">report.analytic.account.close</field> <field name="model">report.analytic.account.close</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Expired analytic accounts" version="6.1"> <form string="Expired analytic accounts">
<field name="name" groups="analytic.group_analytic_accounting"/> <group col="4">
<field name="partner_id"/> <field name="name" groups="analytic.group_analytic_accounting"/>
<field name="quantity"/> <field name="partner_id"/>
<field name="state"/> <field name="quantity"/>
<field name="quantity_max"/> <field name="state"/>
<field name="date_deadline"/> <field name="quantity_max"/>
<field name="balance"/> <field name="date_deadline"/>
<field name="balance"/>
</group>
</form> </form>
</field> </field>
</record> </record>
@ -59,16 +61,18 @@
<field name="name">report.account.analytic.line.to.invoice</field> <field name="name">report.account.analytic.line.to.invoice</field>
<field name="model">report.account.analytic.line.to.invoice</field> <field name="model">report.account.analytic.line.to.invoice</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Analytic Lines to Invoice" version="6.1"> <form string="Analytic Lines to Invoice">
<field name="name"/> <group col="4">
<field name="month"/> <field name="name"/>
<field name="account_id" groups="analytic.group_analytic_accounting"/> <field name="month"/>
<newline/> <field name="account_id" groups="analytic.group_analytic_accounting"/>
<field name="product_id"/> <newline/>
<field name="product_uom_id"/> <field name="product_id"/>
<newline/> <field name="product_uom_id"/>
<field colspan="1" name="amount"/> <newline/>
<field colspan="1" name="unit_amount"/> <field colspan="1" name="amount"/>
<field colspan="1" name="unit_amount"/>
</group>
</form> </form>
</field> </field>
</record> </record>

View File

@ -38,21 +38,23 @@
<field name="name">Vat Listing</field> <field name="name">Vat Listing</field>
<field name="model">partner.vat.list</field> <field name="model">partner.vat.list</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Annual Listing of VAT-Subjected Customers" version="6.1"> <form string="Annual Listing of VAT-Subjected Customers">
<notebook colspan="4"> <group col="4">
<page string="Customer List"> <notebook colspan="4">
<separator string="Customers" colspan="4"/> <page string="Customer List">
<field name="partner_ids" colspan="4" nolabel="1" default_focus="1" height="300" width="500" readonly="1"/> <separator string="Customers" colspan="4"/>
</page> <field name="partner_ids" colspan="4" nolabel="1" default_focus="1" height="300" width="500" readonly="1"/>
<page string="Comments"> </page>
<separator string="Free Comments to be Added to the Declaration" colspan="4"/> <page string="Comments">
<field name="comments" colspan="4" nolabel="1"/> <separator string="Free Comments to be Added to the Declaration" colspan="4"/>
</page> <field name="comments" colspan="4" nolabel="1"/>
</notebook> </page>
<separator colspan="4"/> </notebook>
<group colspan="4"> <separator colspan="4"/>
<button colspan="2" name="create_xml" string="Create XML" type="object" icon="gtk-execute"/> <group colspan="4">
<button colspan="2" name="print_vatlist" string="Print" type="object" icon="gtk-print"/> <button colspan="2" name="create_xml" string="Create XML" type="object" icon="gtk-execute"/>
<button colspan="2" name="print_vatlist" string="Print" type="object" icon="gtk-print"/>
</group>
</group> </group>
</form> </form>
</field> </field>
@ -82,11 +84,13 @@
<field name="name">step.vat.listing</field> <field name="name">step.vat.listing</field>
<field name="model">vat.listing.clients</field> <field name="model">vat.listing.clients</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="VAT listing" version="6.1"> <form string="VAT listing">
<field name="name"/> <group col="4">
<field name="vat"/> <field name="name"/>
<field name="turnover"/> <field name="vat"/>
<field name="vat_amount"/> <field name="turnover"/>
<field name="vat_amount"/>
</group>
</form> </form>
</field> </field>
</record> </record>

View File

@ -770,8 +770,10 @@
<field name="name">Tags</field> <field name="name">Tags</field>
<field name="model">project.category</field> <field name="model">project.category</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Tags" version="6.1"> <form string="Tags">
<field name="name"/> <group col="4">
<field name="name"/>
</group>
</form> </form>
</field> </field>
</record> </record>

View File

@ -454,9 +454,11 @@
<field name="name">product.removal.form</field> <field name="name">product.removal.form</field>
<field name="model">product.removal</field> <field name="model">product.removal</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Removal" version="6.1"> <form string="Removal">
<field name="name"/> <group col="4">
<field name="method"/> <field name="name"/>
<field name="method"/>
</group>
</form> </form>
</field> </field>
</record> </record>

View File

@ -304,14 +304,16 @@
<record model="ir.ui.view" id="view_model_constraint_form"> <record model="ir.ui.view" id="view_model_constraint_form">
<field name="model">ir.model.constraint</field> <field name="model">ir.model.constraint</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Model Constraints" version="6.1"> <form string="Model Constraints">
<field name="type"/> <group col="4">
<field name="name"/> <field name="type"/>
<field name="module"/> <field name="name"/>
<field name="model"/> <field name="module"/>
<newline/> <field name="model"/>
<field name="date_update" /> <newline/>
<field name="date_init" /> <field name="date_update" />
<field name="date_init" />
</group>
</form> </form>
</field> </field>
</record> </record>
@ -339,13 +341,15 @@
<record model="ir.ui.view" id="view_model_relation_form"> <record model="ir.ui.view" id="view_model_relation_form">
<field name="model">ir.model.relation</field> <field name="model">ir.model.relation</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="ManyToMany Relations" version="6.1"> <form string="ManyToMany Relations">
<field name="name"/> <group col="4">
<field name="module"/> <field name="name"/>
<field name="model"/> <field name="module"/>
<newline/> <field name="model"/>
<field name="date_update" /> <newline/>
<field name="date_init" /> <field name="date_update" />
<field name="date_init" />
</group>
</form> </form>
</field> </field>
</record> </record>

View File

@ -6,11 +6,13 @@
<field name="name">Test workflow</field> <field name="name">Test workflow</field>
<field name="model">test.workflow.model</field> <field name="model">test.workflow.model</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Test workflow" version="6.1"> <form string="Test workflow">
<button name="a-b" string="a-b" type="workflow" icon="gtk-ok" colspan="1"/> <group col="4">
<label string="a-b"/> <button name="a-b" string="a-b" type="workflow" icon="gtk-ok" colspan="1"/>
<button name="trigger" string="trigger" type="object" icon="gtk-ok" colspan="1"/> <label string="a-b"/>
<label string="trigger"/> <button name="trigger" string="trigger" type="object" icon="gtk-ok" colspan="1"/>
<label string="trigger"/>
</group>
</form> </form>
</field> </field>
</record> </record>