Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
8225 Weergaven

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
Annuleer
Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
1
feb. 21
14246
1
dec. 22
3759
0
dec. 20
50
0
dec. 15
13487
2
aug. 24
6816