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
    • Phê duyệt
    • 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

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

  • CRM
  • e-Commerce
  • Kế toán
  • Tồn kho
  • PoS
  • Dự án
  • MRP
All apps
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ợ

CRM: Error Viewing Customer's Data

Đă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ờ
crmodoo
2 Trả lời
4210 Lượt xem
Ảnh đại diện
Ralph

After logging into Odoo, navigating to the Customer's list under Sales, I get the following error when I click on any of the listed customers. This is happening for only a few users. I'm unable to make sense of the error. Can someone tell me how to go about resolving this? Any help is appreciated. 


Odoo Server Error Traceback (most recent call last):

  File "/squashng/squashng-server/openerp/http.py", line 643, in _handle_exception

    return super(JsonRequest, self)._handle_exception(exception)

  File "/squashng/squashng-server/openerp/http.py", line 680, in dispatch

    result = self._call_function(**self.params)

  File "/squashng/squashng-server/openerp/http.py", line 316, in _call_function

    return checked_call(self.db, *args, **kwargs)

  File "/squashng/squashng-server/openerp/service/model.py", line 118, in wrapper

    return f(dbname, *args, **kwargs)

  File "/squashng/squashng-server/openerp/http.py", line 309, in checked_call

    result = self.endpoint(*a, **kw)

  File "/squashng/squashng-server/openerp/http.py", line 959, in __call__

    return self.method(*args, **kw)

  File "/squashng/squashng-server/openerp/http.py", line 509, in response_wrap

    response = f(*args, **kw)

  File "/squashng/squashng-server/addons/web/controllers/main.py", line 896, in call_kw

    return self._call_kw(model, method, args, kwargs)

  File "/squashng/squashng-server/addons/web/controllers/main.py", line 888, in _call_kw

    return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)

  File "/squashng/squashng-server/openerp/api.py", line 250, in wrapper

    return old_api(self, *args, **kwargs)

  File "/squashng/squashng-server/openerp/addons/base/res/res_partner.py", line 295, in fields_view_get

    res = super(res_partner,self).fields_view_get(cr, user, view_id=view_id, view_type=view_type, context=context, toolbar=toolbar, submenu=submenu)

  File "/squashng/squashng-server/openerp/api.py", line 250, in wrapper

    return old_api(self, *args, **kwargs)

  File "/squashng/squashng-server/openerp/api.py", line 354, in old_api

    result = method(recs, *args, **kwargs)

  File "/squashng/squashng-server/addons/mail/models/mail_thread.py", line 366, in fields_view_get

    res = super(MailThread, self).fields_view_get(view_id=view_id, view_type=view_type, toolbar=toolbar, submenu=submenu)

  File "/squashng/squashng-server/openerp/api.py", line 248, in wrapper

    return new_api(self, *args, **kwargs)

  File "/squashng/squashng-server/openerp/api.py", line 490, in new_api

    result = method(self._model, cr, uid, *args, **old_kwargs)

  File "/squashng/squashng-server/openerp/models.py", line 1536, in fields_view_get

    root_view = View.read_combined(cr, uid, view_id, fields=['id', 'name', 'field_parent', 'type', 'model', 'arch'], context=context)

  File "/squashng/squashng-server/openerp/api.py", line 250, in wrapper

    return old_api(self, *args, **kwargs)

  File "/squashng/squashng-server/openerp/addons/base/ir/ir_ui_view.py", line 661, in read_combined

    cr, uid, arch_tree, root_id, base.model, context=context)

  File "/squashng/squashng-server/openerp/api.py", line 250, in wrapper

    return old_api(self, *args, **kwargs)

  File "/squashng/squashng-server/openerp/addons/base/ir/ir_ui_view.py", line 609, in apply_view_inheritance

    source = self.apply_inheritance_specs(cr, uid, source, specs_tree, view_id, context=context)

  File "/squashng/squashng-server/openerp/api.py", line 250, in wrapper

    return old_api(self, *args, **kwargs)

  File "/squashng/squashng-server/openerp/addons/base/ir/ir_ui_view.py", line 587, in apply_inheritance_specs

    self.raise_view_error(cr, uid, _("Element '%s' cannot be located in parent view") % tag, inherit_id, context=context)

  File "/squashng/squashng-server/openerp/api.py", line 250, in wrapper

    return old_api(self, *args, **kwargs)

  File "/squashng/squashng-server/openerp/addons/base/ir/ir_ui_view.py", line 463, in raise_view_error

    raise AttributeError(message)

AttributeError: Element '<xpath expr="//field[@name='debit']">' cannot be located in parent view


Error context:

View `res.partner`

[view_id: 1383, xml_id: invoice_payment_receipt.view_partner_form_send_invoice_payment_inherit_id, model: res.pa

0
Ảnh đại diện
Huỷ bỏ
Ảnh đại diện
Ralph
Tác giả Câu trả lời hay nhất

@Jainseh 

Thank you for responding. How do I go about ensuring that the inherit_id and reference is correct? The error references too many files so I'm not sure which file to apply the change. 

I understand that I should try using before, replace or attributes in between the double quotes for position, correct?

0
Ảnh đại diện
Huỷ bỏ
Jainesh Shah(Aktiv Software)

When you turn the debug mode on from Settings, you can edit form view as well as tree view from the GUI, there you will find the view_id and the same id shall be used in inherit_id as reference.

Ảnh đại diện
Jainesh Shah(Aktiv Software)
Câu trả lời hay nhất

Hey Ralph,

You need to make sure that the inherit_id and and the reference given by you is correct.  Also, make sure that the record id is not duplicated anywhere and try giving proper xpath with exact location.

Please refer the following code:

<xpath expr="//page/page/group/group/field[@name='debit'] position="">

</xpath>

*You can give after, before, replace or attributes in position.

I hope this will help you!

Regards


0
Ảnh đại diện
Huỷ bỏ
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
Seeking Advice on Listing Internet Providers and Integrating Lead Forms in Odoo
crm ecommerce odoo
Ảnh đại diện
0
thg 3 24
1924
CRM ODOO Đã xử lý
crm pricing odoo
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
3
thg 4 19
3794
How change default state for crm.phonecall
crm odoo odooV8
Ảnh đại diện
0
thg 4 15
5078
odoo mobile crm launch Đã xử lý
crm mobile odoo
Ảnh đại diện
Ảnh đại diện
Ảnh đại diện
2
thg 3 15
5879
(!!C-o-p-a!!)¿Cómo comunicarse con Copa Airlines en Panamá?
odoo
Ảnh đại diện
0
thg 11 25
211
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 ภาษาไทย 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