[IMP] add link to payment acquirers in website settings
bzr revid: ddm@openerp.com-20140123172455-7prrhpxfakgg0zv4
This commit is contained in:
parent
eb0a81dc93
commit
8c8b20bc66
|
@ -13,6 +13,7 @@
|
|||
],
|
||||
'data': [
|
||||
'views/website_payment_templates.xml',
|
||||
'views/website_settings_payment.xml',
|
||||
],
|
||||
'auto_install': False,
|
||||
}
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<openerp>
|
||||
<data>
|
||||
<record id="website_settings_payment" model="ir.ui.view">
|
||||
<field name="name">website.form</field>
|
||||
<field name="model">website</field>
|
||||
<field name="inherit_id" ref="website.view_website_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//div[@name='other']" position='before'>
|
||||
<div name="shop">
|
||||
<separator string="E-Commerce"/>
|
||||
<group name="shop">
|
||||
<button type="action"
|
||||
name="%(payment_acquirer.action_payment_acquirer)d"
|
||||
string="Configure payment acquirers" class="oe_link"/>
|
||||
</group>
|
||||
</div>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
</data>
|
||||
</openerp>
|
Loading…
Reference in New Issue