[IMP] project_task,project_issue: apply group_no_one on fields (date_start, date_end ,create_date....) in project_view.xml and project_issue_view.xml

bzr revid: jap@tinyerp.com-20120314062228-umf1jx4x6du6pv9f
This commit is contained in:
Jagdish Panchal (Open ERP)
2012-03-14 11:52:28 +05:30
parent eb7765acb0
commit 9f29c3f8ee
2 changed files with 19 additions and 19 deletions
+7 -7
View File
@@ -293,9 +293,9 @@
</group>
<group colspan="2" col="2">
<separator string="Dates" colspan="2"/>
<field name="date_start"/>
<field name="date_end"/>
<field name="create_date"/>
<field name="date_start" groups="base.group_no_one"/>
<field name="date_end" groups="base.group_no_one"/>
<field name="create_date" groups="base.group_no_one"/>
</group>
<separator string="Miscelleanous" colspan="4"/>
<field name="partner_id" />
@@ -430,8 +430,8 @@
icon="gtk-go-forward"
groups="base.group_extended"
help="Change Type"/>
<field name="date_start" invisible="1"/>
<field name="date_end" invisible="1"/>
<field name="date_start" invisible="1" groups="base.group_no_one"/>
<field name="date_end" invisible="1" groups="base.group_no_one"/>
<field name="progress" widget="progressbar" invisible="context.get('set_visible',False)"/>
<field name="state" invisible="context.get('set_visible',False)"/>
<button name="do_open" states="pending,draft,done,cancelled" string="Start Task" type="object" icon="gtk-media-play" help="For changing to open state" invisible="context.get('set_visible',False)"/>
@@ -511,8 +511,8 @@
<separator orientation="vertical"/>
<filter string="Deadline" icon="terp-gnome-cpu-frequency-applet+" domain="[]" context="{'group_by':'date_deadline'}"/>
<separator orientation="vertical"/>
<filter string="Start Date" icon="terp-go-month" domain="[]" context="{'group_by':'date_start'}"/>
<filter string="End Date" icon="terp-go-month" domain="[]" context="{'group_by':'date_end'}"/>
<filter string="Start Date" icon="terp-go-month" domain="[]" context="{'group_by':'date_start'}" groups="base.group_no_one"/>
<filter string="End Date" icon="terp-go-month" domain="[]" context="{'group_by':'date_end'}" groups="base.group_no_one"/>
</group>
</search>
</field>
+12 -12
View File
@@ -119,20 +119,20 @@
<page string="Extra Info" groups="base.group_extended">
<group col="2" colspan="2">
<separator colspan="2" string="Date"/>
<field name="create_date"/>
<field name="write_date" />
<field name="date_closed"/>
<field name="date_open"/>
<field name="date_action_last"/>
<field name="create_date" groups="base.group_no_one"/>
<field name="write_date" groups="base.group_no_one"/>
<field name="date_closed" groups="base.group_no_one"/>
<field name="date_open" groups="base.group_no_one"/>
<field name="date_action_last" groups="base.group_no_one"/>
</group>
<group colspan="2" col="2">
<separator string="Statistics" colspan="2" col="2"/>
<field name="day_open"/>
<field name="day_close"/>
<field name="working_hours_open" widget="float_time"/>
<field name="working_hours_close" widget="float_time"/>
<field name="inactivity_days"/>
<field name="days_since_creation"/>
<field name="day_open" groups="base.group_no_one"/>
<field name="day_close" groups="base.group_no_one"/>
<field name="working_hours_open" widget="float_time" groups="base.group_no_one"/>
<field name="working_hours_close" widget="float_time" groups="base.group_no_one"/>
<field name="inactivity_days" groups="base.group_no_one"/>
<field name="days_since_creation" groups="base.group_no_one"/>
</group>
<group colspan="2" col="2">
<separator string="References" colspan="2"/>
@@ -152,7 +152,7 @@
<field name="arch" type="xml">
<tree string="Issue Tracker Tree" colors="black:state=='open';blue:state=='pending';grey:state in ('cancel', 'done')">
<field name="id"/>
<field name="create_date"/>
<field name="create_date" groups="base.group_no_one"/>
<field name="name"/>
<field name="partner_id" groups="base.group_extended"/>
<field name="project_id" />