summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYannick Tivisse <yti@odoo.com>2017-05-23 15:43:33 +0200
committerYannick Tivisse <yti@odoo.com>2017-06-02 15:31:47 +0200
commit8d37f49cb710f75ceb2d0f2ac3a2d0668551f406 (patch)
treed292f3cad78a6ec0b5adfd302f4fef6fe8a5e9c7
parent2d71a0f4f4251c040e05b1ab22de15b365384266 (diff)
[IMP] payment: Remove `payments` stat button on payement providers
Purpose ======= Useless here because it is a configuration form. Replace it but a menu with all the payment transactions, available for employees
-rw-r--r--addons/payment/views/payment_views.xml13
1 files changed, 0 insertions, 13 deletions
diff --git a/addons/payment/views/payment_views.xml b/addons/payment/views/payment_views.xml
index 1a3f60e47cb..86d795802b4 100644
--- a/addons/payment/views/payment_views.xml
+++ b/addons/payment/views/payment_views.xml
@@ -8,16 +8,6 @@
id='root_payment_menu'
parent='account.menu_finance_configuration'/>
- <!-- Payment acquirers -->
- <record id="payment_transaction_action_child" model="ir.actions.act_window">
- <field name="name">Payment Transactions</field>
- <field name="res_model">payment.transaction</field>
- <field name='view_type'>form</field>
- <field name='view_mode'>tree,form</field>
- <field name='domain'>[('acquirer_id','=',active_id)]</field>
- <field name="context">{'default_acquirer_id': active_id}</field>
- </record>
-
<record id="acquirer_form" model="ir.ui.view">
<field name="name">payment.acquirer.form</field>
<field name="model">payment.acquirer</field>
@@ -56,9 +46,6 @@
<span class="o_stat_text">Environment</span>
</div>
</button>
- <button class="oe_stat_button" name="%(payment_transaction_action_child)d"
- type="action" icon="fa-money" string="Payments">
- </button>
</div>
<field name="image" widget='image' class="oe_avatar" options='{"preview_image": "image_medium"}'/>
<div class="oe_title">