Browse Source

[IMP] add payment type field to subscription request view

pull/1/head
houssine 8 years ago
parent
commit
d8887c1b41
  1. 1
      easy_my_coop_online_payment/__openerp__.py
  2. 28
      easy_my_coop_online_payment/views/subscription_request_view.xml

1
easy_my_coop_online_payment/__openerp__.py

@ -31,6 +31,7 @@
""",
'data': [
"views/online_payment_template.xml",
"views/subscription_request_view.xml",
],
'installable': True,
'application': False,

28
easy_my_coop_online_payment/views/subscription_request_view.xml

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<record id="online_payment_subreq__tree" model="ir.ui.view">
<field name="name">subscription.request.tree</field>
<field name="model">subscription.request</field>
<field name="inherit_id" ref="easy_my_coop.subscription_request_tree"/>
<field name="arch" type="xml">
<field name="type" position="after">
<field name="payment_type"/>
</field>
</field>
</record>
<record id="online_payment_subreq_form" model="ir.ui.view">
<field name="name">subscription.request.tree</field>
<field name="model">subscription.request</field>
<field name="inherit_id" ref="easy_my_coop.subscription_request_form"/>
<field name="arch" type="xml">
<field name="date" position="after">
<field name="payment_type"/>
</field>
</field>
</record>
</data>
</odoo>
Loading…
Cancel
Save