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

Creating Supplier Invoice Order Line Error Message"Uncaught TypeError: Cannot read property..."

Subscribe

Get notified when there's activity on this post

This question has been flagged
accountinginvoicesupplier
6 Replies
9344 Views
Avatar
Ashley Marc

Hi,

Would anyone know why this error message appears when i try to enter a supplier invoice order line:

1) OpenERP version 7.0 webclient

2) Anglo-Saxon accounting

3) Products adopt product category with anglo saxon accounting properties set on parent as per required.

4) This error message appears when trying to create oder lines via Accounting>Supplier Invoice:


Uncaught TypeError: Cannot read property '1' of undefined http://example:8070/web/webclient/js?db=demo:3549


Regards,

Ashley Marc

1
Avatar
Discard
Avatar
Jeremy
Best Answer

Hi Ashley,

I also have the same problem! The difference is mine lies on different line code:

Uncaught TypeError: Cannot read property '1' of undefined
localhost/web/webclient/js?db=bitnami_openerp:3573

On Firefox, it's:

data[0] is undefined
localhost/web/webclient/js?db=bitnami_openerp:3573

And the problem is, after this error pops out, I cannot insert any line order! I use Bitnami stack to install my OpenERP on CentOS. I have created another database to see whether it's systemic or just database specific and fortunately, it's only on my database.

The problem is, I'm not very familiar with Python, Javascript or even Linux to locate the error.

Can someone please help or at least give some guidance?

Thanks in advance!

Jeremy

2
Avatar
Discard
Avatar
Alexandre Takacs
Best Answer

Guess not really helpful but I am seeing the exact same issue :(

Any pointer / suggestion would be appreciated

EDITED: Are we the only two seeing this ? It is a blocking issue :(

EDITED v2: Guess it is some bug in the webclient that nobody cares to look into :(

2
Avatar
Discard
Avatar
Jonathan Vargas
Best Answer

Same problem for me. It reproduces trying to create both customer and supplier invoice lines.

The problem appears on a different line than yours:

Uncaught TypeError: Cannot read property '1' of undefined
http : // web/webclient/js?db=demo:3574

I started with a Costa Rica accounts chart but I ended replacing it.

Any idea?

2
Avatar
Discard
Avatar
Nicolaus Hartmann
Best Answer

I get the same error. I am trying to add lines to Supplier Invoice.

1
Avatar
Discard
Avatar
Anand Patel
Best Answer

Hello,

This is web-client error in js file. web/static/src/js/view_form.js

     if (! no_recurse) {
         var dataset = new instance.web.DataSetStatic(this, this.field.relation, self.build_context());
         this.alive(dataset.name_get([self.get("value")])).done(function(data) {
            **if (data.length ==0){return false;}**
             self.display_value["" + self.get("value")] = data[0][1];
             self.render_value(true);
         });

Thanks,

1
Avatar
Discard
Omal Bastin

why this error is coming when there is no data.?Also why this error is not coming in every view

Avatar
Omal Bastin
Best Answer

Please refer https://accounts.openerp.com/forum/Help-1/question/28100

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
Automating Invoice Sending to Accountant Email
accounting invoice
Avatar
Avatar
1
Sep 25
953
Unselect the Show in Invoices Footer option Solved
accounting invoice
Avatar
Avatar
Avatar
3
Feb 25
3951
invoice number prefix Solved
accounting invoice
Avatar
Avatar
1
Nov 24
3940
configure Invoice due date as 30 days from the date of creating the Invoice
accounting invoice
Avatar
Avatar
1
Dec 23
3578
How to change the invoice number sequence?
accounting invoice
Avatar
Avatar
1
Apr 21
8634
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