Bỏ qua để đến Nội dung
Odoo Menu
  • Đăng nhập
  • Dùng thử miễn phí
  • Ứng dụng
    Tài chính
    • Kế toán
    • Hóa đơn
    • Chi phí
    • Bảng tính (BI)
    • Tài liệu
    • Ký tên
    Bán hàng
    • CRM
    • Bán hàng
    • POS Cửa hàng
    • POS Nhà hàng
    • Đăng ký
    • Cho thuê
    Trang web
    • Trình tạo trang web
    • Thương mại điện tử
    • Blog
    • Diễn đàn
    • Trò chuyện trực tiếp
    • Học trực tuyến
    Chuỗi cung ứng
    • Tồn kho
    • Sản xuất
    • PLM
    • Mua hàng
    • Bảo dưỡng
    • Chất lượng
    Nhân sự
    • Nhân viên
    • Tuyển dụng
    • Ngày nghỉ
    • Đánh giá
    • Giới thiệu
    • Đội xe
    Marketing
    • Marketing trên MXH
    • Marketing qua email
    • Marketing qua SMS
    • Sự kiện
    • Tự động hóa Marketing
    • Khảo sát
    Dịch vụ
    • Dự án
    • Bảng chấm công
    • Dịch vụ hiện trường
    • Hỗ trợ
    • Kế hoạch
    • Lịch hẹn
    Năng suất
    • Thảo luận
    • Artificial Intelligence
    • IoT
    • VoIP
    • Kiến thức
    • WhatsApp
    Ứng dụng của bên thứ ba Studio Odoo Nền tảng Đám mây Odoo
  • Ngành
    Bán lẻ
    • Nhà sách
    • Cửa hàng quần áo
    • Cửa hàng nội thất
    • Cửa hàng tạp hóa
    • Cửa hàng đồ kim khí
    • Cửa hàng đồ chơi
    Ẩm thực & Dịch vụ lưu trú
    • Bar và quán rượu
    • Nhà hàng
    • Đồ ăn nhanh
    • Guest house
    • Nhà phân phối đồ uống
    • Khách sạn
    Bất động sản
    • Công ty môi giới bất động sản
    • Công ty kiến trúc
    • Xây dựng
    • Quản lý bất động sản
    • Làm vườn
    • Hiệp hội chủ sở hữu bất động sản
    Tư vấn
    • Công ty kế toán
    • Đối tác Odoo
    • Công ty marketing
    • Công ty luật
    • Tuyển dụng
    • Thanh tra & chứng nhận
    Sản xuất
    • Dệt may
    • Kim loại
    • Nội thất
    • Ẩm thực
    • Nhà máy bia
    • Quà tặng doanh nghiệp
    Sức khoẻ & fitness
    • CLB thể thao
    • Cửa hàng kính mắt
    • Trung tâm fitness
    • Chuyên gia chăm sóc sức khỏe
    • Hiệu thuốc
    • Tiệm làm tóc
    Thương mại
    • Dịch vụ sửa chữa
    • Phần cứng CNTT & Hỗ trợ
    • Hệ thống năng lượng mặt trời
    • Công ty sản xuất giày
    • Dịch vụ vệ sinh
    • Dịch vụ HVAC
    Khác
    • Tổ chức phi lợi nhuận
    • Cơ quan môi trường
    • Cho thuê biển quảng cáo
    • Nhiếp ảnh
    • Cho thuê xe đạp
    • Đại lý phần mềm
    Xem tất cả ngành
  • Cộng đồng
    Học tập
    • Khóa học
    • Tài liệu
    • Chứng chỉ
    • Đào tạo
    • Blog
    • Podcast
    Thúc đẩy đào tạo
    • Chương trình đào tạo
    • Trò chơi kinh doanh Scale Up!
    • Tham quan Odoo
    Nhận phần mềm
    • Tải xuống
    • So sánh các phiên bản
    • Phiên bản
    Hợp tác
    • Github
    • Diễn đàn
    • Sự kiện
    • Dịch thuật
    • Trở thành đối tác
    • Dịch vụ dành cho Đối tác
    • Đăng ký công ty kế toán của bạn
    Nhận dịch vụ
    • Tìm đối tác
    • Tìm kế toán
    • Gặp chuyên gia hỗ trợ
    • Dịch vụ Triển khai
    • Khách hàng tham khảo
    • Hỗ trợ
    • Nâng cấp
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Nhận một buổi demo
  • Bảng giá
  • Trợ giúp
Bạn cần phải đăng ký để tương tác với cộng đồng.
Tất cả bài viết Người Huy hiệu
Thẻ (Xem tất cả)
odoo accounting v14 pos v15
Về diễn đàn này
Bạn cần phải đăng ký để tương tác với cộng đồng.
Tất cả bài viết Người Huy hiệu
Thẻ (Xem tất cả)
odoo accounting v14 pos v15
Về diễn đàn này
Hỗ trợ

Error maximum recursion depth exceeded

Đăng ký nhận tin

Nhận thông báo khi có hoạt động trên bài viết này

Câu hỏi này đã bị gắn cờ
v7
2 Trả lời
12595 Lượt xem
Ảnh đại diện
gennaooep

When I want save my record on my form I ve this error .maximum recursion depth exceeded

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 399, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3604, in read result = self._read_flat(cr, user, select, fields, context, load) File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3724, in _read_flat res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res) File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\fields.py", line 1131, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\fields.py", line 1197, in _fnct_read value = value[field] or False File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 399, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3604, in read result = self._read_flat(cr, user, select, fields, context, load) File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3724, in _read_flat res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res) File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\fields.py", line 1131, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\fields.py", line 1197, in _fnct_read value = value[field] or False File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 399, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3604, in read result = self._read_flat(cr, user, select, fields, context, load) File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3724, in _read_flat res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res) File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\fields.py", line 1131, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\fields.py", line 1197, in _fnct_read value = value[field] or False File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 399, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3604, in read result = self._read_flat(cr, user, select, fields, context, load) File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3680, in _read_flat res2 = self.pool.get(table).read(cr, user, [x[col] for x in res], cols, context, load) File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3597, in read self.check_access_rights(cr, user, 'read') File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3878, in check_access_rights return self.pool.get('ir.model.access').check(cr, uid, self._name, operation, raise_exception) File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\tools\cache.py", line 18, in lookup r = self.lookup(self2, cr, args) File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\tools\cache.py", line 41, in lookup r = d[key] File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\tools\func.py", line 35, in wrapper return func(self, *args, *kwargs) File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\tools\lru.py", line 38, in __getitem__ self[a[0]] = a[1] File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\tools\func.py", line 35, in wrapper return func(self, args, *kwargs) File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\tools\lru.py", line 44, in __setitem__ del self[obj] File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\tools\func.py", line 37, in wrapper lock.release() File "C:\APPLI\Python27x86\lib\threading.py", line 151, in release self._note("%s.release(): non-final release", self) RuntimeError: maximum recursion depth exceeded

1
Ảnh đại diện
Huỷ bỏ
Sudhir Arya (ERP Harbor Consulting Services)

There can be many reasons which cause such error. One cannot predict what is wrong without looking at code. So you should post what kind of code you have done.

Ảnh đại diện
Gustavo
Câu trả lời hay nhất

Looks like there is a problem with the PTFMedicaleRA module. It enters a recursive function and does not get out of it

1
Ảnh đại diện
Huỷ bỏ
Ảnh đại diện
Martin
Câu trả lời hay nhất

I have formatted the traceback below to make it easier to recognize the repeated lines.

You need to examine your code and understand why it loops infinitely through these five lines :

  1. orm.py (399) -- read table
  2. orm.py (3604) -- read flat
  3. orm.py (3724) -- columns[f].get()
  4. fields.py (1131) -- execute anonymous function
  5. fields.py (1197) -- fnct_read value = value[field] or False

Line #5 apparently calls line #1, over and over again, without finding any reason to stop.

Are you certain that the variable f in line #3 is in fact being incremented (or decremented)? If neither, then you will know why your loop gets excremented.

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 399, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write")

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3604, in read result = self._read_flat(cr, user, select, fields, context, load)

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3724, in _read_flat res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\fields.py", line 1131, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context)

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\fields.py", line 1197, in _fnct_read value = value[field] or False



File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 399, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write")

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3604, in read result = self._read_flat(cr, user, select, fields, context, load)

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3724, in _read_flat res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res)

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\fields.py", line 1131, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) 

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\fields.py", line 1197, in _fnct_read value = value[field] or False 



File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 399, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") 

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3604, in read result = self._read_flat(cr, user, select, fields, context, load) 

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3724, in _read_flat res2 = self._columns[f].get(cr, self, ids, f, user, context=context, values=res) 

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\fields.py", line 1131, in get result = self._fnct(obj, cr, uid, ids, name, self._arg, context) File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\fields.py", line 1197, in _fnct_read value = value[field] or False 



File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 399, in __getitem__ field_values = self._table.read(self._cr, self._uid, ids, field_names, context=self._context, load="_classic_write") 

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3604, in read result = self._read_flat(cr, user, select, fields, context, load) 


File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3680, in _read_flat res2 = self.pool.get(table).read(cr, user, [x[col] for x in res], cols, context, load) 

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3597, in read self.check_access_rights(cr, user, 'read') 

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\osv\orm.py", line 3878, in check_access_rights return self.pool.get('ir.model.access').check(cr, uid, self._name, operation, raise_exception) 

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\tools\cache.py", line 18, in lookup r = self.lookup(self2, cr, args) 

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\tools\cache.py", line 41, in lookup r = d[key] 

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\tools\func.py", line 35, in wrapper return func(self, *args, *kwargs) 

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\tools\lru.py", line 38, in __getitem__ self[a[0]] = a[1] 

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\tools\func.py", line 35, in wrapper return func(self, args, *kwargs) 

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\tools\lru.py", line 44, in __setitem__ del self[obj] 

File "C:\Eclipse\workspace\epsv36\PTFMedicaleRA\openerp\tools\func.py", line 37, in wrapper lock.release() 

File "C:\APPLI\Python27x86\lib\threading.py", line 151, in release self._note("%s.release(): non-final release", self) RuntimeError: maximum recursion depth exceeded
1
Ảnh đại diện
Huỷ bỏ
Lorenzo Cabrini

Ah, the beauty of reformatted and syntax-highlighted stacktraces...

Martin

. . . able to leap tall buildings in a single bound! More powerful than a locomotive . . . IT'S superreadable.

gennaooep
Tác giả

I made another model

Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!

Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!

Đăng ký
Bài viết liên quan Trả lời Lượt xem Hoạt động
How to add a "Delete" button on the popup form? Đã xử lý
v7
Ảnh đại diện
Ảnh đại diện
1
thg 10 25
7186
Minimum Lot Charge For Sales Order Line Items
v7
Ảnh đại diện
0
thg 12 24
11845
Record Rule to allow a User to update their own Employee object without belonging to Officer group Đã xử lý
v7
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
3
thg 9 24
24198
How to activate the Technical Features? Đã xử lý
v7
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
5
thg 12 24
56986
Way to only allow a specific DB to be the default? Đã xử lý
v7
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
4
thg 7 24
13002
Cộng đồng
  • Khóa học
  • Tài liệu
  • Diễn đàn
Open source
  • Tải xuống
  • Github
  • Runbot
  • Dịch thuật
Dịch vụ
  • Lưu trữ Odoo.sh
  • Hỗ trợ
  • Nâng cấp
  • Phát triển tùy chỉnh
  • Đào tạo
  • Tìm kế toán
  • Tìm đối tác
  • Trở thành đối tác
Giới thiệu công ty
  • Công ty của chúng tôi
  • Tài sản thương hiệu
  • Liên hệ
  • Việc làm
  • Sự kiện
  • Podcast
  • Blog
  • Khách hàng
  • Pháp lý • Riêng tư
  • Bảo mật
الْعَرَبيّة 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 Svenska ภาษาไทย Türkçe українська Tiếng Việt

Odoo là bộ ứng dụng kinh doanh có open source đáp ứng tất cả các nhu cầu của công ty bạn: CRM, thương mại điện tử, kế toán, tồn kho, POS, quản lý dự án, v.v.

Định hướng giá trị riêng biệt của Odoo là tích hợp hoàn toàn và dễ dàng sử dụng.

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