[REF] reformat xml files before applying automated search&replace on them

bzr revid: xmo@openerp.com-20110729134810-oiqptqs2omvo7o7c
This commit is contained in:
Xavier Morel 2011-07-29 15:48:10 +02:00
parent 2595248d16
commit cc13113641
52 changed files with 232 additions and 430 deletions

View File

@ -19,9 +19,9 @@
<xpath expr="//button[@string='Install Modules']" position="attributes"> <xpath expr="//button[@string='Install Modules']" position="attributes">
<attribute name="string">Configure</attribute> <attribute name="string">Configure</attribute>
</xpath> </xpath>
<xpath expr='//separator[@string="vsep"]' position='attributes'> <xpath expr="//separator[@string=&quot;vsep&quot;]" position="attributes">
<attribute name='rowspan'>23</attribute> <attribute name="rowspan">23</attribute>
<attribute name='string'></attribute> <attribute name="string"/>
</xpath> </xpath>
<group colspan="8"> <group colspan="8">
<group colspan="4" width="600"> <group colspan="4" width="600">
@ -52,7 +52,7 @@
<data> <data>
<xpath expr="//group[@name='account_accountant']" position="replace"> <xpath expr="//group[@name='account_accountant']" position="replace">
<newline/> <newline/>
<separator string="Accounting &amp; Finance Features" colspan="4" /> <separator string="Accounting &amp; Finance Features" colspan="4"/>
<field name="account_followup"/> <field name="account_followup"/>
<field name="account_payment"/> <field name="account_payment"/>
<field name="account_analytic_plans"/> <field name="account_analytic_plans"/>
@ -86,4 +86,4 @@
</record> </record>
</data> </data>
</openerp> </openerp>

View File

@ -1,15 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp> <openerp>
<data> <data>
<!-- Types --> <!-- Types -->
<record model="account.account.type" id="conf_account_type_receivable" > <record model="account.account.type" id="conf_account_type_receivable">
<field name="name">Receivable</field> <field name="name">Receivable</field>
<field name="code">receivable</field> <field name="code">receivable</field>
<field name="report_type">income</field> <field name="report_type">income</field>
<field name="close_method">unreconciled</field> <field name="close_method">unreconciled</field>
</record> </record>
<record model="account.account.type" id="conf_account_type_payable" > <record model="account.account.type" id="conf_account_type_payable">
<field name="name">Payable</field> <field name="name">Payable</field>
<field name="code">payable</field> <field name="code">payable</field>
<field name="report_type">expense</field> <field name="report_type">expense</field>
@ -43,7 +42,7 @@
<field name="report_type">liability</field> <field name="report_type">liability</field>
</record> </record>
<record model="account.account.type" id="conf_account_type_income" > <record model="account.account.type" id="conf_account_type_income">
<field name="name">Income</field> <field name="name">Income</field>
<field name="code">income</field> <field name="code">income</field>
<field name="report_type">income</field> <field name="report_type">income</field>
@ -591,15 +590,15 @@
<record id="fiscal_position_normal_taxes" model="account.fiscal.position.tax.template"> <record id="fiscal_position_normal_taxes" model="account.fiscal.position.tax.template">
<field name="position_id" ref="fiscal_position_normal_taxes_template1" /> <field name="position_id" ref="fiscal_position_normal_taxes_template1"/>
<field name="tax_src_id" ref="itaxs" /> <field name="tax_src_id" ref="itaxs"/>
<field name="tax_dest_id" ref="otaxs" /> <field name="tax_dest_id" ref="otaxs"/>
</record> </record>
<record id="fiscal_position_tax_exempt" model="account.fiscal.position.tax.template"> <record id="fiscal_position_tax_exempt" model="account.fiscal.position.tax.template">
<field name="position_id" ref="fiscal_position_tax_exempt_template2" /> <field name="position_id" ref="fiscal_position_tax_exempt_template2"/>
<field name="tax_src_id" ref="itaxx" /> <field name="tax_src_id" ref="itaxx"/>
<field name="tax_dest_id" ref="otaxx" /> <field name="tax_dest_id" ref="otaxx"/>
</record> </record>
@ -622,4 +621,4 @@
</data> </data>
</openerp> </openerp>

View File

@ -1,4 +1,3 @@
<?xml version="1.0"?>
<openerp> <openerp>
<data> <data>
@ -19,6 +18,4 @@
</record> </record>
</data> </data>
</openerp> </openerp>

View File

@ -1,4 +1,3 @@
<?xml version="1.0"?>
<openerp> <openerp>
<data> <data>
@ -14,29 +13,29 @@
<form string="Asset category"> <form string="Asset category">
<field name="name"/> <field name="name"/>
<field name="company_id" widget="selection" groups="base.group_multi_company"/> <field name="company_id" widget="selection" groups="base.group_multi_company"/>
<separator string="Accounting information" colspan="4" /> <separator string="Accounting information" colspan="4"/>
<field name="journal_id"/> <field name="journal_id"/>
<field name="account_asset_id" on_change="onchange_account_asset(account_asset_id)"/> <field name="account_asset_id" on_change="onchange_account_asset(account_asset_id)"/>
<field name="account_depreciation_id"/> <field name="account_depreciation_id"/>
<field name="account_expense_depreciation_id"/> <field name="account_expense_depreciation_id"/>
<group colspan="2" col="2"> <group colspan="2" col="2">
<separator string="Depreciation Dates" colspan="2" /> <separator string="Depreciation Dates" colspan="2"/>
<field name="method_time"/> <field name="method_time"/>
<field name="method_number" attrs="{'invisible':[('method_time','=','end')], 'required':[('method_time','=','number')]}"/> <field name="method_number" attrs="{'invisible':[('method_time','=','end')], 'required':[('method_time','=','number')]}"/>
<field name="method_period"/> <field name="method_period"/>
<field name="method_end" attrs="{'required': [('method_time','=','end')], 'invisible':[('method_time','=','number')]}"/> <field name="method_end" attrs="{'required': [('method_time','=','end')], 'invisible':[('method_time','=','number')]}"/>
</group> </group>
<group colspan="2" col="2"> <group colspan="2" col="2">
<separator string="Depreciation Method" colspan="2" /> <separator string="Depreciation Method" colspan="2"/>
<field name="method"/> <field name="method"/>
<field name="method_progress_factor" attrs="{'invisible':[('method','=','linear')], 'required':[('method','=','degressive')]}"/> <field name="method_progress_factor" attrs="{'invisible':[('method','=','linear')], 'required':[('method','=','degressive')]}"/>
<field name="prorata" attrs="{'invisible':[('method','&lt;&gt;','linear')]}"/> <field name="prorata" attrs="{'invisible':[('method','&lt;&gt;','linear')]}"/>
<field name="open_asset"/> <field name="open_asset"/>
</group> </group>
<group col="2" colspan="2" groups="analytic.group_analytic_accounting"> <group col="2" colspan="2" groups="analytic.group_analytic_accounting">
<separator string="Analytic information" colspan="4" /> <separator string="Analytic information" colspan="4"/>
<newline/> <newline/>
<field name="account_analytic_id" /> <field name="account_analytic_id"/>
</group> </group>
<separator string="Notes" colspan="4"/> <separator string="Notes" colspan="4"/>
<field name="note" colspan="4" nolabel="1"/> <field name="note" colspan="4" nolabel="1"/>
@ -100,28 +99,22 @@
<field name="purchase_date"/> <field name="purchase_date"/>
<newline/> <newline/>
<group colspan="2" col="2"> <group colspan="2" col="2">
<separator string="Depreciation Dates" colspan="2" /> <separator string="Depreciation Dates" colspan="2"/>
<field name="method_time" on_change="onchange_method_time(method_time)"/> <field name="method_time" on_change="onchange_method_time(method_time)"/>
<field name="method_number" attrs="{'invisible':[('method_time','=','end')], 'required':[('method_time','=','number')]}"/> <field name="method_number" attrs="{'invisible':[('method_time','=','end')], 'required':[('method_time','=','number')]}"/>
<field name="method_period"/> <field name="method_period"/>
<field name="method_end" attrs="{'required': [('method_time','=','end')], 'invisible':[('method_time','=','number')]}"/> <field name="method_end" attrs="{'required': [('method_time','=','end')], 'invisible':[('method_time','=','number')]}"/>
<newline/> <newline/>
<button <button name="%(action_asset_modify)d" states="open" string="Change Duration" type="action" icon="terp-stock_effects-object-colorize" colspan="2"/>
name="%(action_asset_modify)d"
states="open"
string="Change Duration"
type="action"
icon="terp-stock_effects-object-colorize"
colspan="2"/>
</group> </group>
<group colspan="2" col="2"> <group colspan="2" col="2">
<separator string="Depreciation Method" colspan="2" /> <separator string="Depreciation Method" colspan="2"/>
<field name="method" on_change="onchange_method_time(method)"/> <field name="method" on_change="onchange_method_time(method)"/>
<field name="method_progress_factor" attrs="{'invisible':[('method','=','linear')], 'required':[('method','=','degressive')]}"/> <field name="method_progress_factor" attrs="{'invisible':[('method','=','linear')], 'required':[('method','=','degressive')]}"/>
<field name="prorata" attrs="{'invisible': ['|',('method_time','=','end'),('method','!=','linear')]}"/> <field name="prorata" attrs="{'invisible': ['|',('method_time','=','end'),('method','!=','linear')]}"/>
</group> </group>
<newline/> <newline/>
<separator string="" colspan="4" /> <separator string="" colspan="4"/>
<field name="state" readonly="1" colspan="2"/> <field name="state" readonly="1" colspan="2"/>
<group colspan="2" col="2"> <group colspan="2" col="2">
<button name="validate" states="draft" string="Confirm Asset" type="object" icon="terp-camera_test"/> <button name="validate" states="draft" string="Confirm Asset" type="object" icon="terp-camera_test"/>
@ -129,7 +122,7 @@
</group> </group>
</page> </page>
<page string="Depreciation board"> <page string="Depreciation board">
<field name="depreciation_line_ids" colspan="4" nolabel="1" mode="tree,graph" > <field name="depreciation_line_ids" colspan="4" nolabel="1" mode="tree,graph">
<tree string="Depreciation Lines" colors="blue:(move_check == False);black:(move_check == True)"> <tree string="Depreciation Lines" colors="blue:(move_check == False);black:(move_check == True)">
<field name="depreciation_date"/> <field name="depreciation_date"/>
<field name="sequence" invisible="1"/> <field name="sequence" invisible="1"/>
@ -235,7 +228,7 @@
<field name="user_id"/> <field name="user_id"/>
</group> </group>
<group col="2" colspan="2"> <group col="2" colspan="2">
<separator string="Depreciation Dates" colspan="2" /> <separator string="Depreciation Dates" colspan="2"/>
<field name="method_time"/> <field name="method_time"/>
<field name="method_number" attrs="{'invisible':[('method_time','=','end')]}"/> <field name="method_number" attrs="{'invisible':[('method_time','=','end')]}"/>
<field name="method_period"/> <field name="method_period"/>
@ -297,10 +290,7 @@
</record> </record>
<menuitem id="menu_finance_assets" name="Assets" parent="account.menu_finance"/> <menuitem id="menu_finance_assets" name="Assets" parent="account.menu_finance"/>
<menuitem <menuitem parent="menu_finance_assets" id="menu_action_account_asset_asset_tree" action="action_account_asset_asset_tree"/>
parent="menu_finance_assets"
id="menu_action_account_asset_asset_tree"
action="action_account_asset_asset_tree"/>
<record model="ir.actions.act_window" id="action_account_asset_asset_form"> <record model="ir.actions.act_window" id="action_account_asset_asset_form">
<field name="name">Assets</field> <field name="name">Assets</field>
<field name="res_model">account.asset.asset</field> <field name="res_model">account.asset.asset</field>
@ -309,17 +299,9 @@
<field name="search_view_id" ref="view_account_asset_search"/> <field name="search_view_id" ref="view_account_asset_search"/>
</record> </record>
<menuitem <menuitem parent="menu_finance_assets" id="menu_action_account_asset_asset_form" action="action_account_asset_asset_form"/>
parent="menu_finance_assets"
id="menu_action_account_asset_asset_form"
action="action_account_asset_asset_form"/>
<act_window <act_window id="act_entries_open" name="Entries" res_model="account.move.line" src_model="account.asset.asset" context="{'search_default_asset_id': [active_id], 'default_asset_id': active_id}"/>
id="act_entries_open"
name="Entries"
res_model="account.move.line"
src_model="account.asset.asset"
context="{'search_default_asset_id': [active_id], 'default_asset_id': active_id}"/>
<menuitem id="menu_finance_config_assets" name="Assets" parent="account.menu_finance_accounting"/> <menuitem id="menu_finance_config_assets" name="Assets" parent="account.menu_finance_accounting"/>
<record model="ir.actions.act_window" id="action_account_asset_asset_list_normal"> <record model="ir.actions.act_window" id="action_account_asset_asset_list_normal">
@ -329,10 +311,7 @@
<field name="view_mode">tree,form</field> <field name="view_mode">tree,form</field>
</record> </record>
<menuitem <menuitem parent="menu_finance_config_assets" id="menu_action_account_asset_asset_list_normal" action="action_account_asset_asset_list_normal"/>
parent="menu_finance_config_assets"
id="menu_action_account_asset_asset_list_normal"
action="action_account_asset_asset_list_normal"/>
<record model="ir.actions.act_window" id="action_account_asset_asset_form_normal"> <record model="ir.actions.act_window" id="action_account_asset_asset_form_normal">
<field name="name">Asset Categories</field> <field name="name">Asset Categories</field>
@ -349,5 +328,4 @@
</record> </record>
</data> </data>
</openerp> </openerp>

View File

@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp> <openerp>
<data> <data>
@ -22,8 +21,8 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Follow-Up Lines"> <form string="Follow-Up Lines">
<group col="6" colspan="4"> <group col="6" colspan="4">
<field name="name" /> <field name="name"/>
<field name="delay" /> <field name="delay"/>
<field name="start" groups="base.group_extended"/> <field name="start" groups="base.group_extended"/>
</group> </group>
<newline/> <newline/>
@ -44,9 +43,9 @@
<field name="type">form</field> <field name="type">form</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Follow-Up"> <form string="Follow-Up">
<field name="name" /> <field name="name"/>
<field name="company_id" widget="selection" groups="base.group_multi_company"/> <field name="company_id" widget="selection" groups="base.group_multi_company"/>
<separator colspan="4" string="" /> <separator colspan="4" string=""/>
<field colspan="4" name="followup_line" nolabel="1"/> <field colspan="4" name="followup_line" nolabel="1"/>
</form> </form>
</field> </field>
@ -90,8 +89,7 @@
<field name="view_type">form</field> <field name="view_type">form</field>
<field name="help">Define follow up levels and their related messages and delay. For each step, specify the message and the day of delay. Use the legend to know the using code to adapt the email content to the good context (good name, good date) and you can manage the multi language of messages.</field> <field name="help">Define follow up levels and their related messages and delay. For each step, specify the message and the day of delay. Use the legend to know the using code to adapt the email content to the good context (good name, good date) and you can manage the multi language of messages.</field>
</record> </record>
<menuitem action="action_account_followup_definition_form" id="account_followup_menu" <menuitem action="action_account_followup_definition_form" id="account_followup_menu" parent="account.menu_configuration_misc"/>
parent="account.menu_configuration_misc"/>
<report auto="False" id="account_followup_followup_report" menu="False" model="account_followup.followup" name="account_followup.followup.print" rml="account_followup/report/account_followup_print.rml" string="Followup Report"/> <report auto="False" id="account_followup_followup_report" menu="False" model="account_followup.followup" name="account_followup.followup.print" rml="account_followup/report/account_followup_print.rml" string="Followup Report"/>
@ -142,23 +140,11 @@
</field> </field>
</record> </record>
<act_window <act_window domain="[('reconcile_id', '=', False),('account_id.type','=','receivable')]" id="act_account_partner_account_move_all" name="Receivable Items" res_model="account.move.line" src_model="" view_id="account_move_line_partner_tree"/>
domain="[('reconcile_id', '=', False),('account_id.type','=','receivable')]"
id="act_account_partner_account_move_all"
name="Receivable Items"
res_model="account.move.line"
src_model=""
view_id="account_move_line_partner_tree"/>
<!--<menuitem action="act_account_partner_account_move_all" id="menu_account_move_open_unreconcile" parent="account_followup.menu_action_followup_stat"/> --> <!--<menuitem action="act_account_partner_account_move_all" id="menu_account_move_open_unreconcile" parent="account_followup.menu_action_followup_stat"/> -->
<act_window <act_window domain="[('reconcile_id', '=', False), ('account_id.type','=','payable')]" id="act_account_partner_account_move_payable_all" name="Payable Items" res_model="account.move.line" src_model="" view_id="account_move_line_partner_tree"/>
domain="[('reconcile_id', '=', False), ('account_id.type','=','payable')]"
id="act_account_partner_account_move_payable_all"
name="Payable Items"
res_model="account.move.line"
src_model=""
view_id="account_move_line_partner_tree"/>
<!-- <menuitem action="act_account_partner_account_move_payable_all" id="menu_account_move_open_unreconcile_payable" parent="account_followup.menu_action_followup_stat"/> --> <!-- <menuitem action="act_account_partner_account_move_payable_all" id="menu_account_move_open_unreconcile_payable" parent="account_followup.menu_action_followup_stat"/> -->
@ -168,8 +154,8 @@
<field name="model">res.company</field> <field name="model">res.company</field>
<field name="type">form</field> <field name="type">form</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<field name="overdue_msg" nolabel="1" colspan ="4" position="after"> <field name="overdue_msg" nolabel="1" colspan="4" position="after">
<field name="follow_up_msg" nolabel="1" colspan ="4"/> <field name="follow_up_msg" nolabel="1" colspan="4"/>
<separator string="Follow-up Message" colspan="4"/> <separator string="Follow-up Message" colspan="4"/>
</field> </field>
</field> </field>
@ -197,4 +183,4 @@
</data> </data>
</openerp> </openerp>

View File

@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp> <openerp>
<data> <data>
@ -15,8 +14,8 @@
<separator string="title" position="attributes"> <separator string="title" position="attributes">
<attribute name="string">Configure Your Account Sequence Application</attribute> <attribute name="string">Configure Your Account Sequence Application</attribute>
</separator> </separator>
<xpath expr='//separator[@string="vsep"]' position='attributes'> <xpath expr="//separator[@string=&quot;vsep&quot;]" position="attributes">
<attribute name='string'></attribute> <attribute name="string"/>
</xpath> </xpath>
<xpath expr="//label[@string='description']" position="attributes"> <xpath expr="//label[@string='description']" position="attributes">
<attribute name="string">You can enhance the Account Sequence Application by installing .</attribute> <attribute name="string">You can enhance the Account Sequence Application by installing .</attribute>
@ -55,4 +54,4 @@
</record> </record>
</data> </data>
</openerp> </openerp>

View File

@ -14,13 +14,12 @@
<separator string="title" position="attributes"> <separator string="title" position="attributes">
<attribute name="string">Select the Option for Addresses Migration</attribute> <attribute name="string">Select the Option for Addresses Migration</attribute>
</separator> </separator>
<xpath expr="//label[@string='description']" <xpath expr="//label[@string='description']" position="attributes">
position="attributes">
<attribute name="string">You can migrate Partner's current addresses to the contact.</attribute> <attribute name="string">You can migrate Partner's current addresses to the contact.</attribute>
</xpath> </xpath>
<xpath expr='//separator[@string="vsep"]' position='attributes'> <xpath expr="//separator[@string=&quot;vsep&quot;]" position="attributes">
<attribute name='rowspan'>13</attribute> <attribute name="rowspan">13</attribute>
<attribute name='string'></attribute> <attribute name="string"/>
</xpath> </xpath>
<xpath expr="//button[@string='Install Modules']" position="attributes"> <xpath expr="//button[@string='Install Modules']" position="attributes">
<attribute name="string">Configure</attribute> <attribute name="string">Configure</attribute>
@ -28,8 +27,8 @@
<group colspan="8"> <group colspan="8">
<group colspan="2" col="2"> <group colspan="2" col="2">
<label string="Due to changes in Address and Partner's relation, some of the details from address are needed to be migrated into contact information." colspan="4"/> <label string="Due to changes in Address and Partner's relation, some of the details from address are needed to be migrated into contact information." colspan="4"/>
<label string="Otherwise these details will not be visible from address/contact." colspan="4"/> <label string="Otherwise these details will not be visible from address/contact." colspan="4"/>
<label string="Do you want to migrate your Address data in Contact Data?" colspan="4" /> <label string="Do you want to migrate your Address data in Contact Data?" colspan="4"/>
<group colspan="6"> <group colspan="6">
<field name="migrate" string="Migrate" colspan="1"/> <field name="migrate" string="Migrate" colspan="1"/>
</group> </group>
@ -56,4 +55,4 @@
</record> </record>
</data> </data>
</openerp> </openerp>

View File

@ -1,4 +1,3 @@
<?xml version="1.0"?>
<openerp> <openerp>
<data> <data>
@ -21,16 +20,14 @@
</xpath> </xpath>
<xpath expr="//button[@string='Install Modules']" position="replace"> <xpath expr="//button[@string='Install Modules']" position="replace">
<button colspan="1" icon="gtk-close" special="cancel" string="_Close" invisible="not context.get('menu',False)"/> <button colspan="1" icon="gtk-close" special="cancel" string="_Close" invisible="not context.get('menu',False)"/>
<button name="action_next" icon="gtk-go-forward" <button name="action_next" icon="gtk-go-forward" type="object" string="Configure" colspan="1" invisible="context.get('menu',False)"/>
type="object" string="Configure" colspan="1" invisible="context.get('menu',False)"/>
</xpath> </xpath>
<xpath expr="//button[@string='Skip']" position="replace"> <xpath expr="//button[@string='Skip']" position="replace">
<button name="action_skip" icon="gtk-jump-to" special="cancel" <button name="action_skip" icon="gtk-jump-to" special="cancel" type="object" string="Skip" colspan="1" invisible="context.get('menu',False)"/>
type="object" string="Skip" colspan="1" invisible="context.get('menu',False)"/>
</xpath> </xpath>
<xpath expr='//separator[@string="vsep"]' position='attributes'> <xpath expr="//separator[@string=&quot;vsep&quot;]" position="attributes">
<attribute name='string'></attribute> <attribute name="string"/>
<attribute name='rowspan'>15</attribute> <attribute name="rowspan">15</attribute>
</xpath> </xpath>
<group colspan="8" position="replace"> <group colspan="8" position="replace">
<group colspan="8" height="450" width="750"> <group colspan="8" height="450" width="750">
@ -72,11 +69,7 @@
<field name="context">{'menu':True}</field> <field name="context">{'menu':True}</field>
</record> </record>
<menuitem parent="base.reporting_menu" name="Report Designer" <menuitem parent="base.reporting_menu" name="Report Designer" action="action_report_designer_wizard" id="menu_action_report_designer_wizard" sequence="70"/>
action="action_report_designer_wizard"
id="menu_action_report_designer_wizard" sequence="70" />
</data> </data>
</openerp> </openerp>

View File

@ -14,9 +14,9 @@
<xpath expr="//label[@string='description']" position="attributes"> <xpath expr="//label[@string='description']" position="attributes">
<attribute name="string">Select the Applications you want your system to cover. If you are not sure about your exact needs at this stage, you can easily install them later.</attribute> <attribute name="string">Select the Applications you want your system to cover. If you are not sure about your exact needs at this stage, you can easily install them later.</attribute>
</xpath> </xpath>
<xpath expr='//separator[@string="vsep"]' position='attributes'> <xpath expr="//separator[@string=&quot;vsep&quot;]" position="attributes">
<attribute name='string'></attribute> <attribute name="string"/>
<attribute name='rowspan'>15</attribute> <attribute name="rowspan">15</attribute>
</xpath> </xpath>
<xpath expr="//button[@string='Install Modules']" position="attributes"> <xpath expr="//button[@string='Install Modules']" position="attributes">
<attribute name="string">Install</attribute> <attribute name="string">Install</attribute>
@ -82,15 +82,10 @@
<field name="name">Start Configuration</field> <field name="name">Start Configuration</field>
<field name="model_id" ref="base.model_ir_actions_todo"/> <field name="model_id" ref="base.model_ir_actions_todo"/>
<field name="state">code</field> <field name="state">code</field>
<field name="code" <field name="code" eval="'# obj is a browse_record and will provide stupid ids to method\n' 'action = obj.pool.get(\'ir.actions.todo\').action_launch(cr, uid, ' + str([ref('base_setup_installer_todo')]) + ', context=context)'"/>
eval="'# obj is a browse_record and will provide stupid ids to method\n'
'action = obj.pool.get(\'ir.actions.todo\').action_launch(cr, uid, ' + str([ref('base_setup_installer_todo')]) + ', context=context)'"/>
</record> </record>
<menuitem name="Add More Features" <menuitem name="Add More Features" action="action_start_configurator" id="menu_view_base_module_configuration" parent="base.menu_config" type="server" icon="STOCK_EXECUTE" sequence="100"/>
action="action_start_configurator"
id="menu_view_base_module_configuration" parent="base.menu_config"
type="server" icon="STOCK_EXECUTE" sequence="100" />
<record id="ir_ui_view_sc_configuration" model="ir.ui.view_sc"> <record id="ir_ui_view_sc_configuration" model="ir.ui.view_sc">
<field name="name">Add More Features</field> <field name="name">Add More Features</field>
<field name="resource">ir.ui.menu</field> <field name="resource">ir.ui.menu</field>
@ -118,8 +113,8 @@
<xpath expr="//button[@string='Install Modules']" position="attributes"> <xpath expr="//button[@string='Install Modules']" position="attributes">
<attribute name="string">Configure</attribute> <attribute name="string">Configure</attribute>
</xpath> </xpath>
<xpath expr='//separator[@string="vsep"]' position='attributes'> <xpath expr="//separator[@string=&quot;vsep&quot;]" position="attributes">
<attribute name='string'></attribute> <attribute name="string"/>
</xpath> </xpath>
<group colspan="8"> <group colspan="8">
<field name="import_saleforce"/> <field name="import_saleforce"/>
@ -179,23 +174,22 @@
<form position="attributes"> <form position="attributes">
<attribute name="string">Define default users preferences</attribute> <attribute name="string">Define default users preferences</attribute>
</form> </form>
<xpath expr='//separator[@string="title"]' position='attributes'> <xpath expr="//separator[@string=&quot;title&quot;]" position="attributes">
<attribute name='string'>Define default users preferences</attribute> <attribute name="string">Define default users preferences</attribute>
</xpath> </xpath>
<xpath expr="//label[@string='description']" <xpath expr="//label[@string='description']" position="attributes">
position="attributes">
<attribute name="string">Specify default values. This will set the default values for each new user, each user is free to change his own preferences.</attribute> <attribute name="string">Specify default values. This will set the default values for each new user, each user is free to change his own preferences.</attribute>
</xpath> </xpath>
<xpath expr='//separator[@string="vsep"]' position='attributes'> <xpath expr="//separator[@string=&quot;vsep&quot;]" position="attributes">
<attribute name='string'></attribute> <attribute name="string"/>
<attribute name='rowspan'>12</attribute> <attribute name="rowspan">12</attribute>
</xpath> </xpath>
<group string="res_config_contents" position="replace"> <group string="res_config_contents" position="replace">
<group colspan="4"> <group colspan="4">
<field colspan="4" name="view" /> <field colspan="4" name="view"/>
<field colspan="4" name="context_lang" /> <field colspan="4" name="context_lang"/>
<field colspan="4" name="context_tz" /> <field colspan="4" name="context_tz"/>
<field colspan="4" name="menu_tips" /> <field colspan="4" name="menu_tips"/>
</group> </group>
</group> </group>
</data> </data>
@ -263,20 +257,19 @@
<form position="attributes"> <form position="attributes">
<attribute name="string">Specify Your Terminology</attribute> <attribute name="string">Specify Your Terminology</attribute>
</form> </form>
<xpath expr='//separator[@string="title"]' position='attributes'> <xpath expr="//separator[@string=&quot;title&quot;]" position="attributes">
<attribute name='string'>Specify Your Terminology</attribute> <attribute name="string">Specify Your Terminology</attribute>
</xpath> </xpath>
<xpath expr="//label[@string='description']" <xpath expr="//label[@string='description']" position="attributes">
position="attributes">
<attribute name="string">Based on the industry needs you can use this wizard to change the terminologies for Partners. </attribute> <attribute name="string">Based on the industry needs you can use this wizard to change the terminologies for Partners. </attribute>
</xpath> </xpath>
<xpath expr='//separator[@string="vsep"]' position='attributes'> <xpath expr="//separator[@string=&quot;vsep&quot;]" position="attributes">
<attribute name='string'></attribute> <attribute name="string"/>
<attribute name='rowspan'>12</attribute> <attribute name="rowspan">12</attribute>
</xpath> </xpath>
<group string="res_config_contents" position="replace"> <group string="res_config_contents" position="replace">
<group colspan="4"> <group colspan="4">
<field colspan="4" name="partner" /> <field colspan="4" name="partner"/>
</group> </group>
</group> </group>
</data> </data>
@ -320,4 +313,4 @@
</record> </record>
</data> </data>
</openerp> </openerp>

View File

@ -9,16 +9,16 @@
<data> <data>
<xpath expr="//group[@name='crm']" position="replace"> <xpath expr="//group[@name='crm']" position="replace">
<newline/> <newline/>
<separator string="Customer Relationship Management Features" colspan="4" /> <separator string="Customer Relationship Management Features" colspan="4"/>
<field name="crm_claim" groups="base.group_extended" /> <field name="crm_claim" groups="base.group_extended"/>
<field name="crm_helpdesk" groups="base.group_extended" /> <field name="crm_helpdesk" groups="base.group_extended"/>
<field name="crm_fundraising" groups="base.group_extended" /> <field name="crm_fundraising" groups="base.group_extended"/>
<field name="wiki_sale_faq" groups="base.group_extended" /> <field name="wiki_sale_faq" groups="base.group_extended"/>
<field name="sale_crm" invisible="1" groups="base.group_extended" /> <field name="sale_crm" invisible="1" groups="base.group_extended"/>
<field name="crm_caldav" /> <field name="crm_caldav"/>
<field name="fetchmail" /> <field name="fetchmail"/>
<field name="thunderbird" /> <field name="thunderbird"/>
<field name="outlook" /> <field name="outlook"/>
</xpath> </xpath>
</data> </data>
</field> </field>
@ -59,4 +59,4 @@
</record> </record>
</data> </data>
</openerp> </openerp>

View File

@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp> <openerp>
<data> <data>
<!-- Delivery Carriers --> <!-- Delivery Carriers -->
@ -35,7 +34,7 @@
<field name="amount" attrs="{'invisible':[('free_if_more_than','=',False)]}"/> <field name="amount" attrs="{'invisible':[('free_if_more_than','=',False)]}"/>
</group> </group>
<newline/> <newline/>
<field name="use_detailed_pricelist" /> <field name="use_detailed_pricelist"/>
</group> </group>
<field name="pricelist_ids" nolabel="1" attrs="{'invisible':[('use_detailed_pricelist','=',False)]}" mode="tree,form"> <field name="pricelist_ids" nolabel="1" attrs="{'invisible':[('use_detailed_pricelist','=',False)]}" mode="tree,form">
<tree string="Delivery grids"> <tree string="Delivery grids">
@ -145,7 +144,7 @@
<field colspan="4" name="name" select="1"/> <field colspan="4" name="name" select="1"/>
<newline/> <newline/>
<field name="type" string="Condition"/> <field name="type" string="Condition"/>
<field name="operator" nolabel="1" /> <field name="operator" nolabel="1"/>
<field name="max_value" nolabel="1"/> <field name="max_value" nolabel="1"/>
</group> </group>
<newline/> <newline/>
@ -340,4 +339,4 @@
</record> </record>
</data> </data>
</openerp> </openerp>

View File

@ -16,9 +16,9 @@
<xpath expr="//label[@string='description']" position="attributes"> <xpath expr="//label[@string='description']" position="attributes">
<attribute name="string">Choose the following Resouces to auto directory configuration.</attribute> <attribute name="string">Choose the following Resouces to auto directory configuration.</attribute>
</xpath> </xpath>
<xpath expr='//separator[@string="vsep"]' position='attributes'> <xpath expr="//separator[@string=&quot;vsep&quot;]" position="attributes">
<attribute name='rowspan'>12</attribute> <attribute name="rowspan">12</attribute>
<attribute name='string'></attribute> <attribute name="string"/>
</xpath> </xpath>
<group string="res_config_contents" position="replace"> <group string="res_config_contents" position="replace">
<group col="6" colspan="4"> <group col="6" colspan="4">
@ -54,4 +54,4 @@
<field name="type">special</field> <field name="type">special</field>
</record> </record>
</data> </data>
</openerp> </openerp>

View File

@ -23,9 +23,9 @@
<xpath expr="//label[@string='description']" position="attributes"> <xpath expr="//label[@string='description']" position="attributes">
<attribute name="string">Indicate the network address on which your OpenERP server should be reachable for end-users. This depends on your network topology and configuration, and will only affect the links displayed to the users. The format is HOST:PORT and the default host (localhost) is only suitable for access from the server machine itself..</attribute> <attribute name="string">Indicate the network address on which your OpenERP server should be reachable for end-users. This depends on your network topology and configuration, and will only affect the links displayed to the users. The format is HOST:PORT and the default host (localhost) is only suitable for access from the server machine itself..</attribute>
</xpath> </xpath>
<xpath expr='//separator[@string="vsep"]' position='attributes'> <xpath expr="//separator[@string=&quot;vsep&quot;]" position="attributes">
<attribute name='rowspan'>12</attribute> <attribute name="rowspan">12</attribute>
<attribute name='string'></attribute> <attribute name="string"/>
</xpath> </xpath>
<group string="res_config_contents" position="replace"> <group string="res_config_contents" position="replace">
<field name="host"/> <field name="host"/>
@ -51,4 +51,4 @@
<field name="groups_id" eval="[(6,0,[ref('base.group_extended')])]"/> <field name="groups_id" eval="[(6,0,[ref('base.group_extended')])]"/>
</record> </record>
</data> </data>
</openerp> </openerp>

View File

@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp> <openerp>
<data> <data>
<record id="view_document_ics_config_directories" model="ir.ui.view"> <record id="view_document_ics_config_directories" model="ir.ui.view">
@ -12,16 +11,15 @@
<attribute name="string">Configure Calendars for CRM Sections</attribute> <attribute name="string">Configure Calendars for CRM Sections</attribute>
</form> </form>
<separator string="title" position="attributes"> <separator string="title" position="attributes">
<attribute name="string" <attribute name="string">Create Pre-Configured Calendars</attribute>
>Create Pre-Configured Calendars</attribute>
</separator> </separator>
<xpath expr="//label[@string='description']" position="attributes"> <xpath expr="//label[@string='description']" position="attributes">
<attribute name="string">OpenERP can create and pre-configure a series of integrated calendar for you.</attribute> <attribute name="string">OpenERP can create and pre-configure a series of integrated calendar for you.</attribute>
<attribute name="width">200</attribute> <attribute name="width">200</attribute>
</xpath> </xpath>
<xpath expr='//separator[@string="vsep"]' position='attributes'> <xpath expr="//separator[@string=&quot;vsep&quot;]" position="attributes">
<attribute name='rowspan'>15</attribute> <attribute name="rowspan">15</attribute>
<attribute name='string'></attribute> <attribute name="string"/>
</xpath> </xpath>
<xpath expr="//button[@name='action_next']" position="attributes"> <xpath expr="//button[@name='action_next']" position="attributes">
<attribute name="string">Configure</attribute> <attribute name="string">Configure</attribute>
@ -59,5 +57,4 @@
<field name="type">special</field> <field name="type">special</field>
</record> </record>
</data> </data>
</openerp> </openerp>

View File

@ -1,4 +1,3 @@
<?xml version="1.0"?>
<openerp> <openerp>
<data> <data>
<record model="ir.actions.act_window" id="view_email_server_form_installer"> <record model="ir.actions.act_window" id="view_email_server_form_installer">

View File

@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp> <openerp>
<data> <data>
@ -11,16 +10,16 @@
<data> <data>
<xpath expr="//group[@name='hr']" position="replace"> <xpath expr="//group[@name='hr']" position="replace">
<newline/> <newline/>
<separator string="Human Resources Features" colspan="4" /> <separator string="Human Resources Features" colspan="4"/>
<field name="hr_holidays"/> <field name="hr_holidays"/>
<field name="hr_expense" /> <field name="hr_expense"/>
<field name="hr_recruitment" /> <field name="hr_recruitment"/>
<field name="hr_timesheet_sheet" /> <field name="hr_timesheet_sheet"/>
<field name="hr_contract" /> <field name="hr_contract"/>
<field name="hr_attendance" /> <field name="hr_attendance"/>
<field name="hr_evaluation" /> <field name="hr_evaluation"/>
<field name="hr_payroll" /> <field name="hr_payroll"/>
<field name="hr_payroll_account" groups="base.group_extended" /> <field name="hr_payroll_account" groups="base.group_extended"/>
</xpath> </xpath>
</data> </data>
</field> </field>
@ -49,4 +48,4 @@
</record> </record>
</data> </data>
</openerp> </openerp>

View File

@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp> <openerp>
<data> <data>
<record model="ir.actions.act_window" id="view_department_form_installer"> <record model="ir.actions.act_window" id="view_department_form_installer">
@ -18,4 +17,4 @@
<field name="type">normal</field> <field name="type">normal</field>
</record> </record>
</data> </data>
</openerp> </openerp>

View File

@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp> <openerp>
<data> <data>
<record model="ir.actions.act_window" id="product_normal_form_view_installer"> <record model="ir.actions.act_window" id="product_normal_form_view_installer">
@ -18,4 +17,4 @@
<field name="type">normal</field> <field name="type">normal</field>
</record> </record>
</data> </data>
</openerp> </openerp>

View File

@ -1,4 +1,3 @@
<?xml version="1.0" ?>
<openerp> <openerp>
<data> <data>
@ -8,24 +7,19 @@
<field name="type">search</field> <field name="type">search</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<search string="Search Leave"> <search string="Search Leave">
<group col='8' colspan='4'> <group col="8" colspan="4">
<filter icon="terp-camera_test" domain="[('state','=','validate')]" string="Validated"/> <filter icon="terp-camera_test" domain="[('state','=','validate')]" string="Validated"/>
<separator orientation="vertical"/> <separator orientation="vertical"/>
<filter icon="terp-check" domain="[('state','=','draft')]" string="To Confirm"/> <filter icon="terp-check" domain="[('state','=','draft')]" string="To Confirm"/>
<filter icon="terp-camera_test" domain="[('state','=','confirm')]" string="To Approve"/> <filter icon="terp-camera_test" domain="[('state','=','confirm')]" string="To Approve"/>
<separator orientation="vertical"/> <separator orientation="vertical"/>
<filter string="This Month" icon="terp-go-month" name="This Month" <filter string="This Month" icon="terp-go-month" name="This Month" domain="[('date_from','&lt;=',(datetime.date.today()+relativedelta(day=31)).strftime('%%Y-%%m-%%d')),('date_from','&gt;=',(datetime.date.today()-relativedelta(day=1)).strftime('%%Y-%%m-%%d'))]"/>
domain="[('date_from','&lt;=',(datetime.date.today()+relativedelta(day=31)).strftime('%%Y-%%m-%%d')),('date_from','&gt;=',(datetime.date.today()-relativedelta(day=1)).strftime('%%Y-%%m-%%d'))]"/>
<separator orientation="vertical"/> <separator orientation="vertical"/>
<field name="employee_id"> <field name="employee_id">
<filter icon="terp-personal" <filter icon="terp-personal" name="my_leaves" domain="[('employee_id.user_id','=', uid)]" help="My Leaves"/>
name="my_leaves"
domain="[('employee_id.user_id','=', uid)]"
help="My Leaves" />
</field> </field>
<field name="department_id" widget="selection"> <field name="department_id" widget="selection">
<filter icon="terp-personal+" help="My Department Leaves" <filter icon="terp-personal+" help="My Department Leaves" domain="[('department_id.manager_id','=',uid)]"/>
domain="[('department_id.manager_id','=',uid)]" />
</field> </field>
<field name="holiday_status_id" widget="selection"/> <field name="holiday_status_id" widget="selection"/>
</group> </group>
@ -34,7 +28,7 @@
<field name="date_from"/> <field name="date_from"/>
<field name="date_to"/> <field name="date_to"/>
</group> </group>
<newline /> <newline/>
<group expand="0" string="Group By..."> <group expand="0" string="Group By...">
<filter name="group_employee" string="Employee" icon="terp-personal" domain="[]" context="{'group_by':'employee_id'}"/> <filter name="group_employee" string="Employee" icon="terp-personal" domain="[]" context="{'group_by':'employee_id'}"/>
<filter name="group_category" string="Category" icon="terp-stock_symbol-selection" domain="[]" context="{'group_by':'category_id'}"/> <filter name="group_category" string="Category" icon="terp-stock_symbol-selection" domain="[]" context="{'group_by':'category_id'}"/>
@ -70,10 +64,10 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Leave Request"> <form string="Leave Request">
<group col="8" colspan="4"> <group col="8" colspan="4">
<field name="name" attrs="{'readonly':[('state','!=','draft'),('state','!=','confirm')]}" /> <field name="name" attrs="{'readonly':[('state','!=','draft'),('state','!=','confirm')]}"/>
<field name="holiday_type" on_change="onchange_type(holiday_type)" attrs="{'readonly':[('state','!=','draft')]}" width="130" groups="base.group_hr_manager"/> <field name="holiday_type" on_change="onchange_type(holiday_type)" attrs="{'readonly':[('state','!=','draft')]}" width="130" groups="base.group_hr_manager"/>
<group attrs="{'invisible':[('holiday_type','=','employee')]}"> <group attrs="{'invisible':[('holiday_type','=','employee')]}">
<field name="category_id" attrs="{'required':[('holiday_type','=','category')], 'readonly':[('state','!=','draft')]}"/> <field name="category_id" attrs="{'required':[('holiday_type','=','category')], 'readonly':[('state','!=','draft')]}"/>
</group> </group>
<group attrs="{'invisible':[('holiday_type','=','category')]}"> <group attrs="{'invisible':[('holiday_type','=','category')]}">
<field name="employee_id" attrs="{'required':[('holiday_type','=','employee')]}"/> <field name="employee_id" attrs="{'required':[('holiday_type','=','employee')]}"/>
@ -81,8 +75,8 @@
</group> </group>
<notebook colspan="4"> <notebook colspan="4">
<page string="General"> <page string="General">
<field name="holiday_status_id" on_change="onchange_sec_id(holiday_status_id)" context="{'employee_id':employee_id}" /> <field name="holiday_status_id" on_change="onchange_sec_id(holiday_status_id)" context="{'employee_id':employee_id}"/>
<field name="department_id" attrs="{'readonly':[('holiday_type','=','category')]}" /> <field name="department_id" attrs="{'readonly':[('holiday_type','=','category')]}"/>
<field name="date_from" on_change="onchange_date_from(date_to, date_from)" required="1"/> <field name="date_from" on_change="onchange_date_from(date_to, date_from)" required="1"/>
<field name="date_to" on_change="onchange_date_from(date_to, date_from)" required="1"/> <field name="date_to" on_change="onchange_date_from(date_to, date_from)" required="1"/>
<field name="number_of_days_temp"/> <field name="number_of_days_temp"/>
@ -114,7 +108,7 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Allocation Request"> <form string="Allocation Request">
<group col="8" colspan="4"> <group col="8" colspan="4">
<field name="name" /> <field name="name"/>
<field name="holiday_type" on_change="onchange_type(holiday_type)" attrs="{'readonly':[('state','!=','draft')]}" string="Allocation Category" groups="base.group_hr_manager"/> <field name="holiday_type" on_change="onchange_type(holiday_type)" attrs="{'readonly':[('state','!=','draft')]}" string="Allocation Category" groups="base.group_hr_manager"/>
<group attrs="{'invisible':[('holiday_type','=','category')]}"> <group attrs="{'invisible':[('holiday_type','=','category')]}">
<field name="employee_id" attrs="{'required':[('holiday_type','=','employee')]}"/> <field name="employee_id" attrs="{'required':[('holiday_type','=','employee')]}"/>
@ -125,14 +119,14 @@
</group> </group>
<notebook colspan="4"> <notebook colspan="4">
<page string="General"> <page string="General">
<field name="holiday_status_id" on_change="onchange_sec_id(holiday_status_id)" context="{'employee_id':employee_id}" /> <field name="holiday_status_id" on_change="onchange_sec_id(holiday_status_id)" context="{'employee_id':employee_id}"/>
<field name="department_id" attrs="{'readonly':[('holiday_type','=','category')]}" /> <field name="department_id" attrs="{'readonly':[('holiday_type','=','category')]}"/>
<field name="number_of_days_temp"/> <field name="number_of_days_temp"/>
<newline/> <newline/>
<field name="manager_id"/> <field name="manager_id"/>
<field name="manager_id2"/> <field name="manager_id2"/>
<separator string="Reasons" colspan="4"/> <separator string="Reasons" colspan="4"/>
<field name="notes" nolabel="1" colspan="4" /> <field name="notes" nolabel="1" colspan="4"/>
<newline/> <newline/>
<field name="state" colspan="2"/> <field name="state" colspan="2"/>
<group colspan="2" col="6"> <group colspan="2" col="6">
@ -153,14 +147,14 @@
<field name="model">hr.holidays</field> <field name="model">hr.holidays</field>
<field name="type">tree</field> <field name="type">tree</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<tree colors="red:state in ('refuse');blue:state in ('draft');black:state in ('confirm','validate','validate1')" string="Leaves" > <tree colors="red:state in ('refuse');blue:state in ('draft');black:state in ('confirm','validate','validate1')" string="Leaves">
<field name="holiday_type"/> <field name="holiday_type"/>
<field name="employee_id"/> <field name="employee_id"/>
<field name="category_id"/> <field name="category_id"/>
<field name="department_id" invisible="1"/> <field name="department_id" invisible="1"/>
<field name="holiday_status_id"/> <field name="holiday_status_id"/>
<field name="name"/> <field name="name"/>
<field name="number_of_days" string="Number of Days" sum='Remaining Days'/> <field name="number_of_days" string="Number of Days" sum="Remaining Days"/>
<field name="manager_id" invisible="1"/> <field name="manager_id" invisible="1"/>
<field name="user_id" invisible="1"/> <field name="user_id" invisible="1"/>
<!--field name="type"/--> <!--field name="type"/-->
@ -178,8 +172,8 @@
<field name="type">form</field> <field name="type">form</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Leaves Management"> <form string="Leaves Management">
<field name="name" /> <field name="name"/>
<field name="holiday_status_id" /> <field name="holiday_status_id"/>
<field name="type"/> <field name="type"/>
<field name="date_from" on_change="onchange_date_from(date_to, date_from)" attrs="{'readonly':[('type','=','add')], 'required':[('type','=','remove')]}"/> <field name="date_from" on_change="onchange_date_from(date_to, date_from)" attrs="{'readonly':[('type','=','add')], 'required':[('type','=','remove')]}"/>
<field name="date_to" on_change="onchange_date_from(date_to, date_from)" attrs="{'readonly':[('type','=','add')], 'required':[('type','=','remove')]}"/> <field name="date_to" on_change="onchange_date_from(date_to, date_from)" attrs="{'readonly':[('type','=','add')], 'required':[('type','=','remove')]}"/>
@ -213,7 +207,7 @@
<field name="department_id" invisible="1"/> <field name="department_id" invisible="1"/>
<field name="type"/> <field name="type"/>
<field name="name"/> <field name="name"/>
<field name="number_of_days" string="Number of Days" sum='Remaining Days'/> <field name="number_of_days" string="Number of Days" sum="Remaining Days"/>
<field name="date_from"/> <field name="date_from"/>
<field name="date_to"/> <field name="date_to"/>
<field name="holiday_status_id"/> <field name="holiday_status_id"/>
@ -240,7 +234,7 @@
<field name="department_id" invisible="not context.get('set_visible',False)"/> <field name="department_id" invisible="not context.get('set_visible',False)"/>
<field name="holiday_status_id"/> <field name="holiday_status_id"/>
<field name="name"/> <field name="name"/>
<field name="number_of_days" string="Number of Days" sum='Remaining Days'/> <field name="number_of_days" string="Number of Days" sum="Remaining Days"/>
<field name="date_from"/> <field name="date_from"/>
<field name="date_to"/> <field name="date_to"/>
<field name="manager_id" invisible="1"/> <field name="manager_id" invisible="1"/>
@ -254,11 +248,7 @@
</record> </record>
<!-- My leave dashboard --> <!-- My leave dashboard -->
<menuitem <menuitem name="Leaves" parent="hr.menu_hr_root" id="menu_open_ask_holidays" sequence="5"/>
name="Leaves"
parent="hr.menu_hr_root"
id="menu_open_ask_holidays"
sequence="5"/>
<record model="ir.actions.act_window" id="open_ask_holidays"> <record model="ir.actions.act_window" id="open_ask_holidays">
<field name="name">Leave Requests</field> <field name="name">Leave Requests</field>
@ -292,8 +282,7 @@
<field name="act_window_id" ref="open_ask_holidays"/> <field name="act_window_id" ref="open_ask_holidays"/>
</record> </record>
<menuitem name="Leave Requests" parent="menu_open_ask_holidays" id="menu_open_ask_holidays_new" <menuitem name="Leave Requests" parent="menu_open_ask_holidays" id="menu_open_ask_holidays_new" action="open_ask_holidays"/>
action="open_ask_holidays"/>
<record model="ir.actions.act_window" id="open_allocation_holidays"> <record model="ir.actions.act_window" id="open_allocation_holidays">
<field name="name">Allocation Requests</field> <field name="name">Allocation Requests</field>
@ -319,8 +308,7 @@
<field name="act_window_id" ref="open_allocation_holidays"/> <field name="act_window_id" ref="open_allocation_holidays"/>
</record> </record>
<menuitem name="Allocation Requests" parent="menu_open_ask_holidays" id="menu_open_allocation_holidays" <menuitem name="Allocation Requests" parent="menu_open_ask_holidays" id="menu_open_allocation_holidays" action="open_allocation_holidays"/>
action="open_allocation_holidays"/>
<record model="ir.actions.act_window" id="open_company_allocation"> <record model="ir.actions.act_window" id="open_company_allocation">
<field name="name">Leaves Summary</field> <field name="name">Leaves Summary</field>
@ -333,12 +321,7 @@
<field name="search_view_id" ref="view_hr_holidays_filter"/> <field name="search_view_id" ref="view_hr_holidays_filter"/>
</record> </record>
<menuitem <menuitem name="Leaves Summary" parent="menu_open_ask_holidays" id="menu_open_company_allocation" action="open_company_allocation" sequence="40"/>
name="Leaves Summary"
parent="menu_open_ask_holidays"
id="menu_open_company_allocation"
action="open_company_allocation"
sequence="40"/>
<!-- holidays status --> <!-- holidays status -->
<record id="view_holidays_status_filter" model="ir.ui.view"> <record id="view_holidays_status_filter" model="ir.ui.view">
@ -360,7 +343,7 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<form string="Leave Type"> <form string="Leave Type">
<group colspan="4" col="6"> <group colspan="4" col="6">
<field name="name" /> <field name="name"/>
<field name="color_name"/> <field name="color_name"/>
<field name="categ_id" widget="selection" groups="base.group_extended"/> <field name="categ_id" widget="selection" groups="base.group_extended"/>
</group> </group>
@ -373,7 +356,7 @@
</group> </group>
<group name="second" colspan="2" col="2"> <group name="second" colspan="2" col="2">
<separator string="Misc" colspan="2"/> <separator string="Misc" colspan="2"/>
<field name="active" /> <field name="active"/>
</group> </group>
</page> </page>
</notebook> </notebook>
@ -391,7 +374,7 @@
<field name="max_leaves"/> <field name="max_leaves"/>
<field name="leaves_taken"/> <field name="leaves_taken"/>
<field name="remaining_leaves"/> <field name="remaining_leaves"/>
<field name="limit" /> <field name="limit"/>
</tree> </tree>
</field> </field>
</record> </record>
@ -403,7 +386,7 @@
<field name="arch" type="xml"> <field name="arch" type="xml">
<tree string="Leave Type"> <tree string="Leave Type">
<field name="name"/> <field name="name"/>
<field name="limit" /> <field name="limit"/>
</tree> </tree>
</field> </field>
</record> </record>
@ -432,10 +415,7 @@
<menuitem sequence="3" id="hr.menu_open_view_attendance_reason_config" parent="hr.menu_hr_configuration" name="Leaves"/> <menuitem sequence="3" id="hr.menu_open_view_attendance_reason_config" parent="hr.menu_hr_configuration" name="Leaves"/>
<menuitem name="Leave Type" <menuitem name="Leave Type" action="open_view_holiday_status" id="menu_open_view_holiday_status" parent="hr.menu_open_view_attendance_reason_config"/>
action="open_view_holiday_status"
id="menu_open_view_holiday_status"
parent="hr.menu_open_view_attendance_reason_config"/>
<!-- holiday on resource leave --> <!-- holiday on resource leave -->
<record id="resource_calendar_leave_form_inherit" model="ir.ui.view"> <record id="resource_calendar_leave_form_inherit" model="ir.ui.view">
@ -451,13 +431,7 @@
</record> </record>
<!-- Shortcuts --> <!-- Shortcuts -->
<act_window name="Leaves" <act_window name="Leaves" domain="[('type','=','remove')]" context="{'search_default_employee_id': [active_id], 'default_employee_id': active_id}" res_model="hr.holidays" src_model="hr.employee" view_id="view_holiday" id="act_hr_employee_holiday_request"/>
domain="[('type','=','remove')]"
context="{'search_default_employee_id': [active_id], 'default_employee_id': active_id}"
res_model="hr.holidays"
src_model="hr.employee"
view_id ="view_holiday"
id="act_hr_employee_holiday_request"/>
<!-- Assing leave --> <!-- Assing leave -->
@ -503,4 +477,4 @@
</record> </record>
</data> </data>
</openerp> </openerp>

View File

@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp> <openerp>
<data> <data>
<record model="ir.actions.act_window" id="hr_recruitment_stage_form_installer"> <record model="ir.actions.act_window" id="hr_recruitment_stage_form_installer">
@ -18,4 +17,4 @@
<field name="type">normal</field> <field name="type">normal</field>
</record> </record>
</data> </data>
</openerp> </openerp>

View File

@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp> <openerp>
<data> <data>

View File

@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp> <openerp>
<data> <data>

View File

@ -1,4 +1,3 @@
<?xml version="1.0"?>
<openerp> <openerp>
<data> <data>
@ -9,4 +8,4 @@
</record> </record>
</data> </data>
</openerp> </openerp>

View File

@ -1,16 +1,15 @@
<?xml version="1.0"?>
<openerp> <openerp>
<data> <data>
<record id="l10n_br_account_chart_template" model="account.chart.template"> <record id="l10n_br_account_chart_template" model="account.chart.template">
<field name="name">Planilha de Contas Brasileira</field> <field name="name">Planilha de Contas Brasileira</field>
<field name="account_root_id" ref="account_template_1" /> <field name="account_root_id" ref="account_template_1"/>
<field name="tax_code_root_id" ref="tax_code_chart_root"/> <field name="tax_code_root_id" ref="tax_code_chart_root"/>
<field name="bank_account_view_id" ref="account_template_9"/> <field name="bank_account_view_id" ref="account_template_9"/>
<field name="property_account_receivable" ref="account_template_16"/> <field name="property_account_receivable" ref="account_template_16"/>
<field name="property_account_payable" ref="account_template_204" /> <field name="property_account_payable" ref="account_template_204"/>
<field name="property_account_expense_categ" ref="account_template_329" /> <field name="property_account_expense_categ" ref="account_template_329"/>
<field name="property_account_income_categ" ref="account_template_552" /> <field name="property_account_income_categ" ref="account_template_552"/>
</record> </record>
<record id="config_call_account_template_brazilian_localization" model="ir.actions.todo"> <record id="config_call_account_template_brazilian_localization" model="ir.actions.todo">
@ -25,4 +24,4 @@
</data> </data>
</openerp> </openerp>

View File

@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp> <openerp>
<data> <data>
@ -12,4 +11,4 @@
</record> </record>
</data> </data>
</openerp> </openerp>

View File

@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp> <openerp>
<data> <data>
@ -12,4 +11,4 @@
</record> </record>
</data> </data>
</openerp> </openerp>

View File

@ -1,4 +1,3 @@
<?xml version="1.0"?>
<openerp> <openerp>
<data> <data>
@ -9,4 +8,4 @@
</record> </record>
</data> </data>
</openerp> </openerp>

View File

@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp> <openerp>
<data> <data>
@ -11,4 +10,4 @@
</record> </record>
</data> </data>
</openerp> </openerp>

View File

@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp> <openerp>
<data> <data>
@ -12,4 +11,4 @@
</record> </record>
</data> </data>
</openerp> </openerp>

View File

@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp> <openerp>
<data> <data>

View File

@ -1,4 +1,3 @@
<?xml version="1.0"?>
<openerp> <openerp>
<data> <data>
@ -9,4 +8,4 @@
</record> </record>
</data> </data>
</openerp> </openerp>

View File

@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp> <openerp>
<data> <data>

View File

@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp> <openerp>
<data noupdate="1"> <data noupdate="1">
@ -78,4 +77,4 @@
</record> </record>
</data> </data>
</openerp> </openerp>

View File

@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp> <openerp>
<data> <data>

View File

@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp> <openerp>
<data> <data>
@ -11,4 +10,4 @@
<field name="state">open</field> <field name="state">open</field>
</record> </record>
</data> </data>
</openerp> </openerp>

View File

@ -1,4 +1,3 @@
<?xml version="1.0"?>
<openerp> <openerp>
<data> <data>
@ -9,4 +8,4 @@
</record> </record>
</data> </data>
</openerp> </openerp>

View File

@ -1,4 +1,3 @@
<?xml version="1.0"?>
<openerp> <openerp>
<data> <data>
@ -9,4 +8,4 @@
</record> </record>
</data> </data>
</openerp> </openerp>

View File

@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp> <openerp>
<data> <data>
@ -12,4 +11,4 @@
</record> </record>
</data> </data>
</openerp> </openerp>

View File

@ -1,4 +1,3 @@
<?xml version="1.0"?>
<openerp> <openerp>
<data> <data>
@ -8,7 +7,7 @@
* U krijgt een lijst met grootboektemplates aangeboden waarin zich ook het Nederlandse grootboekschema bevind. * U krijgt een lijst met grootboektemplates aangeboden waarin zich ook het Nederlandse grootboekschema bevind.
* Als de configuratie wizard start, wordt u gevraagd om de naam van uw bedrijf in te voeren, welke grootboekschema te installeren, uit hoeveel cijfers een grootboekrekening mag bestaan, het rekeningnummer van uw bank en de currency om Journalen te creeren. * Als de configuratie wizard start, wordt u gevraagd om de naam van uw bedrijf in te voeren, welke grootboekschema te installeren, uit hoeveel cijfers een grootboekrekening mag bestaan, het rekeningnummer van uw bank en de currency om Journalen te creeren.
Let op!! -> De template van het Nederlandse rekeningschema is opgebouwd uit 4 cijfers. Dit is het minimale aantal welk u moet invullen, u mag het aantal verhogen. De extra cijfers worden dan achter het rekeningnummer aangevult met "nullen" Let op!! -&gt; De template van het Nederlandse rekeningschema is opgebouwd uit 4 cijfers. Dit is het minimale aantal welk u moet invullen, u mag het aantal verhogen. De extra cijfers worden dan achter het rekeningnummer aangevult met "nullen"
* Dit is dezelfe configuratie wizard welke aangeroepen kan worden via Financial Management/Configuration/Financial Accounting/Financial Accounts/Generate Chart of Accounts from a Chart Template. * Dit is dezelfe configuratie wizard welke aangeroepen kan worden via Financial Management/Configuration/Financial Accounting/Financial Accounts/Generate Chart of Accounts from a Chart Template.
</field> </field>
@ -17,4 +16,4 @@ Let op!! -> De template van het Nederlandse rekeningschema is opgebouwd uit 4 ci
</record> </record>
</data> </data>
</openerp> </openerp>

View File

@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp> <openerp>
<data> <data>

View File

@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp> <openerp>
<data> <data>
@ -12,4 +11,4 @@
</record> </record>
</data> </data>
</openerp> </openerp>

View File

@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp> <openerp>
<data> <data>
<record id="config_call_account_template_syscohada" model="ir.actions.todo"> <record id="config_call_account_template_syscohada" model="ir.actions.todo">
@ -9,4 +8,4 @@
<field name="state">open</field> <field name="state">open</field>
</record> </record>
</data> </data>
</openerp> </openerp>

View File

@ -1,4 +1,3 @@
<?xml version="1.0"?>
<openerp> <openerp>
<data> <data>
@ -656,5 +655,4 @@ This is the same wizard that runs from Financial Management/Configuration/Financ
</record> </record>
</data> </data>
</openerp> </openerp><!-- vim: set fdm=marker : -->
<!-- vim: set fdm=marker : -->

View File

@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp> <openerp>
<data> <data>
@ -13,4 +12,4 @@
</record> </record>
</data> </data>
</openerp> </openerp>

View File

@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp> <openerp>
<data> <data>
@ -15,4 +14,4 @@ Esto es el mismo wizard que corre de la Financial Management/Configuration/Finan
</record> </record>
</data> </data>
</openerp> </openerp>

View File

@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp> <openerp>
<data> <data>
<record model="ir.actions.act_window" id="view_lunch_product_form_installer"> <record model="ir.actions.act_window" id="view_lunch_product_form_installer">
@ -17,4 +16,4 @@
<field name="type">normal</field> <field name="type">normal</field>
</record> </record>
</data> </data>
</openerp> </openerp>

View File

@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp> <openerp>
<data> <data>
<record id="view_outlook_installer" model="ir.ui.view"> <record id="view_outlook_installer" model="ir.ui.view">
@ -19,20 +18,18 @@
</xpath> </xpath>
<xpath expr="//button[@string='Install Modules']" position="replace"> <xpath expr="//button[@string='Install Modules']" position="replace">
<button colspan="1" icon="gtk-close" special="cancel" string="_Close" invisible="not context.get('menu',False)"/> <button colspan="1" icon="gtk-close" special="cancel" string="_Close" invisible="not context.get('menu',False)"/>
<button name="action_next" icon="gtk-go-forward" <button name="action_next" icon="gtk-go-forward" type="object" string="Configure" colspan="1" invisible="context.get('menu',False)"/>
type="object" string="Configure" colspan="1" invisible="context.get('menu',False)"/>
</xpath> </xpath>
<xpath expr="//button[@string='Skip']" position="replace"> <xpath expr="//button[@string='Skip']" position="replace">
<button name="action_skip" icon="gtk-jump-to" special="cancel" <button name="action_skip" icon="gtk-jump-to" special="cancel" type="object" string="Skip" colspan="1" invisible="context.get('menu',False)"/>
type="object" string="Skip" colspan="1" invisible="context.get('menu',False)"/>
</xpath> </xpath>
<xpath expr='//separator[@string="vsep"]' position='attributes'> <xpath expr="//separator[@string=&quot;vsep&quot;]" position="attributes">
<attribute name='string'></attribute> <attribute name="string"/>
<attribute name='rowspan'>15</attribute> <attribute name="rowspan">15</attribute>
</xpath> </xpath>
<group colspan="8" position="replace"> <group colspan="8" position="replace">
<group colspan="8" height="450" width="750"> <group colspan="8" height="450" width="750">
<field name="outlook" invisible="1" /> <field name="outlook" invisible="1"/>
<field name="name" invisible="1"/> <field name="name" invisible="1"/>
<field name="doc_name" invisible="1"/> <field name="doc_name" invisible="1"/>
<newline/> <newline/>
@ -76,15 +73,8 @@
<field name="context">{'menu':True}</field> <field name="context">{'menu':True}</field>
</record> </record>
<menuitem id="base.menu_base_config_plugins" <menuitem id="base.menu_base_config_plugins" name="Plugins" parent="base.menu_base_config" sequence="10"/>
name="Plugins"
parent="base.menu_base_config"
sequence="10" />
<menuitem id="menu_base_config_plugins_outlook" <menuitem id="menu_base_config_plugins_outlook" action="action_outlook_wizard" name="Load Outlook Plug-In" parent="base.menu_base_config_plugins" sequence="10"/>
action="action_outlook_wizard"
name="Load Outlook Plug-In"
parent="base.menu_base_config_plugins"
sequence="10" />
</data> </data>
</openerp> </openerp>

View File

@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp> <openerp>
<data> <data>
@ -22,4 +21,4 @@
</record> </record>
</data> </data>
</openerp> </openerp>

View File

@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp> <openerp>
<data> <data>
<!-- configartion view --> <!-- configartion view -->
@ -19,9 +18,9 @@
<xpath expr="//label[@string='description']" position="attributes"> <xpath expr="//label[@string='description']" position="attributes">
<attribute name="string">Define minimum amount after which puchase is needed to be validated.</attribute> <attribute name="string">Define minimum amount after which puchase is needed to be validated.</attribute>
</xpath> </xpath>
<xpath expr='//separator[@string="vsep"]' position='attributes'> <xpath expr="//separator[@string=&quot;vsep&quot;]" position="attributes">
<attribute name='rowspan'>15</attribute> <attribute name="rowspan">15</attribute>
<attribute name='string'></attribute> <attribute name="string"/>
</xpath> </xpath>
<group string="res_config_contents" position="replace"> <group string="res_config_contents" position="replace">
<field name="limit_amount"/> <field name="limit_amount"/>
@ -54,4 +53,4 @@
</record> </record>
</data> </data>
</openerp> </openerp>

View File

@ -1,8 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp> <openerp>
<data> <data>
<menuitem icon="terp-partner" id="base.menu_base_partner" name="Sales" sequence="0" <menuitem icon="terp-partner" id="base.menu_base_partner" name="Sales" sequence="0" groups="base.group_sale_salesman,base.group_sale_manager"/>
groups="base.group_sale_salesman,base.group_sale_manager"/>
<menuitem id="base.menu_sales" name="Sales" parent="base.menu_base_partner" sequence="1"/> <menuitem id="base.menu_sales" name="Sales" parent="base.menu_base_partner" sequence="1"/>
@ -16,7 +14,7 @@
<form string="Sales Shop"> <form string="Sales Shop">
<field name="name" select="1"/> <field name="name" select="1"/>
<field name="warehouse_id" required="1" select="1" widget="selection"/> <field name="warehouse_id" required="1" select="1" widget="selection"/>
<field name="company_id" widget='selection' groups="base.group_multi_company"/> <field name="company_id" widget="selection" groups="base.group_multi_company"/>
<separator colspan="4" string="Accounting"/> <separator colspan="4" string="Accounting"/>
<field name="payment_default_id"/> <field name="payment_default_id"/>
<field domain="[('type','=','sale')]" name="pricelist_id" select="1"/> <field domain="[('type','=','sale')]" name="pricelist_id" select="1"/>
@ -48,8 +46,7 @@
<field name="help">If you have more than one shop reselling your company products, you can create and manage that from here. Whenever you will record a new quotation or sales order, it has to be linked to a shop. The shop also defines the warehouse from which the products will be delivered for each particular sales.</field> <field name="help">If you have more than one shop reselling your company products, you can create and manage that from here. Whenever you will record a new quotation or sales order, it has to be linked to a shop. The shop also defines the warehouse from which the products will be delivered for each particular sales.</field>
</record> </record>
<menuitem action="action_shop_form" id="menu_action_shop_form" <menuitem action="action_shop_form" id="menu_action_shop_form" parent="base.menu_sale_config_sales" sequence="0"/>
parent="base.menu_sale_config_sales" sequence="0" />
<record id="view_sale_order_calendar" model="ir.ui.view"> <record id="view_sale_order_calendar" model="ir.ui.view">
<field name="name">sale.order.calendar</field> <field name="name">sale.order.calendar</field>
@ -85,7 +82,7 @@
<field name="date_order"/> <field name="date_order"/>
<field name="client_order_ref" groups="base.group_extended"/> <field name="client_order_ref" groups="base.group_extended"/>
<field name="partner_id"/> <field name="partner_id"/>
<field name="user_id" /> <field name="user_id"/>
<field name="picked_rate" widget="progressbar"/> <field name="picked_rate" widget="progressbar"/>
<field name="invoiced_rate" widget="progressbar"/> <field name="invoiced_rate" widget="progressbar"/>
<field name="amount_untaxed" sum="Total Tax Excluded"/> <field name="amount_untaxed" sum="Total Tax Excluded"/>
@ -116,34 +113,18 @@
<field domain="[('partner_id','=',partner_id)]" name="partner_invoice_id" groups="base.group_extended"/> <field domain="[('partner_id','=',partner_id)]" name="partner_invoice_id" groups="base.group_extended"/>
<field domain="[('partner_id','=',partner_id)]" name="partner_shipping_id" groups="base.group_extended"/> <field domain="[('partner_id','=',partner_id)]" name="partner_shipping_id" groups="base.group_extended"/>
<field domain="[('type','=','sale')]" name="pricelist_id" groups="base.group_extended"/> <field domain="[('type','=','sale')]" name="pricelist_id" groups="base.group_extended"/>
<field name="project_id" <field name="project_id" context="{'partner_id':partner_id, 'contact_id':partner_order_id, 'pricelist_id':pricelist_id, 'default_name':name}" groups="analytic.group_analytic_accounting" domain="[('parent_id','!=',False)]"/>
context="{'partner_id':partner_id, 'contact_id':partner_order_id, 'pricelist_id':pricelist_id, 'default_name':name}"
groups="analytic.group_analytic_accounting" domain="[('parent_id','!=',False)]" />
<newline/> <newline/>
<field colspan="4" mode="tree,form,graph" name="order_line" nolabel="1" widget="one2many_list"> <field colspan="4" mode="tree,form,graph" name="order_line" nolabel="1" widget="one2many_list">
<form string="Sales Order Lines"> <form string="Sales Order Lines">
<notebook> <notebook>
<page string="Order Line"> <page string="Order Line">
<field colspan="4" <field colspan="4" context="{'partner_id':parent.partner_id, 'quantity':product_uom_qty, 'pricelist':parent.pricelist_id, 'shop':parent.shop_id, 'uom':product_uom}" name="product_id" 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)"/>
context="{'partner_id':parent.partner_id, 'quantity':product_uom_qty, 'pricelist':parent.pricelist_id, 'shop':parent.shop_id, 'uom':product_uom}" <field context="{'partner_id':parent.partner_id, 'quantity':product_uom_qty, 'pricelist':parent.pricelist_id, 'shop':parent.shop_id, 'uom':product_uom}" name="product_uom_qty" 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, False, parent.date_order, product_packaging, parent.fiscal_position, True, context)"/>
name="product_id" <field name="product_uom" on_change="product_uom_change(parent.pricelist_id,product_id,product_uom_qty,product_uom,product_uos_qty,product_uos,name,parent.partner_id, False, False, parent.date_order, context)"/>
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)"
/>
<field
context="{'partner_id':parent.partner_id, 'quantity':product_uom_qty, 'pricelist':parent.pricelist_id, 'shop':parent.shop_id, 'uom':product_uom}"
name="product_uom_qty"
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, False, parent.date_order, product_packaging, parent.fiscal_position, True, context)"
/>
<field name="product_uom"
on_change="product_uom_change(parent.pricelist_id,product_id,product_uom_qty,product_uom,product_uos_qty,product_uos,name,parent.partner_id, False, False, parent.date_order, context)"/>
<field groups="product.group_uos" name="product_uos_qty"/> <field groups="product.group_uos" name="product_uos_qty"/>
<field groups="product.group_uos" name="product_uos"/> <field groups="product.group_uos" name="product_uos"/>
<field <field name="product_packaging" context="{'partner_id':parent.partner_id, 'quantity':product_uom_qty, 'pricelist':parent.pricelist_id, 'shop':parent.shop_id, 'uom':product_uom}" 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, False, parent.date_order, product_packaging, parent.fiscal_position, False, context)" domain="[('product_id','=',product_id)]" groups="base.group_extended"/>
name="product_packaging"
context="{'partner_id':parent.partner_id, 'quantity':product_uom_qty, 'pricelist':parent.pricelist_id, 'shop':parent.shop_id, 'uom':product_uom}"
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, False, parent.date_order, product_packaging, parent.fiscal_position, False, context)"
domain="[('product_id','=',product_id)]"
groups="base.group_extended"/>
<field colspan="4" name="name"/> <field colspan="4" name="name"/>
<field name="price_unit"/> <field name="price_unit"/>
@ -158,12 +139,7 @@
<field name="state"/> <field name="state"/>
<field name="invoiced"/> <field name="invoiced"/>
<group attrs="{'invisible':[('invoiced','=',True)]}"> <group attrs="{'invisible':[('invoiced','=',True)]}">
<button colspan="1" <button colspan="1" name="%(action_view_sale_order_line_make_invoice)d" states="confirmed" string="Make Invoices" type="action" icon="terp-document-new"/>
name="%(action_view_sale_order_line_make_invoice)d"
states="confirmed"
string="Make Invoices"
type="action"
icon="terp-document-new" />
</group> </group>
</group> </group>
</page> </page>
@ -198,8 +174,7 @@
<field name="amount_tax"/> <field name="amount_tax"/>
<field name="amount_total"/> <field name="amount_total"/>
<button name="button_dummy" states="draft" string="Compute" type="object" icon="gtk-execute"/> <button name="button_dummy" states="draft" string="Compute" type="object" icon="gtk-execute"/>
<button name="%(action_view_sale_advance_payment_inv)d" string="Advance Invoice" <button name="%(action_view_sale_advance_payment_inv)d" string="Advance Invoice" type="action" icon="gtk-execute" states="draft,manual" groups="base.group_extended"/>
type="action" icon="gtk-execute" states="draft,manual" groups="base.group_extended"/>
</group> </group>
<group col="13" colspan="4"> <group col="13" colspan="4">
<field name="state"/> <field name="state"/>
@ -266,7 +241,7 @@
<filter icon="terp-dolar_ok!" string="To Invoice" domain="[('state','=','manual')]" help="Sales Order ready to be invoiced"/> <filter icon="terp-dolar_ok!" string="To Invoice" domain="[('state','=','manual')]" help="Sales Order ready to be invoiced"/>
<separator orientation="vertical"/> <separator orientation="vertical"/>
<field name="name" select="1"/> <field name="name" select="1"/>
<field name="date_order" select="1" string="Order date" /> <field name="date_order" select="1" string="Order date"/>
<field name="partner_id" select="1"/> <field name="partner_id" select="1"/>
<field name="user_id" select="1"> <field name="user_id" select="1">
<filter domain="[('user_id','=',uid)]" help="My Sale Orders" icon="terp-personal"/> <filter domain="[('user_id','=',uid)]" help="My Sale Orders" icon="terp-personal"/>
@ -398,21 +373,9 @@
<separator colspan="4"/> <separator colspan="4"/>
<field name="state"/> <field name="state"/>
<group col="3" colspan="2"> <group col="3" colspan="2">
<button name="button_cancel" <button name="button_cancel" string="Cancel" type="object" icon="gtk-cancel" states="confirmed,exception"/>
string="Cancel" type="object" <button colspan="1" name="%(action_view_sale_order_line_make_invoice)d" string="Create Invoice" type="action" states="done" icon="gtk-go-forward" attrs="{'invisible': [('invoiced', '=', 1)]}"/>
icon="gtk-cancel" <button name="button_done" string="Done" type="object" states="confirmed,exception" icon="gtk-go-forward"/>
states="confirmed,exception"/>
<button colspan="1"
name="%(action_view_sale_order_line_make_invoice)d"
string="Create Invoice"
type="action"
states="done"
icon="gtk-go-forward"
attrs="{'invisible': [('invoiced', '=', 1)]}"/>
<button name="button_done"
string="Done" type="object"
states="confirmed,exception"
icon="gtk-go-forward" />
</group> </group>
</form> </form>
</field> </field>
@ -449,26 +412,11 @@
<field name="type">search</field> <field name="type">search</field>
<field name="arch" type="xml"> <field name="arch" type="xml">
<search string="Search Uninvoiced Lines"> <search string="Search Uninvoiced Lines">
<filter icon="terp-gtk-go-back-rtl" string="To Do" <filter icon="terp-gtk-go-back-rtl" string="To Do" domain="[('state','=','confirmed')]" name="sale order" help="Confirmed sale order lines, not yet delivered"/>
domain="[('state','=','confirmed')]" <filter icon="terp-dialog-close" string="Done" domain="[('state','=','done')]" name="sale_order_done" help="Sale order lines done"/>
name="sale order"
help="Confirmed sale order lines, not yet delivered"
/>
<filter icon="terp-dialog-close" string="Done"
domain="[('state','=','done')]"
name="sale_order_done"
help="Sale order lines done"
/>
<separator orientation="vertical"/> <separator orientation="vertical"/>
<filter icon="terp-accessories-archiver" string="Shipped" <filter icon="terp-accessories-archiver" string="Shipped" domain="[('state','=','done')]" name="unshipped" help="Sale Order Lines that are in 'done' state"/>
domain="[('state','=','done')]" <filter icon="terp-dolar_ok!" string="Uninvoiced" name="uninvoiced" domain="[('invoiced','&lt;&gt;', 1),('state','&lt;&gt;','draft'),('state','&lt;&gt;','cancel')]" help="Sale Order Lines that are confirmed, done or in exception state and haven't yet been invoiced"/>
name="unshipped"
help="Sale Order Lines that are in 'done' state"
/>
<filter icon="terp-dolar_ok!" string="Uninvoiced" name="uninvoiced"
domain="[('invoiced','&lt;&gt;', 1),('state','&lt;&gt;','draft'),('state','&lt;&gt;','cancel')]"
help="Sale Order Lines that are confirmed, done or in exception state and haven't yet been invoiced"
/>
<separator orientation="vertical"/> <separator orientation="vertical"/>
<field name="order_id"/> <field name="order_id"/>
<field name="order_partner_id"/> <field name="order_partner_id"/>
@ -476,7 +424,7 @@
<field name="salesman_id"> <field name="salesman_id">
<filter icon="terp-personal" domain="[('salesman_id','=',uid)]" help="My Sales Order Lines"/> <filter icon="terp-personal" domain="[('salesman_id','=',uid)]" help="My Sales Order Lines"/>
</field> </field>
<newline /> <newline/>
<group expand="0" string="Group By..." colspan="9" col="8"> <group expand="0" string="Group By..." colspan="9" col="8">
<filter string="Order" icon="terp-gtk-jump-to-rtl" domain="[]" context="{'group_by':'order_id'}" help="Order reference"/> <filter string="Order" icon="terp-gtk-jump-to-rtl" domain="[]" context="{'group_by':'order_id'}" help="Order reference"/>
<filter string="Product" icon="terp-accessories-archiver" domain="[]" context="{'group_by':'product_id'}"/> <filter string="Product" icon="terp-accessories-archiver" domain="[]" context="{'group_by':'product_id'}"/>
@ -493,7 +441,7 @@
<field name="res_model">sale.order.line</field> <field name="res_model">sale.order.line</field>
<field name="view_type">form</field> <field name="view_type">form</field>
<field name="view_mode">tree,form,graph</field> <field name="view_mode">tree,form,graph</field>
<field name="search_view_id" ref="view_sales_order_uninvoiced_line_filter" /> <field name="search_view_id" ref="view_sales_order_uninvoiced_line_filter"/>
<field name="context">{"search_default_uninvoiced":1}</field> <field name="context">{"search_default_uninvoiced":1}</field>
<field name="filter" eval="True"/> <field name="filter" eval="True"/>
<field name="help">Here is a list of each sales order line to be invoiced. You can invoice sales orders partially, by lines of sales order. You do not need this list if you invoice from the delivery orders or if you invoice sales totally.</field> <field name="help">Here is a list of each sales order line to be invoiced. You can invoice sales orders partially, by lines of sales order. You do not need this list if you invoice from the delivery orders or if you invoice sales totally.</field>
@ -509,24 +457,11 @@
<field name="filter" eval="True"/> <field name="filter" eval="True"/>
</record> </record>
<act_window <act_window context="{'search_default_partner_id': [active_id], 'default_partner_id': active_id}" id="act_res_partner_2_sale_order" name="Quotations and Sales" groups="base.group_sale_salesman" res_model="sale.order" src_model="res.partner"/>
context="{'search_default_partner_id': [active_id], 'default_partner_id': active_id}"
id="act_res_partner_2_sale_order"
name="Quotations and Sales"
groups="base.group_sale_salesman"
res_model="sale.order"
src_model="res.partner"/>
<act_window <act_window context="{'search_default_product_id': [active_id], 'default_product_id': active_id}" id="action_order_line_product_tree" name="Sales Order Lines" res_model="sale.order.line" src_model="product.product" groups="base.group_sale_salesman"/>
context="{'search_default_product_id': [active_id], 'default_product_id': active_id}"
id="action_order_line_product_tree"
name="Sales Order Lines"
res_model="sale.order.line"
src_model="product.product"
groups="base.group_sale_salesman"/>
<menuitem id="menu_invoiced" name="Invoicing" parent="base.menu_base_partner" sequence="5" <menuitem id="menu_invoiced" name="Invoicing" parent="base.menu_base_partner" sequence="5" groups="-base.group_extended"/>
groups="-base.group_extended"/>
<menuitem action="action_order_line_tree2" id="menu_invoicing_sales_order_lines" parent="menu_invoiced" sequence="2" groups="base.group_sale_salesman,base.group_sale_manager"/> <menuitem action="action_order_line_tree2" id="menu_invoicing_sales_order_lines" parent="menu_invoiced" sequence="2" groups="base.group_sale_salesman,base.group_sale_manager"/>
<!-- configartion view --> <!-- configartion view -->
@ -546,16 +481,16 @@
<xpath expr="//label[@string='description']" position="attributes"> <xpath expr="//label[@string='description']" position="attributes">
<attribute name="string">Define your invoice method. A services company usually invoices based on sale orders while a retailer usually invoices based on deliveries.</attribute> <attribute name="string">Define your invoice method. A services company usually invoices based on sale orders while a retailer usually invoices based on deliveries.</attribute>
</xpath> </xpath>
<xpath expr='//separator[@string="vsep"]' position='attributes'> <xpath expr="//separator[@string=&quot;vsep&quot;]" position="attributes">
<attribute name='rowspan'>15</attribute> <attribute name="rowspan">15</attribute>
<attribute name='string'></attribute> <attribute name="string"/>
</xpath> </xpath>
<group string="res_config_contents" position="replace"> <group string="res_config_contents" position="replace">
<field name="order_policy"/> <field name="order_policy"/>
<newline/> <newline/>
<field name="step" groups="base.group_extended"/> <field name="step" groups="base.group_extended"/>
</group> </group>
<xpath expr='//button[@name="action_skip"]' position='replace'/> <xpath expr="//button[@name=&quot;action_skip&quot;]" position="replace"/>
</data> </data>
</field> </field>
</record> </record>
@ -579,4 +514,4 @@
</record> </record>
</data> </data>
</openerp> </openerp>

View File

@ -19,20 +19,18 @@
</xpath> </xpath>
<xpath expr="//button[@string='Install Modules']" position="replace"> <xpath expr="//button[@string='Install Modules']" position="replace">
<button colspan="1" icon="gtk-close" special="cancel" string="_Close" invisible="not context.get('menu',False)"/> <button colspan="1" icon="gtk-close" special="cancel" string="_Close" invisible="not context.get('menu',False)"/>
<button name="action_next" icon="gtk-go-forward" <button name="action_next" icon="gtk-go-forward" type="object" string="Configure" colspan="1" invisible="context.get('menu',False)"/>
type="object" string="Configure" colspan="1" invisible="context.get('menu',False)"/>
</xpath> </xpath>
<xpath expr="//button[@string='Skip']" position="replace"> <xpath expr="//button[@string='Skip']" position="replace">
<button name="action_skip" icon="gtk-jump-to" special="cancel" <button name="action_skip" icon="gtk-jump-to" special="cancel" type="object" string="Skip" colspan="1" invisible="context.get('menu',False)"/>
type="object" string="Skip" colspan="1" invisible="context.get('menu',False)"/>
</xpath> </xpath>
<xpath expr='//separator[@string="vsep"]' position='attributes'> <xpath expr="//separator[@string=&quot;vsep&quot;]" position="attributes">
<attribute name='string'></attribute> <attribute name="string"/>
<attribute name='rowspan'>15</attribute> <attribute name="rowspan">15</attribute>
</xpath> </xpath>
<group colspan="8" position="replace"> <group colspan="8" position="replace">
<group colspan="8" height="450" width="750"> <group colspan="8" height="450" width="750">
<field name="thunderbird" invisible="1" /> <field name="thunderbird" invisible="1"/>
<field name="name" invisible="1"/> <field name="name" invisible="1"/>
<field name="pdf_name" invisible="1"/> <field name="pdf_name" invisible="1"/>
<newline/> <newline/>
@ -78,8 +76,8 @@
<field name="context">{'menu':True}</field> <field name="context">{'menu':True}</field>
</record> </record>
<menuitem id="base.menu_base_config_plugins" name="Plugins" parent="base.menu_base_config" sequence="10" /> <menuitem id="base.menu_base_config_plugins" name="Plugins" parent="base.menu_base_config" sequence="10"/>
<menuitem id="menu_base_config_plugins_thunderbird" action="action_thunderbird_wizard" name="Load Thunderbird Plug-In" parent="base.menu_base_config_plugins" sequence="10" /> <menuitem id="menu_base_config_plugins_thunderbird" action="action_thunderbird_wizard" name="Load Thunderbird Plug-In" parent="base.menu_base_config_plugins" sequence="10"/>
</data> </data>
</openerp> </openerp>

View File

@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp> <openerp>
<data> <data>
@ -50,4 +49,4 @@
<field name="target">current</field> <field name="target">current</field>
</record> </record>
</data> </data>
</openerp> </openerp>