Skip to Content
Menu
This question has been flagged
1 Reply
7073 Views

I want to add another payment method in wizard Register payment; So I added this data; but nothing happened. What's wrong, please? Thanks.


<?xml version="1.0" encoding="utf-8"?>

<odoo>  

      <record id="account_payment_method_other_in" model="account.payment.method">

           <field name="name">Other</field>

           <field name="code">other</field>

           <field name="payment_type">inbound</field>

       </record>

       <record id="account_payment_method_other_out" model="account.payment.method">

           <field name="name">Other</field>

           <field name="code">other</field>

           <field name="payment_type">outbound</field>

       </record>

</odoo>


'data': [

        'data/my_file.xml',]

Avatar
Discard
Best Answer

Hi,

First of all verify that whether this records has been successfully get created in the database.


If it is created in the database, open the Journal Form View from Invoicing -> Configuration -> Accounting -> Journals, and select the newly added payment methods in Incoming Payments/Outgoing Payments for the journals that you need to see this payment methods in the register payment wizard.




For Reference: How To Create Data Files In Odoo


Thanks

Avatar
Discard
Related Posts Replies Views Activity
1
Feb 21
13033
1
Dec 22
2711
0
Dec 20
50
0
Dec 15
12183
2
Aug 24
5004