~vauxoo/addons-vauxoo/6.0-trunk

« back to all changes in this revision

Viewing changes to user_story/view/project_view.xml

  • Committer: Jose Antonio
  • Author(s): Vauxoo
  • Date: 2012-03-27 19:17:09 UTC
  • mto: This revision was merged to the branch mainline in revision 186.
  • Revision ID: jose@vauxoo.com-20120327191709-j5out2jdy19a5yxv

[ADD] Added module to add date and time in the invoice for compute products costs

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
 
 
5
 
    <record model="ir.ui.view" id="inherit_tasks_userstory_form_view">
6
 
      <field name="name">inherit.userstory.sprint.kanban</field>
7
 
      <field name="model">project.task</field>
8
 
      <field name="inherit_id" ref="project.view_task_form2"/>
9
 
      <field name="arch" type="xml">
10
 
        
11
 
      
12
 
        <xpath expr="//field[@name='date_deadline']" position="after">
13
 
          <field name="userstory_id" on_change="onchange_user_story_task(userstory_id)"/>
14
 
        </xpath>
15
 
        
16
 
      </field>
17
 
    </record>
18
 
 
19
 
    <record model="ir.ui.view" id="inherit_tasks_userstory_branch_clone_form_view">
20
 
      <field name="name">inherit.userstory.sprint.kanban</field>
21
 
      <field name="model">project.task</field>
22
 
      <field name="type">form</field>
23
 
      <field name="inherit_id" ref="sprint_kanban.inherit_tasks_sprint_kanban_form_view" />
24
 
      <field name="arch" type="xml">
25
 
        
26
 
      
27
 
        <xpath expr="//field[@name='res_id']" position="after">
28
 
          <field name="branch_to_clone" />
29
 
        </xpath>
30
 
        
31
 
      </field>
32
 
    </record>
33
 
 
34
 
       <record id="view_task_search_form_user_story_m2o" model="ir.ui.view">
35
 
                <field name="name">project.task.search.form.user.story_m2o</field>
36
 
                <field name="model">project.task</field>
37
 
                <field name="inherit_id" ref="project.view_task_search_form"/>
38
 
                <field name="arch" type="xml">
39
 
                        <xpath expr="//filter[@string=&quot;Stage&quot;]" position="after">
40
 
                                <field name="id"/>
41
 
                                <filter string="User Story" name="group_user_story_id" icon="terp-stage" domain="[]" context="{'group_by':'userstory_id'}"/>
42
 
                        </xpath>
43
 
                </field>
44
 
        </record> 
45
 
 
46
 
        <record id="view_project_form_descriptions" model="ir.ui.view">
47
 
                <field name="name">project.description</field>
48
 
                <field name="model">project.project</field>
49
 
                <field name="inherit_id" ref="project.edit_project"/>
50
 
                <field name="arch" type="xml">
51
 
                        <xpath expr="//page[last()]" position="after">
52
 
                            <page string="Description">
53
 
                                <field name="descriptions" widget="html" attrs="{'readonly':[('state','=','done')]}" placeholder="Add Description .." />
54
 
                            </page>
55
 
                        </xpath>
56
 
                </field>
57
 
        </record>
58
 
 
59
 
        <record id="view_task_tree_us_m2o" model="ir.ui.view">
60
 
                <field name="name">project.task.tree.us.m2o</field>
61
 
                <field name="model">project.task</field>
62
 
                <field name="inherit_id" ref="project.view_task_tree2"/>
63
 
                <field name="arch" type="xml">
64
 
                        <xpath expr="//field[@name=&quot;stage_id&quot;]" position="after">
65
 
                                <field name="userstory_id"/>
66
 
                        </xpath>
67
 
                        <xpath expr='//field[@name="planned_hours"]' position='attributes'>
68
 
                        <attribute name="widget">float_time</attribute>
69
 
                        <attribute name="sum">Planned Hours</attribute>
70
 
                        </xpath>
71
 
                </field>
72
 
        </record>
73
 
 
74
 
</data>
75
 
</openerp>