Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
8219 Visninger

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
Kassér
Bedste svar

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
Kassér
Related Posts Besvarelser Visninger Aktivitet
1
feb. 21
14244
1
dec. 22
3759
0
dec. 20
50
0
dec. 15
13486
2
aug. 24
6816