Skip to content

Commit

Permalink
[REF] deprecated data xml node payment_pagseguro
Browse files Browse the repository at this point in the history
  • Loading branch information
mileo committed Oct 22, 2022
1 parent 8e6e7bb commit e85ec5a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 13 deletions.
16 changes: 7 additions & 9 deletions payment_pagseguro/data/payment_acquirer_data.xml
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
<?xml version="1.0" encoding="utf-8" ?>
<!--Copyright 2020 KMEE-->
<!--License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).-->
<odoo>
<data noupdate="1">
<odoo noupdate="1">
<record id="payment_acquirer_pagseguro" model="payment.acquirer">
<field name="name">Pagseguro</field>
<field
name="image_128"
type="base64"
file="payment_pagseguro/static/src/img/pag_seguro_icon.jpg"
/>
name="image_128"
type="base64"
file="payment_pagseguro/static/src/img/pag_seguro_icon.jpg"
/>
<field name="provider">pagseguro</field>
<field name="company_id" ref="base.main_company" />
<field name="view_template_id" ref="pagseguro_form" />
Expand All @@ -18,10 +17,9 @@
<field name="payment_flow">s2s</field>
<field name="capture_manually">True</field>
<field
name="pre_msg"
><![CDATA[
name="pre_msg"
><![CDATA[
<p>You will be redirected to the pagseguro website after clicking on the payment button.</p>]]></field>
<field name='pagseguro_token'>dummy</field>
</record>
</data>
</odoo>
4 changes: 0 additions & 4 deletions payment_pagseguro/views/payment_acquirer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
<!-- License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<odoo>

<data noupdate="0">

<record model="ir.ui.view" id="payment_acquirer_form_view">
<field name="name">payment.acquirer.form (in payment_pagseguro)</field>
<field name="model">payment.acquirer</field>
Expand All @@ -18,6 +16,4 @@
</field>
</record>

</data>

</odoo>

0 comments on commit e85ec5a

Please sign in to comment.