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

Internal Error on Invoice Validation

Subscribe

Get notified when there's activity on this post

This question has been flagged
invoicevalidateinternalerror
1 Reply
9956 Views
Avatar
Francesc

Hello everyone,

I'm having a big trouble with our OpenERP7. The ERP software was installed to our company by an external person. Right now that person doesn't work with us anymore and I have to take care of the ERP. Today we found that we can't Validate the Draft Invoices. Once you click to the Validate button we get the following error, and I don't know what is wrong, looks like something about the database but I have no idea.

OpenERP Server Error

Client Traceback (most recent call last): File "C:\app\Server\server\openerp\addons\web\http.py", line 204, in dispatch File "C:\app\Server\server\openerp\addons\web\controllers\main.py", line 1132, in exec_workflow File "C:\app\Server\server\openerp\addons\web\session.py", line 147, in exec_workflow File "C:\app\Server\server\openerp\addons\web\session.py", line 30, in proxy_method File "C:\app\Server\server\openerp\addons\web\session.py", line 103, in send

Server Traceback (most recent call last): File "C:\app\Server\server\openerp\addons\web\session.py", line 89, in send File "C:\app\Server\server.\openerp\netsvc.py", line 292, in dispatch_rpc File "C:\app\Server\server.\openerp\service\web_services.py", line 626, in dispatch File "C:\app\Server\server.\openerp\osv\osv.py", line 131, in wrapper File "C:\app\Server\server.\openerp\osv\osv.py", line 220, in exec_workflow File "C:\app\Server\server.\openerp\osv\osv.py", line 213, in exec_workflow_cr File "C:\app\Server\server.\openerp\osv\orm.py", line 3926, in _workflow_signal File "C:\app\Server\server.\openerp\workflow\wkf_service.py", line 119, in trg_validate File "C:\app\Server\server.\openerp\workflow\instance.py", line 43, in validate File "C:\app\Server\server.\openerp\workflow\workitem.py", line 60, in process File "C:\app\Server\server.\openerp\workflow\workitem.py", line 175, in _split_test File "C:\app\Server\server.\openerp\workflow\workitem.py", line 183, in _join_test File "C:\app\Server\server.\openerp\workflow\workitem.py", line 40, in create File "C:\app\Server\server.\openerp\workflow\workitem.py", line 52, in process File "C:\app\Server\server.\openerp\workflow\workitem.py", line 106, in _execute File "C:\app\Server\server.\openerp\workflow\wkf_expr.py", line 67, in execute File "C:\app\Server\server.\openerp\workflow\wkf_expr.py", line 57, in _eval_expr File "C:\app\Server\server.\openerp\tools\safe_eval.py", line 241, in safe_eval File "", line 1, in <module> File "C:\app\Server\server.\openerp\osv\orm.py", line 374, in function_proxy File "C:\app\Server\server\openerp\addons\account\account_invoice.py", line 1029, in action_move_create
File "C:\app\Server\server\openerp\addons\account\account.py", line 1422, in create File "C:\app\Server\server.\openerp\osv\orm.py", line 4469, in create File "C:\app\Server\server.\openerp\osv\fields.py", line 557, in set File "C:\app\Server\server\openerp\addons\account\account_move_line.py", line 1226, in create File "C:\app\Server\server.\openerp\osv\orm.py", line 4434, in create File "C:\app\Server\server.\openerp\sql_db.py", line 161, in wrapper File "C:\app\Server\server.\openerp\sql_db.py", line 226, in execute InternalError: no se pudo leer el bloque 2 del archivo «base/16393/21728»: se leyeron sólo 0 de 8192 bytes

0
Avatar
Discard
IBS Group

Did you restart the server?

Francesc
Author

Yes, and I get the same...

IBS Group

Restart the postgresql server/service as well.

Francesc
Author

I restarted right now only the postgresql service and we are getting the same error

Avatar
IBS Group
Best Answer

This appears to be a postgresql database issue and not an OpenERP one, check this link: http://stackoverflow.com/questions/6895736/error-could-not-read-block-4707-of-relation-1663-16384-16564-success

You need to check your database and research how to fix corrupted data in postgersql databases.

The Postgresql error you should be researching starts with could not read block, in your case it's in another language.

1
Avatar
Discard
Francesc
Author

Thank you very much for your help! I restored the base/16393/21728 files from a backup and seems that we have fixed it. Thanks again for your answers

IBS Group

You are welcome :-)

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
"Validate" button missing on invoices for users with Only Own Documents rights
invoice validate
Avatar
Avatar
Avatar
4
Apr 25
2108
Cannot create moves for different companies when validating invoice Solved
invoice validate Odoo11
Avatar
Avatar
Avatar
2
Jan 23
5588
Invoice Numbers not be created?
invoice validate sequence
Avatar
Avatar
Avatar
Avatar
Avatar
12
Jan 17
15246
Global taxes defined, but they are not in invoice lines ?
invoice validate openerp7
Avatar
Avatar
2
Apr 16
4930
Why in the Calendar View if you move the invoice can change the date of the invoice validated ? Is it a bug? Solved
invoice calendar validate
Avatar
Avatar
1
Mar 15
4291
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