~vauxoo/addons-vauxoo/7.0-user_story_fix1-kty

« back to all changes in this revision

Viewing changes to expired_task_information/view/task_expiry_config_view.xml

  • Committer: Gabriela
  • Date: 2013-09-12 21:50:48 UTC
  • mto: This revision was merged to the branch mainline in revision 816.
  • Revision ID: gabriela@openerp.com.ve-20130912215048-f0oajd8rcehkuzje

[ADD] Added module to management
task expired called expired_task_information.
For details of changes of module:
lp:~vauxoo/addons-vauxoo/7.0-jose_send_mail_status_task.
[IMP] Added template to task expired.
For more details: >lp:~vauxoo/addons-vauxoo/7.0-expired_task_template_gaby

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version='1.0' encoding='utf-8'?>
 
2
<openerp>
 
3
  <data>
 
4
    <record model="ir.ui.view" id="task_expired_config_form">
 
5
      <field name="name">Config Task Information</field>
 
6
      <field name="model">task.expired.config</field>
 
7
      <field name="arch" type="xml">
 
8
        <form string="Config Task" version="7.0">
 
9
          <group string="Config Task" colspan="9" height="600" width="600" col="2">
 
10
            <group colspan="6" col="1">
 
11
              <group col="1">
 
12
                <field name="without_change"/>
 
13
                <group colspan='2' >
 
14
                            <i><label string='Number of days that a task should have without activities to inform'/></i>
 
15
                        </group>             
 
16
                <field name="before_expiry" />
 
17
                <group colspan='2' >
 
18
                        <i><label string='Number of days prior to the expiry date for inform'/></i>
 
19
                        </group>             
 
20
              </group>
 
21
              <group colspan="1" col="2">
 
22
                  <button name="create_config"
 
23
                          string="Create"
 
24
                          type="object"
 
25
                          icon="terp-stock_effects-object-colorize"/>
 
26
                  <button string="Exit"
 
27
                          special="cancel"
 
28
                          icon="terp-stock_effects-object-colorize"/>
 
29
              </group>
 
30
            </group>
 
31
          </group>
 
32
        </form>
 
33
      </field>
 
34
    </record>
 
35
    <record id="task_expired_config_action" model="ir.actions.act_window">
 
36
      <field name="name">Config Task</field>
 
37
      <field name="res_model">task.expired.config</field>
 
38
      <field name="view_type">form</field>
 
39
      <field name="view_mode">form</field>
 
40
      <field name="target">new</field>
 
41
    </record>
 
42
    <menuitem name="Config Expired Task Info"
 
43
              id="task_expired_config_main_menu"
 
44
              parent="base.menu_definitions"
 
45
              action="task_expired_config_action"
 
46
              groups="expired_task_information.group_config_task_expiry" />
 
47
  </data>
 
48
</openerp>