تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
7 الردود
11300 أدوات العرض

When creating/modifying a bank account with Accounting >> Configuration >> Accounts >> 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?

الصورة الرمزية
إهمال

Adding new type is not recommended.


https://www.odoo.com/forum/help-1/question/create-new-account-type-in-accounting-v14-178372

أفضل إجابة

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

الصورة الرمزية
إهمال
الكاتب

Thanks! I wasted hours looking for that over the weekend. Jeez. I shudder to imagine the "logic" behind burying that kind of global setting in the sales' department's address book configuration. Weird!

الكاتب

Oh yeah. ... and great tip about noupdate. Thanks for that one too.

Thanks. In openerp-7.0-20130501-232419, I do not have Address Book under Sales ==> Configuration. Whats wrong in my settings.

Yes I would like to know an answer this too... Please someone help...

أفضل إجابة

Sorry guys it didn't work with me, can any one help plz

الصورة الرمزية
إهمال