flectra/addons/sale_payment/views/payment_views.xml
flectra-admin 769eafb483 [INIT] Inception of Flectra from Odoo
Flectra is Forked from Odoo v11 commit : (6135e82d73)
2018-01-16 11:45:59 +05:30

19 lines
912 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="payment_transaction_action_pending" model="ir.actions.act_window">
<field name="name">Pending 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'>[('sale_order_id.team_id', '=', active_id), ('state', '=', 'pending')]</field>
</record>
<record id="payment_transaction_action_authorized" model="ir.actions.act_window">
<field name="name">Authorized 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'>[('sale_order_id.team_id', '=', active_id), ('state', '=', 'authorized')]</field>
</record>
</odoo>