Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

Unable to import Char of Accounts

Subscribe

Get notified when there's activity on this post

This question has been flagged
accountingimportchartofaccountimporterr
6 Replies
6615 Views
Avatar
Ali Hussain

We are unable to import chart of accounts in our database of v 16. it shows an error saying "You need to add a line before posting." Does anyone know the reason and how to correct it.

Thanks

0
Avatar
Discard
John Jacobson

Were you able to resolve this? I have the same problem. All my fields have valid data. I created the file by exporting the COA, and then importing, just wanting to update the default tax type, because I couldn't do this with the original import because I needed accounts to setup the tax types.

Ali Hussain
Author

Can you check if all the necessary fields in the COA filled. I think that was the issue I was facing.

John Jacobson

I tried the import again, with no changes to what I was importing and it ran OK. I can only suspect it was some setting I had changed that made it work. Or it could have been related to a bug that was in the Web core module, that prevented opening the accounting module in developer mode. I did try it after I'd upgraded the web module.

Azza Ali (aza)

I got the same issue and it is not resolved yet

Avatar
Anthony Devuyst
Best Answer

Hi Ali,

I had the same error when importing a chart of accounts at the initial setup of a company. I noticed that in my new V16 database, when setting up the accounting module, an empty unposted miscellaneous journal entry was created. I guess this could be used to manually create an opening balance. After deleting this empty journal entry, the error no longer appeared. 

I hope this helps you..

4
Avatar
Discard
Erwin Zoer

Excellent tip. This fixed it for me.

DANIEL LAUSIN

Thank you! I had the same problem and I could solve with this. When I deleted it, import and test, it was ok, but when I import AFTER testing, the error came again. If you introduce some data in the journal BUT do not publish it, and then import without testing, it will import your COA. Make a backup just in case.

Avatar
Malay Khamar (Serpent Consulting Services Pvt. Ltd.)
Best Answer

Hi Ali Hussain, 
Please check is there any account move which has no move lines in it (might be any miscellaneous entry). This will raised by system if it has any future entry with check auto post or the move which has no move line in it.

Hope it will help you.

1
Avatar
Discard
Avatar
John Jacobson
Best Answer

I resolved this. I had accounts receivable & accounts payable configured as current asset & current liability.  I changed the types to receivable & payable and it resolved the issue. 

0
Avatar
Discard
Avatar
Michael Mayott
Best Answer

This answer does not solve the issue.  Follow the tutorial and does not work in 16.

/

0
Avatar
Discard
Avatar
Reinoud van der Hijden
Best Answer

Hi, i had the same error. 

The problem is that in the import field, there is a column that expects a value and the field is empty now. The value if empty, should be 0. If you don't need the column, don't select it for the import.


Kind regards,

Reinoud

0
Avatar
Discard
Avatar
Jeetendra Khadka
Best Answer

I have the same issue and still cannot fix it. I am trying to import chart_of_accounts(Odoo 16) and the template is pretty simple, but it throws the same "You need to add a line before posting." error. Please let me know if there is a possible solution to this. 
Field name used in the template: code, name, account_type, reconcile, note

0
Avatar
Discard
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Related Posts Replies Views Activity
[Accounting] Add a line before posting Solved
accounting import chartofaccount quickstart
Avatar
1
Feb 25
6634
V14 Can't see the Import Button for Chart of Accounts Solved
accounting import chartofaccount v14
Avatar
Avatar
1
Jul 21
9167
Plan comptable français en 8 chiffres (v18)
accounting chartofaccount
Avatar
Avatar
1
Sep 25
942
Paid Capital is shown as Retained Earnings in Balance Sheet
accounting chartofaccount
Avatar
Avatar
1
May 25
4821
FAILURE TO IMPORT JOURNAL ENTRIES
accounting import
Avatar
Avatar
1
Feb 25
3161
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now