Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
8218 Ansichten

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
Verwerfen
Beste Antwort

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
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
1
Feb. 21
14244
1
Dez. 22
3759
0
Dez. 20
50
0
Dez. 15
13486
2
Aug. 24
6816