Purnendu Singh (OpenERP) has proposed merging 
lp:~openerp-dev/openobject-addons/trunk-review_all_list into 
lp:openobject-addons.

Requested reviews:
  OpenERP Core Team (openerp)

For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-review_all_list/+merge/108320

Hello,

This branch propose the changes related to removing all buttons from list view 
except where
 it's an editable list
 it's a tree view in a one2many list field

Thanks,
Purnendu Singh
-- 
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-review_all_list/+merge/108320
Your team OpenERP R&D Team is subscribed to branch 
lp:~openerp-dev/openobject-addons/trunk-review_all_list.
=== modified file 'account/account_invoice_view.xml'
--- account/account_invoice_view.xml	2012-05-25 15:17:40 +0000
+++ account/account_invoice_view.xml	2012-06-01 11:42:23 +0000
@@ -132,8 +132,6 @@
                     <field name="amount_untaxed" sum="Untaxed Amount"/>
                     <field name="amount_total" sum="Total Amount"/>
                     <field name="state"/>
-
-                    <button name="invoice_open" states="draft,proforma2" string="Approve" icon="terp-camera_test"/>
                 </tree>
             </field>
         </record>

=== modified file 'account/account_view.xml'
--- account/account_view.xml	2012-05-22 16:10:55 +0000
+++ account/account_view.xml	2012-06-01 11:42:23 +0000
@@ -131,8 +131,6 @@
                     <field name="special"/>
                     <field name="company_id" groups="base.group_multi_company"/>
                     <field name="state"/>
-                    <button name="action_draft" states="done" string="Set to Draft" type="object" icon="terp-document-new" groups="account.group_account_manager"/>
-                    <button name="%(action_account_period_close)d" states="draft" string="Close Period" type="action" icon="terp-camera_test"/>
                 </tree>
             </field>
         </record>
@@ -569,8 +567,6 @@
                     <field name="balance_end_real"/>
                     <field name="balance_end" invisible="1"/>
                     <field name="state"/>
-                    <button type="object" string="Cancel" name="button_cancel" states="confirm" icon="gtk-cancel"/>
-                    <button type="object" string="Confirm" name="button_confirm_bank" states="draft" icon="terp-camera_test"/>
                 </tree>
             </field>
         </record>
@@ -1356,7 +1352,6 @@
                     <field name="amount" sum="Total Amount"/>
                     <field name="to_check"/>
                     <field name="state"/>
-                    <button name="button_validate" states="draft" string="Approve" type="object" icon="terp-camera_test"/>
                 </tree>
             </field>
         </record>
@@ -2627,9 +2622,6 @@
                     <field name="balance_end_real"/>
                     <field name="balance_end"/>
                     <field name="state"/>
-                    <button type="object" string="Cancel" name="button_cancel" states="confirm" icon="gtk-cancel"/>
-                    <button type="object" string="Open" name="button_open" states="draft" icon="terp-camera_test"/>
-                    <button type="object" string="Confirm" name="button_confirm_bank" states="open" icon="terp-gtk-go-back-rtl"/>
                 </tree>
             </field>
         </record>

=== modified file 'account_followup/report/account_followup_report.xml'
--- account_followup/report/account_followup_report.xml	2012-02-10 15:20:35 +0000
+++ account_followup/report/account_followup_report.xml	2012-06-01 11:42:23 +0000
@@ -19,7 +19,6 @@
                     <field name="company_id" groups="base.group_multi_company"/>
                     <field name="blocked" invisible="1" />
 					<field name="period_id" invisible="1" />
-
                 </tree>
             </field>
         </record>

=== modified file 'account_payment/account_payment_view.xml'
--- account_payment/account_payment_view.xml	2012-05-22 16:10:55 +0000
+++ account_payment/account_payment_view.xml	2012-06-01 11:42:23 +0000
@@ -193,9 +193,6 @@
                     <field name="date_done"/>
                     <field name="total"/>
                     <field name="state"/>
-                    <button name="cancel" states="draft,open" string="Cancel" icon="gtk-cancel"/>
-                    <button name="open" states="draft" string="Confirm Payments"  icon="gtk-apply"/>
-                    <button name="set_done" states="open" string="Make Payments"  type ="object" icon="gtk-execute"/>
                 </tree>
             </field>
         </record>

=== modified file 'account_voucher/account_voucher_view.xml'
--- account_voucher/account_voucher_view.xml	2012-05-23 06:53:42 +0000
+++ account_voucher/account_voucher_view.xml	2012-06-01 11:42:23 +0000
@@ -17,7 +17,6 @@
                     <field name="amount" sum="Total Amount"/>
                     <field name="audit"/>
                     <field name="state"/>
-                    <button name="proforma_voucher" string="Post" states="draft" icon="terp-document-new"/>
                 </tree>
             </field>
         </record>

=== modified file 'base_calendar/base_calendar_view.xml'
--- base_calendar/base_calendar_view.xml	2012-05-22 16:10:55 +0000
+++ base_calendar/base_calendar_view.xml	2012-06-01 11:42:23 +0000
@@ -85,21 +85,6 @@
                     <field name="cutype" string="Invitation Type"/>
                     <field name="state" />
                     <field name="rsvp" string="Required to Join"/>
-                    <button name="do_tentative" states="needs-action,declined,accepted"
-                                string="Uncertain" type="object"
-                                icon="terp-crm" />
-                    <button name="do_accept" string="Accept"
-                        states="needs-action,tentative,declined"
-                        type="object" icon="gtk-apply" />
-                    <button name="do_decline" string="Decline"
-                        states="needs-action,tentative,accepted"
-                        type="object" icon="gtk-cancel" />
-                    <button
-                        name="%(base_calendar.action_view_calendar_invite_attendee_wizard)d"
-                        string="Delegate" type="action"
-                        icon="gtk-sort-descending"
-                        states="needs-action,tentative,declined,accepted"
-                        context="{'model' : 'calendar.attendee', 'attendee_field' : 'child_ids'}" />
                 </tree>
             </field>
         </record>

=== modified file 'crm/board_crm_view.xml'
--- crm/board_crm_view.xml	2012-05-25 07:44:46 +0000
+++ crm/board_crm_view.xml	2012-06-01 11:42:23 +0000
@@ -11,21 +11,10 @@
                     <field name="name" string="Opportunity"/>
                     <field name="partner_id" string="Customer"/>
                     <field name="stage_id"/>
-                    <button name="stage_previous" string="Previous Stage"
-                        states="open,pending" type="object" icon="gtk-go-back" />
-                    <button name="stage_next" string="Next Stage"
-                        states="open,pending" type="object"
-                        icon="gtk-go-forward" />
                     <field name="planned_revenue" sum="Total of Planned Revenue"/>
                     <field name="probability" widget="progressbar" avg="Avg. of Probability"/>
                     <field name="date_deadline" invisible="1"/>
                     <field name="state" groups="base.group_no_one"/>
-                    <button name="case_open" string="Open" type="object"
-                            states="draft,pending" icon="gtk-go-forward"/>
-                    <button name="case_mark_won" string="Won" type="object"
-                            states="open,pending" icon="gtk-apply"/>
-                    <button name="case_mark_lost" string="Lost" type="object"
-                            states="open,pending" icon="gtk-cancel"/>
                 </tree>
             </field>
         </record>

=== modified file 'crm/crm_lead_view.xml'
--- crm/crm_lead_view.xml	2012-05-31 09:05:42 +0000
+++ crm/crm_lead_view.xml	2012-06-01 11:42:23 +0000
@@ -184,12 +184,6 @@
                     <field name="referred" invisible="1"/>
                     <field name="channel_id" invisible="1"/>
                     <field name="subjects" invisible="1"/>
-                    <button name="%(crm.action_crm_lead2opportunity_partner)d" string="Convert to Opportunity" type="action"
-                            states="draft,open,pending" icon="gtk-go-forward"/>
-                    <button name="case_escalate" string="Escalate" type="object"
-                            states="draft,open,pending" icon="gtk-go-up"/>
-                    <button name="case_cancel" string="Dead" type="object"
-                            states="open,draft,pending" icon="gtk-cancel"/>
                 </tree>
             </field>
         </record>
@@ -540,12 +534,6 @@
                     <field name="priority" invisible="1"/>
                     <field name="categ_id" invisible="1"/>
                     <field name="state" groups="base.group_no_one"/>
-                    <button name="case_open" string="Open" type="object"
-                            states="draft,pending" icon="gtk-go-forward"/>
-                    <button name="case_mark_won" string="Won" type="object"
-                            states="open,pending" icon="gtk-apply"/>
-                    <button name="case_mark_lost" string="Lost" type="object"
-                            states="open,pending" icon="gtk-cancel"/>
                 </tree>
             </field>
         </record>

=== modified file 'crm/crm_phonecall_view.xml'
--- crm/crm_phonecall_view.xml	2012-05-30 11:13:43 +0000
+++ crm/crm_phonecall_view.xml	2012-06-01 11:42:23 +0000
@@ -34,23 +34,7 @@
                 <field name="categ_id" invisible="1"/>
                 <field name="create_date" invisible="1"/>
                 <field name="opportunity_id" invisible="1"/>
-                <button string="Convert to Opportunity"
-                    name="%(phonecall2opportunity_act)d"
-                    states="open,pending"
-                    icon="gtk-index"
-                    type="action" attrs="{'invisible':[('opportunity_id','!=',False)]}" />
-                <button string="Meeting"
-                    states="open,pending" icon="gtk-redo"
-                     name="action_make_meeting" type="object" />
                 <field name="state"/>
-                <button name="case_open" string="Confirm" type="object"
-                        states="draft,pending" icon="gtk-go-forward"/>
-                <button name="case_close" string="Held" type="object"
-                        states="open,pending" icon="gtk-jump-to"/>
-                <button name="case_cancel" string="Cancel" type="object"
-                        states="draft,open,pending" icon="gtk-cancel"/>
-                <button name="case_reset" string="Reset to Todo" type="object"
-                        states="cancel" icon="gtk-convert"/>
             </tree>
         </field>
     </record>
@@ -153,18 +137,6 @@
                 <field name="state" invisible="1"/>
                 <field name="create_date" invisible="1"/>
                 <field name="opportunity_id" invisible="1"/>
-                <button string="Schedule Other Call"
-                    icon="terp-call-start"
-                    name="%(phonecall_to_phonecall_act)d"
-                    type="action"  />
-                <button string="Meeting"
-                     icon="gtk-redo"
-                     name="action_make_meeting" type="object" />
-                <button string="Convert to Opportunity"
-                    name="%(phonecall2opportunity_act)d"
-                    states="open,pending"
-                    icon="gtk-index"
-                    type="action" attrs="{'invisible':[('opportunity_id','!=',False)]}" />
             </tree>
         </field>
     </record>

=== modified file 'crm_claim/crm_claim_view.xml'
--- crm_claim/crm_claim_view.xml	2012-06-01 09:23:52 +0000
+++ crm_claim/crm_claim_view.xml	2012-06-01 11:42:23 +0000
@@ -79,12 +79,6 @@
                     <field name="date_deadline" invisible="1"/>
                     <field name="date_closed" invisible="1"/>
                     <field name="state" groups="base.group_no_one"/>
-                    <button name="case_open" string="Open" type="object"
-                        states="draft,pending" icon="gtk-go-forward"/>
-                    <button name="case_close" string="Done" type="object"
-                        states="draft,open,pending" icon="gtk-close"/>
-                    <button name="case_refuse" string="Refuse" type="object"
-                        states="draft,open,pending" icon="gtk-cancel"/>
                 </tree>
             </field>
         </record>

=== modified file 'crm_fundraising/crm_fundraising_view.xml'
--- crm_fundraising/crm_fundraising_view.xml	2012-05-22 16:10:55 +0000
+++ crm_fundraising/crm_fundraising_view.xml	2012-06-01 11:42:23 +0000
@@ -50,22 +50,6 @@
                     <field name="user_id" />
                     <field name="state" />
                     <field name="partner_id" invisible="1"/>
-                    <button name="case_cancel" string="Cancel"
-                        states="draft,open,pending" type="object"
-                        icon="gtk-cancel" />
-                    <button name="case_open" string="Open"
-                        states="draft,pending" type="object"
-                        icon="gtk-go-forward" />
-                    <button name="case_pending" string="Pending"
-                        states="draft,open" type="object" icon="gtk-media-pause" />
-                    <button name="case_escalate" string="Escalate"
-                        states="open,draft,pending" type="object"
-                        icon="gtk-go-up" />
-                    <button name="case_close" string="Done"
-                        states="open,draft,pending" type="object"
-                        icon="gtk-close" />
-                    <button name="case_reset" string="Reset to Draft"
-                        states="done,cancel" type="object" icon="gtk-convert" />
                 </tree>
             </field>
         </record>

=== modified file 'crm_helpdesk/crm_helpdesk_view.xml'
--- crm_helpdesk/crm_helpdesk_view.xml	2012-05-30 10:42:43 +0000
+++ crm_helpdesk/crm_helpdesk_view.xml	2012-06-01 11:42:23 +0000
@@ -156,18 +156,6 @@
                     <field name="section_id"/>
                     <field name="priority"/>
                     <field name="state"/>
-                    <button name="case_open" string="Open" type="object"
-                        states="draft,pending" icon="gtk-go-forward"/>
-                    <button name="case_close" string="Done" type="object"
-                        states="open,draft,pending" icon="gtk-close"/>
-                    <button name="case_pending" string="Pending" type="object"
-                        states="draft,open" icon="gtk-media-pause"/>
-                    <button name="case_escalate" string="Escalate" type="object"
-                        states="open,draft,pending" icon="gtk-go-up"/>
-                    <button name="case_cancel" string="Cancel" type="object"
-                        states="draft,open,pending" icon="gtk-cancel"/>
-                    <button name="case_reset" string="Reset to Draft" type="object"
-                        states="cancel,done" icon="gtk-convert" />
                 </tree>
             </field>
         </record>

=== modified file 'email_template/email_template_view.xml'
--- email_template/email_template_view.xml	2012-05-16 16:01:15 +0000
+++ email_template/email_template_view.xml	2012-06-01 11:42:23 +0000
@@ -116,8 +116,6 @@
                     <field name="email_from"/>
                     <field name="email_to"/>
                     <field name="report_name"/>
-                    <button name="%(wizard_email_template_preview)d" string="Preview Template"
-                            type="action" target="new" icon="gtk-zoom-fit"/>
                 </tree>
             </field>
         </record>

=== modified file 'event/event_view.xml'
--- event/event_view.xml	2012-05-25 20:03:26 +0000
+++ event/event_view.xml	2012-06-01 11:42:23 +0000
@@ -153,10 +153,6 @@
                     <field name="main_speaker_id" groups="base.extended"/>
                     <field name="user_id"/>
                     <field name="state"/>
-                    <button string="Confirm Event" help="Confirm Event" name="button_confirm" states="draft" type="object" icon="gtk-apply"/>
-                    <button string="Event Done" help="Event Done" name="button_done" states="confirm" type="object" icon="gtk-jump-to"/>
-                    <button string="Cancel Event" help="Cancel Event" name="button_cancel" states="draft,confirm" type="object" icon="gtk-cancel"/>
-                    <button string="Set To Draft" help="Set To Draft" name="button_draft" states="cancel,done" type="object" icon="gtk-convert"/>
                 </tree>
             </field>
         </record>
@@ -346,10 +342,6 @@
                     <field name="user_id"/>
                     <field name="origin"/>
                     <field name="state"/>
-                    <button name="button_reg_cancel" string="Cancel Registration" states="draft,open" type="object" icon="gtk-cancel"/>
-                    <button name="registration_open" string="Confirm Registration" states="draft" type="object" icon="gtk-apply"/>
-                    <button name="button_reg_close" string="Attended" states="open" type="object" icon="gtk-apply"/>
-                    <button string="Set To Unconfirmed" name="do_draft" states="cancel,done" type="object" icon="gtk-convert"/>
                 </tree>
             </field>
         </record>

=== modified file 'hr_evaluation/hr_evaluation_view.xml'
--- hr_evaluation/hr_evaluation_view.xml	2012-05-23 12:33:15 +0000
+++ hr_evaluation/hr_evaluation_view.xml	2012-06-01 11:42:23 +0000
@@ -335,12 +335,7 @@
                     <field name="user_id" string="Interviewer"/>
                     <field name="user_to_review_id"/>
                     <field name="response" readonly="1" invisible="True"/>
-                    <button name="%(survey.action_view_survey_question_message)d" string="Answer Survey" type="action" states="waiting_answer,done,cancel" icon="gtk-execute" context="{'survey_id': survey_id, 'response_id': [response], 'response_no':0, 'active' : response, 'request' : True, 'object' : 'hr.evaluation.interview', 'cur_id' : active_id}" attrs="{'readonly':[('survey_id','=',False)]}"/>
-                    <button name="action_print_survey" string="Print Survey" type="object" icon="gtk-print" context="{'survey_id': survey_id, 'response_id': [response], 'response_no':0}" attrs="{'readonly':[('survey_id','=',False)]}"/>
-                    <button name="%(mail.action_email_compose_message_wizard)d" string="Send Reminder Email" icon="terp-mail-message-new" type="action" colspan="2" states="waiting_answer"/>
                     <field name="state"/>
-                    <button string="Send Request" name="survey_req_waiting_answer" states="draft" type="object" icon="gtk-yes" />
-                    <button string="Done" name="survey_req_done" states="waiting_answer" type="object" icon="gtk-jump-to" />
                 </tree>
             </field>
         </record>

=== modified file 'hr_expense/hr_expense_view.xml'
--- hr_expense/hr_expense_view.xml	2012-05-22 09:14:45 +0000
+++ hr_expense/hr_expense_view.xml	2012-06-01 11:42:23 +0000
@@ -35,8 +35,6 @@
                     <field name="currency_id"/>
                     <field name="amount"/>
                     <field name="state"/>
-                    <button name="confirm" states="draft" string="Confirm" type="workflow" icon="gtk-apply"/>
-                    <button name="refuse" states="confirm,draft,accepted" string="Refuse" type="workflow" icon="gtk-no" groups="base.group_hr_user"/>
                 </tree>
             </field>
         </record>

=== modified file 'hr_holidays/hr_holidays_view.xml'
--- hr_holidays/hr_holidays_view.xml	2012-05-23 09:28:28 +0000
+++ hr_holidays/hr_holidays_view.xml	2012-06-01 11:42:23 +0000
@@ -177,8 +177,6 @@
                     <field name="user_id" invisible="1"/>
                     <!--field name="type"/-->
                     <field name="state"/>
-                    <button string="Approve" name="validate" states="confirm" type="workflow" icon="gtk-apply" groups="base.group_hr_user,base.group_hr_manager"/>
-                    <button string="Validate" name="second_validate" states="validate1" type="workflow" icon="gtk-apply" groups="base.group_hr_user,base.group_hr_manager"/>
                 </tree>
             </field>
         </record>
@@ -234,9 +232,6 @@
                     <field name="manager_id" invisible="1"/>
                     <field name="user_id" invisible="1"/>
                     <field name="state"/>
-                    <button string="Submit to Manager" name="confirm" states="draft" type="workflow" icon="gtk-yes"/>
-                    <button string="Approve" name="validate" states="confirm" type="workflow" icon="gtk-apply" groups="base.group_hr_user"/>
-                    <button string="Refuse" name="refuse" states="confirm" type="workflow" icon="gtk-no" groups="base.group_hr_user"/>
                 </tree>
             </field>
         </record>
@@ -262,8 +257,6 @@
                     <field name="manager_id" invisible="1"/>
                     <field name="user_id" invisible="1"/>
                     <!--field name="type"/-->
-                    <button string="Approve" name="validate" states="confirm" type="workflow" icon="gtk-apply" groups="base.group_hr_user"/>
-                    <button string="Validate" name="second_validate" states="validate1" type="workflow" icon="gtk-apply" groups="base.group_hr_user"/>
                 </tree>
             </field>
         </record>

=== modified file 'hr_recruitment/hr_recruitment_view.xml'
--- hr_recruitment/hr_recruitment_view.xml	2012-06-01 09:36:04 +0000
+++ hr_recruitment/hr_recruitment_view.xml	2012-06-01 11:42:23 +0000
@@ -50,8 +50,6 @@
                 <field name="partner_phone"/>
                 <field name="job_id"/>
                 <field name="stage_id"/>
-                <button name="stage_previous" string="Previous" states="open,pending" type="object" icon="gtk-go-back"/>
-                <button name="stage_next" string="Next" states="open,pending" type="object" icon="gtk-go-forward"/>
                 <field name="title_action" invisible="context.get('invisible_next_action', True)"/>
                 <field name="date_action" invisible="context.get('invisible_next_date', True)"/>
                 <field name="source_id" invisible="1"/>
@@ -63,8 +61,6 @@
                 <field name="department_id" invisible="context.get('invisible_department', True)"/>
                 <field name="user_id"/>
                 <field name="state" groups="base.group_no_one"/>
-                <button name="case_open" string="In Progress" states="draft,pending" type="object" icon="gtk-go-forward" groups="base.group_no_one"/>
-                <button name="case_pending" string="Pending" states="draft,open" type="object" icon="gtk-media-pause" groups="base.group_no_one"/>
             </tree>
         </field>
     </record>

=== modified file 'idea/idea_view.xml'
--- idea/idea_view.xml	2012-05-22 16:10:55 +0000
+++ idea/idea_view.xml	2012-06-01 11:42:23 +0000
@@ -267,10 +267,6 @@
             <field name="count_comments"/>
             <field name="count_votes"/>
             <field name="state"/>
-             <button name="idea_open" string="Open" states="draft" icon="terp-gtk-go-back-rtl"/>
-            <button name="%(idea.action_idea_post_vote)d" icon="gtk-execute" type="action" states="open" string="Submit Vote"/>
-            <button name="idea_close" string="Accept" states="open" icon="gtk-jump-to"/>
-            <button name="idea_cancel" string="Refuse" states="open"  icon="gtk-cancel"/>
         </tree>
         </field>
     </record>

=== modified file 'lunch/lunch_view.xml'
--- lunch/lunch_view.xml	2012-05-22 09:14:45 +0000
+++ lunch/lunch_view.xml	2012-06-01 11:42:23 +0000
@@ -60,16 +60,6 @@
                     <field name="category"/>
                     <field name="price" sum="Total price"/>
                     <field name="state"/>
-                    <button colspan="1"
-                              name="%(action_lunch_order_cancel)d"
-                              string="Cancel Order"
-                              type="action" states="confirmed"
-                              icon="gtk-cancel" />
-                    <button colspan="1"
-                              name="%(action_lunch_order_confirm)d"
-                              string="Confirm Order"
-                              type="action" states="draft"
-                              icon="terp-gtk-go-back-rtl" />
                 </tree>
             </field>
         </record>
@@ -340,7 +330,7 @@
             <field name="type">tree</field>
             <field name="arch" type="xml">
                 <tree string="Box Amount by User">
-                     <field name="date" invisible="1"/>
+                    <field name="date" invisible="1"/>
                     <field name="year" invisible="1"/>
                     <field name="day" invisible="1"/>
                     <field name="month" invisible="1"/>

=== modified file 'mail/mail_message_view.xml'
--- mail/mail_message_view.xml	2012-05-31 09:05:42 +0000
+++ mail/mail_message_view.xml	2012-06-01 11:42:23 +0000
@@ -152,11 +152,6 @@
                     <field name="model" invisible="1"/>
                     <field name="res_id" invisible="1"/>
                     <field name="state"/>
-                    <button name="send" string="Send Now" type="object" icon="gtk-media-play" states='outgoing'/>
-                    <button name="mark_outgoing" string="Retry" type="object" icon="gtk-redo" states='exception,cancel'/>
-                    <button name="cancel" string="Cancel" type="object" icon="terp-gtk-stop" states='outgoing'/>
-                    <button name="open_document" string="Open Related Document" type="object" icon="gtk-jump-to"/>
-                    <button name="open_attachment" string="Open Attachments" type="object" icon="gtk-jump-to"/>
                 </tree>
             </field>
         </record>

=== modified file 'marketing_campaign/marketing_campaign_view.xml'
--- marketing_campaign/marketing_campaign_view.xml	2012-05-22 16:10:55 +0000
+++ marketing_campaign/marketing_campaign_view.xml	2012-06-01 11:42:23 +0000
@@ -189,7 +189,6 @@
                 <field name="campaign_id"/>
                 <field name="date_run"/>
                 <field name="sync_last_date"/>
-                <button string="Synchronize Manually" states="running" name="synchroniz" icon="terp-project" type="object"/>
                 <field name="state" />
             </tree>
         </field>
@@ -352,9 +351,6 @@
                 <field name="partner_id"/>
                 <field name="date"/>
                 <field name="state"/>
-                <button string="Cancel" states="todo" name="button_cancel" type="object" icon="terp-gtk-stop"/>
-                <button string="Preview" states="todo" name="preview" icon="gtk-zoom-fit" type="object"/>
-                <button string="Process" states="todo" name="process" type="object" icon="terp-gtk-go-back-rtl"/>
             </tree>
         </field>
     </record>

=== modified file 'mrp_operations/mrp_operations_view.xml'
--- mrp_operations/mrp_operations_view.xml	2012-05-22 16:10:55 +0000
+++ mrp_operations/mrp_operations_view.xml	2012-06-01 11:42:23 +0000
@@ -57,10 +57,6 @@
                 <field name="cycle"/>
                 <field name="hour"/>
                 <field name="state" />
-                <button name="button_start_working" string="Start" states="draft" icon="terp-gtk-jump-to-ltr" help="Start Working"/>
-                <button name="button_resume" string="Resume" states="pause" icon="gtk-media-pause" help="Resume Work Order"/>
-                <button name="button_pause" string="Pending" states="startworking" icon="gtk-media-pause" help="Pause Work Order"/>
-                <button name="button_done" string="Finished" states="startworking" icon="terp-check" help="Finish Order"/>
             </tree>
         </field>
     </record>

=== modified file 'project/board_project_view.xml'
--- project/board_project_view.xml	2012-06-01 08:40:50 +0000
+++ project/board_project_view.xml	2012-06-01 11:42:23 +0000
@@ -19,14 +19,6 @@
                     <field name="progress" widget="progressbar"/>
                     <field name="stage_id" invisible="context.get('set_visible',False)"/>
                     <field name="state" invisible="context.get('set_visible',False)" groups="base.group_no_one"/>
-                    <button name="do_open" string="Start Task" type="object"
-                            states="draft,pending" icon="gtk-go-forward" invisible="context.get('set_visible',False)"/>
-                    <button name="action_close" string="Done" type="object"
-                            states="draft,open,pending" icon="gtk-apply" invisible="context.get('set_visible',False)"/>
-                    <button name="do_cancel" string="Cancel" type="object"
-                            states="open,draft,pending" icon="gtk-cancel" invisible="context.get('set_visible',False)"/>
-                    <button name="%(action_project_task_delegate)d" string="Delegate" type="action"
-                            states="pending,open,draft" icon="gtk-sort-descending"/>
                 </tree>
             </field>
         </record>
@@ -46,12 +38,6 @@
                     <field name="progress" widget="progressbar"/>
                     <field name="stage_id" invisible="context.get('set_visible',False)"/>
                     <field name="state" invisible="context.get('set_visible',False)" groups="base.group_no_one"/>
-                    <button name="do_open" string="Start Task" type="object"
-                            states="draft,pending" icon="gtk-go-forward" invisible="context.get('set_visible',False)"/>
-                    <button name="action_close" string="Done" type="object"
-                            states="draft,open,pending" icon="gtk-apply" invisible="context.get('set_visible',False)"/>
-                    <button name="do_cancel" string="Cancel" type="object"
-                            states="open,draft,pending" icon="gtk-cancel" invisible="context.get('set_visible',False)"/>
                 </tree>
             </field>
         </record>

=== modified file 'project/project_view.xml'
--- project/project_view.xml	2012-06-01 08:40:50 +0000
+++ project/project_view.xml	2012-06-01 11:42:23 +0000
@@ -517,17 +517,7 @@
                     <field name="effective_hours" widget="float_time" sum="Spent Hours" invisible="1"/>
                     <field name="remaining_hours" widget="float_time" sum="Remaining Hours" on_change="onchange_remaining(remaining_hours,planned_hours)" invisible="context.get('set_visible',False)" groups="project.group_time_work_estimation_tasks"/>
                     <field name="date_deadline" invisible="context.get('deadline_visible',True)"/>
-                    <button name="do_open" string="Start Task" type="object"
-                            states="draft,pending" icon="gtk-go-forward"/>
-                    <button name="action_close" string="Done" type="object"
-                            states="draft,open,pending" icon="gtk-apply"/>
-                    <button name="%(action_project_task_delegate)d" string="Delegate" type="action"
-                            states="pending,open,draft" icon="terp-personal"/>
                     <field name="stage_id" invisible="context.get('set_visible',False)"/>
-                    <button name="stage_previous" string="Previous Stage" type="object"
-                            states="open,pending" icon="gtk-go-back" attrs="{'invisible': [('stage_id','=', False)]}"/>
-                    <button name="stage_next" string="Next Stage" type="object"
-                            states="open,pending" icon="gtk-go-forward" attrs="{'invisible': [('stage_id','=', False)]}"/>
                     <field name="state" invisible="context.get('set_visible',False)" groups="base.group_no_one"/>
                     <field name="date_start" invisible="1" groups="base.group_no_one"/>
                     <field name="date_end" invisible="1" groups="base.group_no_one"/>

=== modified file 'project_issue/board_project_issue_view.xml'
--- project_issue/board_project_issue_view.xml	2012-06-01 09:06:32 +0000
+++ project_issue/board_project_issue_view.xml	2012-06-01 11:42:23 +0000
@@ -99,19 +99,7 @@
                     <field name="version_id" widget="selection"/>
                     <field name="progress" widget="progressbar" attrs="{'invisible':[('task_id','=',False)]}"/>
                     <field name="stage_id" widget="selection" readonly="1"/>
-                    <button name="stage_previous" string="Previous" type="object"
-                            icon="gtk-go-back" help="Change to Previous Stage"
-                            attrs="{'invisible': [('stage_id','=', False)]}"/>
-                    <button name="stage_next" string="Next" type="object"
-                            icon="gtk-go-forward" help="Change to Next Stage"
-                            attrs="{'invisible': [('stage_id','=', False)]}"/>
                     <field name="state" groups="base.group_no_one"/>
-                    <button name="case_open" string="Open" type="object"
-                            states="draft,pending" icon="gtk-go-forward"/>
-                    <button name="case_close" string="Done" type="object"
-                            states="draft,open,pending" icon="gtk-close"/>
-                    <button name="case_cancel" string="Cancel" type="object"
-                            states="draft,open,pending" icon="gtk-cancel"/>
                     <field name="categ_id" invisible="1"/>
                     <field name="task_id" invisible="1"/>
                 </tree>

=== modified file 'project_issue/project_issue_view.xml'
--- project_issue/project_issue_view.xml	2012-06-01 09:06:32 +0000
+++ project_issue/project_issue_view.xml	2012-06-01 11:42:23 +0000
@@ -150,19 +150,7 @@
                     <field name="user_id"/>
                     <field name="progress" widget="progressbar" attrs="{'invisible':[('task_id','=',False)]}"/>
                     <field name="stage_id" widget="selection" readonly="1"/>
-                    <button name="stage_previous" string="Previous" type="object"
-                            icon="gtk-go-back" help="Change to Previous Stage"
-                            attrs="{'invisible': [('stage_id','=', False)]}"/>
-                    <button name="stage_next" string="Next" type="object"
-                            icon="gtk-go-forward" help="Change to Next Stage"
-                            attrs="{'invisible': [('stage_id','=', False)]}"/>
                     <field name="state" groups="base.group_no_one"/>
-                    <button name="case_open" string="Open" type="object"
-                            icon="gtk-go-forward"  states="draft,pending"/>
-                    <button name="case_close" string="Done" type="object"
-                            icon="gtk-close" states="draft,open,pending"/>
-                    <button name="case_cancel" string="Cancel" type="object"
-                            icon="gtk-cancel" states="draft,open,pending"/>
                     <field name="categ_id" invisible="1"/>
                     <field name="task_id" invisible="1"/>
                 </tree>
@@ -318,19 +306,7 @@
                     <field name="version_id"/>
                     <field name="user_id"/>
                     <field name="stage_id" widget="selection" readonly="1"/>
-                    <button name="stage_previous" string="Previous" type="object"
-                            icon="gtk-go-back" help="Change to Previous Stage"
-                            attrs="{'invisible': [('stage_id','=', False)]}"/>
-                    <button name="stage_next" string="Next" type="object"
-                            icon="gtk-go-forward" help="Change to Next Stage"
-                            attrs="{'invisible': [('stage_id','=', False)]}"/>
                     <field name="state" groups="base.group_no_one"/>
-                    <button name="case_open" string="Open" type="object"
-                            states="draft,pending" icon="gtk-go-forward"/>
-                    <button name="case_close" string="Done" type="object"
-                            states="draft,open,pending" icon="gtk-close"/>
-                    <button name="case_cancel" string="Cancel" type="object"
-                            states="draft,open,pending" icon="gtk-cancel"/>
                 </tree>
             </field>
         </record>

=== modified file 'project_scrum/board_project_scrum_view.xml'
--- project_scrum/board_project_scrum_view.xml	2012-04-10 14:05:57 +0000
+++ project_scrum/board_project_scrum_view.xml	2012-06-01 11:42:23 +0000
@@ -16,12 +16,6 @@
                     <field name="effective_hours" sum="Effective hours" widget="float_time"/>
                     <field name="expected_hours" sum="Expected hours" widget="float_time"/>
                     <field name="state"/>
-                    <button type="object" string="Open" name="button_open" states="draft,pending" icon="gtk-ok"/>
-                    <button type="object" string="Pending" name="button_pending" states="open" icon="gtk-media-pause"/>
-                    <button type="object" string="Close" name="button_close" states="open,pending" icon="terp-dialog-close"/>
-                    <button type="object" string="Set to Draft" name="button_draft" states="cancel,done" icon="gtk-convert"/>
-                	<button name="%(project_scrum.report_scrum_sprint_burndown_chart)d" states="open,draft,close,cancel"
-                                	string="Burndown Chart" type="action" icon="gtk-print"/>
              	</tree>
             </field>
         </record>
@@ -114,8 +108,6 @@
                     <field name="progress" widget="progressbar"/>
                     <field name="effective_hours"  widget="float_time"/>
                     <field name="expected_hours"  widget="float_time"/>
-                	<button name="%(project_scrum.report_scrum_sprint_burndown_chart)d"
-                                	string="Burndown Chart" type="action" icon="gtk-print"/>
              	</tree>
             </field>
         </record>

=== modified file 'project_scrum/project_scrum_view.xml'
--- project_scrum/project_scrum_view.xml	2012-05-31 15:15:56 +0000
+++ project_scrum/project_scrum_view.xml	2012-06-01 11:42:23 +0000
@@ -43,10 +43,6 @@
                     <field name="expected_hours" sum="Planned hours" widget="float_time" string="Total Planned Hours"/>
                     <field name="effective_hours" sum="Spent hours" widget="float_time" string="Total Spent Hours"/>
                     <field name="state"/>
-                    <button type="object" string="Open" name="button_open" states="draft,pending" icon="terp-camera_test"/>
-                    <button type="object" string="Pending" name="button_pending" states="open" icon="gtk-media-pause"/>
-                    <button type="action" string="Convert to Task" name="%(action_scrum_backlog_to_task)d" states="pending" icon="terp-stock_effects-object-colorize"/>
-                    <button type="object" string="Close" name="button_close" states="open,pending" icon="terp-dialog-close"/>
                 </tree>
             </field>
         </record>
@@ -223,12 +219,6 @@
                     <field name="effective_hours" sum="Effective hours" widget="float_time"/>
                     <field name="expected_hours" sum="Planned hours" widget="float_time"/>
                     <field name="state"/>
-                    <button type="object" string="Open" name="button_open" states="draft,pending" icon="terp-camera_test"/>
-                    <button type="object" string="Pending" name="button_pending" states="open" icon="gtk-media-pause"/>
-                    <button type="object" string="Close" name="button_close" states="open,pending" icon="terp-dialog-close"/>
-                    <button type="object" string="Set to Draft" name="button_draft" states="cancel,done" icon="gtk-convert"/>
-                    <button name="%(project_scrum.report_scrum_sprint_burndown_chart)d" states="open,draft,close,cancel"
-                                    string="Burndown Chart" type="action" icon="gtk-print"/>
                 </tree>
             </field>
         </record>

=== modified file 'stock/stock_view.xml'
--- stock/stock_view.xml	2012-05-29 16:43:22 +0000
+++ stock/stock_view.xml	2012-06-01 11:42:23 +0000
@@ -44,9 +44,6 @@
                     <field name="product_qty"/>
                     <field name="product_uom" groups="product.group_uom"/>
                     <field name="prod_lot_id" groups="stock.group_production_lot"/>
-                    <button name="%(stock.action_view_stock_inventory_line_split)d"
-                            string="Split inventory lines" groups="stock.group_inventory_valuation"
-                            type="action" icon="gtk-justify-fill"/>
                     <field name="location_id" groups="stock.group_locations"/>
                 </tree>
             </field>
@@ -462,7 +459,7 @@
                     <field name="location_dest_id" groups="stock.group_locations"/>
                     <field name="create_date" groups="base.group_no_one"/>
                     <field name="date" string="Date" groups="base.group_no_one"/>
-                     <field name="date_expected" string="Date Expected"/>
+                    <field name="date_expected" string="Date Expected"/>
                     <field name="state"/>
                 </tree>
             </field>
@@ -697,7 +694,6 @@
                     <field name="invoice_state"/>
                     <field name="stock_journal_id" widget="selection"/>
                     <field name="state"/>
-                    <button name="action_process" states="assigned" groups="stock.group_stock_user" string="Process" type="object" icon="gtk-go-forward"/>
                 </tree>
             </field>
         </record>
@@ -1039,8 +1035,6 @@
                     <field name="invoice_state"/>
                     <field name="stock_journal_id" widget="selection"/>
                     <field name="state"/>
-                    <button name="action_process" states="assigned" string="Process" type="object" icon="gtk-go-forward"/>
-                    <button name="button_cancel" states="assigned,confirmed,draft" string="Cancel" icon="gtk-cancel" confirm="This operation will cancel the shipment. Do you want to continue?" />
                 </tree>
             </field>
         </record>
@@ -1328,29 +1322,10 @@
                     <field name="product_id"/>
                     <field name="product_qty" />
                     <field name="product_uom" string="Unit of Measure" groups="product.group_uom"/>
-                    <button name="%(stock.move_scrap)d"
-                        string="Scrap Products" type="action"
-                        icon="gtk-convert" context="{'scrap': True}"
-                        states="draft,waiting,confirmed,assigned"/>
                     <field name="prodlot_id" groups="stock.group_production_lot"/>
-                    <button name="%(track_line)d" string="Split in Serial Numbers" type="action"
-                        icon="terp-stock_effects-object-colorize" attrs="{'invisible': [('prodlot_id','&lt;&gt;',False)]}"
-                       states="draft,waiting,confirmed,assigned,done"
-                        groups="stock.group_tracking_lot"/>
                     <field name="tracking_id" groups="stock.group_tracking_lot"/>
-                    <button name="setlast_tracking" string="Put in current pack" type="object"
-                        attrs="{'invisible': [('tracking_id','&lt;&gt;',False)]}"
-                        groups="product.group_stock_packaging"
-                        icon="terp-stock_effects-object-colorize"
-                        states="draft,assigned,confirmed,done"/>
-                    <button name="%(split_into)d" string="Put in a new pack" type="action"
-                        groups="product.group_stock_packaging"
-                        icon="terp-stock_effects-object-colorize"
-                        states="draft,assigned,confirmed,done"/>
                     <field name="date" groups="base.group_no_one"/>
                     <field name="state"/>
-                    <button name="action_assign" states="confirmed" string="Set Available" type="object" icon="gtk-yes"/>
-                    <button name="action_done" string="Process" type="object" states="confirmed,assigned" icon="gtk-go-forward"/>
                 </tree>
             </field>
         </record>
@@ -1367,7 +1342,6 @@
                     <field name="product_qty" />
                     <field name="product_uom" string="Unit of Measure" groups="product.group_uom"/>
                     <field name="date" groups="base.group_no_one" />
-                    <button name="action_done" states="confirmed,assigned" string="Process" type="object" icon="gtk-go-forward"/>
                 </tree>
             </field>
         </record>

=== modified file 'subscription/subscription_view.xml'
--- subscription/subscription_view.xml	2012-05-22 16:10:55 +0000
+++ subscription/subscription_view.xml	2012-06-01 11:42:23 +0000
@@ -67,9 +67,6 @@
                     <field name="active"/>
                     <field name="user_id" select="1"/>
                     <field name="state"/>
-                    <button name="set_process" states="draft" string="Process" type="object" icon="terp-check"/>
-                    <button name="set_done" states="running" string="Done" type="object" icon="terp-gtk-stop"/>
-                    <button name="set_draft" states="done" string="Set to Draft" type="object" icon="terp-document-new"/>
                 </tree>
             </field>
         </record>

=== modified file 'survey/survey_view.xml'
--- survey/survey_view.xml	2012-05-22 16:10:55 +0000
+++ survey/survey_view.xml	2012-06-01 11:42:23 +0000
@@ -241,15 +241,6 @@
                     <field name="tot_start_survey" string="Started"/>
                     <field name="tot_comp_survey" string="Completed"/>
                     <field name="state" select="1"/>
-                    <button name="%(action_view_survey_question_message)d" states="open,draft,close,cancel"
-                        string="Test Survey" type="action" icon="gtk-new"
-                        context="{'active':True,'survey_id': active_id}"/>
-                    <button name="%(action_view_survey_question_message)d" states="open,draft,close,cancel"
-                        string="Answer Survey" type="action" icon="gtk-execute" context="{'survey_id': active_id}" attrs="{'invisible':[('state','!=','open')]}"/>
-                    <button name="%(action_view_survey_question_message)d" states="open,draft,close,cancel"
-                        string="Edit Survey" type="action" icon="gtk-edit" context="{'active':True,'edit' : True,'survey_id': active_id}"/>
-                    <button name="action_print_survey" states="open,draft,close,cancel"
-                                    string="Print Answer" type="object" icon="gtk-print"/>
                 </tree>
             </field>
         </record>

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to