~extra-addons-commiter/openobject-extension/oerp6.1-stable

« back to all changes in this revision

Viewing changes to abstract_automatic_task/abstrack_task_view.xml

[MERGE] add abstract-automatic-task module

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="utf-8"?>
 
2
<!--
 
3
  file_repository for OpenERP
 
4
  Copyright (C) 2013 Akretion
 
5
  Author: Benoît Guillot <benoit.guillot@akretion.com>
 
6
  The licence is in the file __openerp__.py
 
7
-->
 
8
 
 
9
<openerp>
 
10
    <data>
 
11
        <!-- repeat the cron view to add a button to save and close the view -->
 
12
        <record model="ir.ui.view" id="automatic_cron_form_view">
 
13
            <field name="name">automatic_cron_form_view</field>
 
14
            <field name="model">ir.cron</field>
 
15
            <!-- priotity to be selected only with the button create cron  -->
 
16
            <field name="priority">51</field>
 
17
            <field name="type">form</field>
 
18
            <field name="arch" type="xml">
 
19
                <form string="Scheduled Actions">
 
20
                    <field name="name"/>
 
21
                    <field name="active"/>
 
22
                    <field name="user_id" />
 
23
                    <field name="priority" />
 
24
                    <notebook colspan="4">
 
25
                    <page string="Information">
 
26
                        <field name="interval_number"/>
 
27
                        <field name="interval_type"/>
 
28
                        <newline/>
 
29
                        <field name="nextcall"/>
 
30
                        <field name="numbercall"/>
 
31
                        <field name="doall"/>
 
32
                    </page>
 
33
                    <page string="Technical Data" groups="base.group_extended">
 
34
                        <separator string="Action to Trigger" colspan="4"/>
 
35
                        <field name="model" groups="base.group_extended"/>
 
36
                        <field name="function"/>
 
37
                        <separator string="Arguments" colspan="4"/>
 
38
                        <field colspan="4" name="args" nolabel="1"/>
 
39
                    </page>
 
40
                    </notebook>
 
41
                    <group name="button" colspan="4">
 
42
                        <button name="save_and_close_cron"
 
43
                                string="Save and Close"
 
44
                                type="object"/>
 
45
                        <button special="cancel" string="Cancel"/>
 
46
                    </group>
 
47
 
 
48
                </form>
 
49
            </field>
 
50
        </record>
 
51
 
 
52
    </data>
 
53
</openerp>