- added a call to _migrate_paypal_account in the payment_paypal data that does the migration from company.paypal_account (char field) to a payment.acquirer and company.paypal_account becoming a function field, with a getter / setter. This function field is company aware. - added an update of the res_config view of invoicing to link to the list of acquirers - added possibilty to install acquirers from invoicing (paypal / ogone / adyen are installable through config) bzr revid: tde@openerp.com-20140123150135-07b4pkbjade6vimq
19 lines
727 B
XML
19 lines
727 B
XML
<?xml version="1.0"?>
|
|
<openerp>
|
|
<data>
|
|
|
|
<!-- Add payment options to sale.order and invoice forms -->
|
|
<record model="ir.ui.view" id="payment_paypal_option_config">
|
|
<field name="model">account.config.settings</field>
|
|
<field name="inherit_id" ref="account.view_account_config_settings"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//div[@name='payment_acquirer']" version="7.0" position="inside">
|
|
<button name='%(payment.acquirer_list)d' type="action"
|
|
string="Configure payment acquiring methods" class="oe_link"/>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
|
|
</data>
|
|
</openerp>
|