[MERGE]: Merged lp:~openerp-dev/openobject-addons/trunk-customer_portal-atp-hide_fields_issue_claim-nco with some changes

bzr revid: atp@tinyerp.com-20120424071656-erhrmsmsqecgpmxh
This commit is contained in:
Atul Patel (OpenERP) 2012-04-24 12:46:56 +05:30
parent 22a4a4f381
commit 34db5762e2
2 changed files with 10 additions and 10 deletions

View File

@ -76,8 +76,8 @@
<field name="section_id" widget="selection" />
<group colspan="2" col="4">
<field name="stage_id" domain="[('section_ids','=',section_id)]"/>
<button name="stage_previous" string="" type="object" icon="gtk-go-back" />
<button name="stage_next" string="" type="object" icon="gtk-go-forward" />
<button name="stage_previous" string="" type="object" icon="gtk-go-back" groups="base.group_user"/>
<button name="stage_next" string="" type="object" icon="gtk-go-forward" groups="base.group_user"/>
</group>
<newline />
<field name="priority"/>
@ -86,7 +86,7 @@
<group colspan="4" col="4">
<notebook>
<page string="Claim Description">
<group colspan="2" col="2">
<group colspan="2" col="2" groups="base.group_user">
<separator colspan="2" string="Claim Reporter"/>
<field name="partner_id" string="Partner"
on_change="onchange_partner_id(partner_id)" />

View File

@ -64,15 +64,15 @@
<field name="version_id" colspan="2" widget="selection"/>
<group colspan="2" col="4">
<field name="type_id" string="Stages" />
<button name="prev_type" string="Previous" type="object" icon="gtk-go-back" help="Change to Previous Stage"/>
<button name="next_type" string="Next" type="object" icon="gtk-go-forward" help="Change to Next Stage"/>
<button name="prev_type" string="Previous" type="object" icon="gtk-go-back" help="Change to Previous Stage" groups="base.group_user"/>
<button name="next_type" string="Next" type="object" icon="gtk-go-forward" help="Change to Next Stage" groups="base.group_user"/>
</group>
</group>
<notebook colspan="4">
<page string="General">
<group col="2" colspan="2">
<separator colspan="2" string="Contact Information"/>
<field name="partner_id" on_change="onchange_partner_id(partner_id, email_from)"/>
<group col="2" colspan="2" groups="base.group_user">
<separator colspan="2" string="Contact Information" groups="base.group_user"/>
<field name="partner_id" on_change="onchange_partner_id(partner_id, email_from)" />
<field name="email_from"/>
</group>
<group col="3" colspan="2">
@ -80,7 +80,7 @@
<field name="priority" colspan="3"/>
<field name="task_id" on_change="onchange_task_id(task_id)"/>
<button string="Convert To Task" name="convert_issue_task" icon="gtk-index" type="object"
attrs="{'invisible':[('task_id','!=',False)]}" />
attrs="{'invisible':[('task_id','!=',False)]}" groups="base.group_user"/>
<field name="progress" colspan="3" widget="progressbar" attrs="{'invisible':[('task_id','=',False)]}"/>
</group>
<separator string= "Description" colspan="4"/>
@ -260,7 +260,7 @@
<a string="Send New Email" name="%(mail.action_email_compose_message_wizard)d" icon="terp-mail-message-new" type="action"/>
<a string="Add Internal Note" name="%(crm.action_crm_add_note)d" context="{'model': 'crm.lead' }" icon="terp-document-new" type="action"/>
<a string="Escalate" name="case_escalate" icon="gtk-go-up" type="object"/>
<a string="Convert To Task" name="convert_issue_task" icon="gtk-index" type="object"/>
<a string="Convert To Task" name="convert_issue_task" icon="gtk-index" type="object" />
</div>
<div class="oe_kanban_right">
<a name="case_open" string="Open" states="draft,pending" type="object" icon="kanban-apply" />