Skip to Content
Menu
This question has been flagged
1 Atsakyti
8220 Rodiniai

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',]

Portretas
Atmesti
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

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
vas. 21
14244
1
gruod. 22
3759
0
gruod. 20
50
0
gruod. 15
13486
2
rugp. 24
6816