Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
When creating/modifying a bank account with
Setup your Bank Accounts there is a field
Bank Account Type that only ever has a single option
Normal Bank Account.
Naively, I tried editing
res_partner_data.xml like this ...
<!-- Default bank account description --> <record id="bank_normal" model="res.partner.bank.type"> <field name="name">Savings Account</field> <field name="name">Current Account</field> <field name="code">bank</field> </record>
... but that file seems to be read only when the module is installed, and even then only the last value gets used.
Is there a way to add account types to the list?
Yes you can add more account type from
Sale ==> Configuration ==> Address Book ==> Bank Account Types
Here you can create more account
when you update the res_partner_data.xml file with new account name then in xml file there <data noupdate="True"> so, its load data from this file only first time when you start with --init=module name, to load data from this file you have make <data noupdate="False">
Hope this help
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 4/29/13, 8:50 AM|
|Seen: 5412 times|
|Last updated: 3/16/15, 8:10 AM|