You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

60 lines
2.2 KiB

<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<record id="view_record_archiver_config_settings" model="ir.ui.view">
<field name="name">record archiver settings</field>
<field name="model">record.archiver.config.settings</field>
<field name="arch" type="xml">
<form string="Configure Records Archiver" version="7.0" class="oe_form_configuration">
<header>
<button string="Apply" type="object" name="execute" class="oe_highlight"/>
or
<button string="Cancel" type="object" name="cancel" class="oe_link"/>
</header>
<group groups="base.group_multi_company">
<div>
<div>
<label for="company_id" string="Select Company"/>
<field name="company_id"
widget="selection"
on_change="onchange_company_id(company_id, context)"
class="oe_inline"/>
</div>
</div>
</group>
<separator string="Record lifespan"/>
All following type of record will be harvested by the cron
based on write_date. If a record has made his time, it will be
deactivated.
<group>
<div>
<div>
<field name="lifespan_ids" class="oe_inline">
<tree editable="bottom">
<field name="model"/>
<field name="months"/>
</tree>
</field>
</div>
</div>
</group>
</form>
</field>
</record>
<record id="action_record_archiver_config" model="ir.actions.act_window">
<field name="name">Configure Records Archiver</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">record.archiver.config.settings</field>
<field name="view_mode">form</field>
<field name="target">inline</field>
</record>
<menuitem id="menu_record_archiver__config" name="Records Archiver"
parent="base.menu_config"
sequence="70" action="action_record_archiver_config"/>
</data>
</openerp>