تخطي للذهاب إلى المحتوى
أودو القائمة
  • تسجيل الدخول
  • جرب مجاناً
  • التطبيقات
    المالية
    • المحاسبة
    • فوترة
    • النفقات
    • جدول البيانات (BI)
    • المستندات
    • توقيع إلكتروني
    المبيعات
    • إدارة علاقات العملاء
    • المبيعات
    • نقطة البيع للمتاجر
    • نقطة البيع للمطاعم
    • الاشتراكات
    • تأجير
    المواقع الإلكترونية
    • أداة بناء المواقع الإلكترونية
    • متاجر إلكترونية
    • مدونة
    • المنتدى
    • دردشة مباشرة
    • التعليم الإلكتروني
    سلسلة التوريد
    • المستودعات
    • التصنيع
    • إدارة دورة حياة المنتج
    • المشتريات
    • الصيانة
    • الجودة
    الموارد البشرية
    • موظفون
    • التوظيف
    • إجازة عمل
    • التقييمات
    • الإحالات
    • تطبيق الأسطول
    التسويق
    • التسويق الإجتماعي
    • التسويق عبر البريد الإلكتروني
    • التسويق عبر الرسائل النصية
    • فعاليات
    • أتمتة التسويق
    • الاستطلاعات
    الخدمات
    • المشاريع
    • الجداول الزمنية
    • الخدمة الميدانية
    • مكتب المساعدة
    • التخطيط
    • مواعيد
    اﻹنتاجية
    • مناقشة
    • الموافقات
    • إنترنت الأشياء "IoT"
    • بروتوكول ربط المحادثات الصوتية عبر الإنترنت
    • المعرفة
    • WhatsApp
    التطبيقات الخارجية ستوديو أودو منصة أودو السحابية
  • قطاعات الأعمال
    البيع بالتجزئة
    • متجر كتب
    • متجر ملابس
    • متجر أثاث
    • متجر بقالة
    • متجر معدات
    • متجر ألعاب
    الطعام والضيافة
    • بار وحانة
    • المطعم
    • مطعم للوجبات السريعة
    • نزل للضيوف
    • موزّع مشروبات
    • فندق
    العقارات
    • وكالة عقارات
    • شركة هندسة معمارية
    • البناء
    • إدارة العقارات
    • العناية بالحدائق
    • اتحاد مُلاّك العقارات
    استشارة
    • مؤسسة محاسبية
    • شريك أودو
    • وكالة تسويقية
    • منشأة قانونية
    • استقطاب المواهب
    • التدقيق والتوثيق
    التصنيع
    • الأقمشة
    • معدني
    • الأثاث
    • الطعام
    • مصنع خمور
    • هدايا الشركات
    الصحة واللياقة البدنية
    • نادي رياضي
    • متجر نظارات
    • مركز لياقة بدنية
    • الممارسون الصحيون
    • صيدلية
    • صالون تصفيف الشعر
    التجارة
    • عامل صيانة
    • الأجهزة والمعدات التقنية ودعمها
    • أنظمة الطاقة الشمسية
    • صانع أحذية
    • خدمات التنظيف
    • خدمات التكييف (HVAC)
    غير ذلك
    • منظمة غير ربحية
    • وكالة بيئية
    • تأجير لوحات إعلانية
    • تصوير
    • تأجير دراجات
    • بائع وسيط للبرمجيات
    تصفح كافة قطاعات الأعمال
  • مجتمع أودو
    تعلم
    • دروس
    • التوثيق
    • شهادات
    • التدريب
    • مدونة
    • بودكاست
    قم بتعزيز التعليم
    • برنامج تعليم
    • Scale UP! لعبة الأعمال
    • قم بزيارة أودو
    احصل على البرنامج
    • تحميل
    • قارنْ الإصدارات
    • إطلاق
    تعاون
    • جيت هاب "Github"
    • المنتدى
    • فعاليات
    • الترجمات
    • كنْ شريكاً
    • خدمات الشركاء
    • سجل مكتب المحاسبة الخاص بك
    احصل على الخدمات
    • اعثر على شريك
    • اعثر على محاسب
    • قابل أحد مرشدي الأعمال
    • خدمات التنفيذ
    • مراجع العملاء
    • الدعم
    • الترقيات
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    الحصول على عرض توضيحي
  • الأسعار
  • المساعدة

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

  • إدارة علاقات العملاء
  • e-Commerce
  • المحاسبة
  • المخزون
  • PoS
  • المشروع
  • MRP
All apps
يجب أن تكون مسجلاً حتى تتفاعل مع المجتمع.
كافة المنشورات الأفراد الشارات
علامات التصنيف (عرض الكل)
odoo accounting v14 pos v15
حول هذا المنتدى
يجب أن تكون مسجلاً حتى تتفاعل مع المجتمع.
كافة المنشورات الأفراد الشارات
علامات التصنيف (عرض الكل)
odoo accounting v14 pos v15
حول هذا المنتدى
المساعدة

TypeError: this.fields[item.fieldName] is undefined

اشتراك

تسلم الإشعارات عندما يكون هناك نشاط في هذا المنشور

لقد تم الإبلاغ عن هذا السؤال
typeerror
2 الردود
14698 أدوات العرض
الصورة الرمزية
Jason Wong

I was unable to open the timesheet app. If user tries to enter the timesheet menu, below error occurs and the entire screen is unresponsive. I suspect that it might be due to me removing some custom fields last night... How can I fix this? Any help will be greatly appreciated!!


Traceback:


Error:
TypeError: this.fields[item.fieldName] is undefined

https://packsmart.odoo.com/web/content/17726-dc6a184/web.assets_backend.js:1011
Traceback:
_prepareItem@https://packsmart.odoo.com/web/content/17726-dc6a184/web.assets_backend.js:1011:264
OdooClass.extend/</prototype[name]</<@https://packsmart.odoo.com/web/content/12313-a638e87/web.assets_common.js:3538:488
_.forEach@https://packsmart.odoo.com/web/content/12313-a638e87/web.assets_common.js:12:566
init@https://packsmart.odoo.com/web/content/17726-dc6a184/web.assets_backend.js:1009:1283
OdooClass.extend/</prototype[name]</<@https://packsmart.odoo.com/web/content/12313-a638e87/web.assets_common.js:3538:488
Class@https://packsmart.odoo.com/web/content/12313-a638e87/web.assets_common.js:3539:65
_createGroupByMenu@https://packsmart.odoo.com/web/content/17726-dc6a184/web.assets_backend.js:926:221
start/<@https://packsmart.odoo.com/web/content/17726-dc6a184/web.assets_backend.js:899:448
then/</</<@https://packsmart.odoo.com/web/content/12313-a638e87/web.assets_common.js:802:681
fire@https://packsmart.odoo.com/web/content/12313-a638e87/web.assets_common.js:796:299
add@https://packsmart.odoo.com/web/content/12313-a638e87/web.assets_common.js:797:471
then/</<@https://packsmart.odoo.com/web/content/12313-a638e87/web.assets_common.js:802:649
each@https://packsmart.odoo.com/web/content/12313-a638e87/web.assets_common.js:625:767
then/<@https://packsmart.odoo.com/web/content/12313-a638e87/web.assets_common.js:802:560
Deferred@https://packsmart.odoo.com/web/content/12313-a638e87/web.assets_common.js:803:194
then@https://packsmart.odoo.com/web/content/12313-a638e87/web.assets_common.js:802:525
start@https://packsmart.odoo.com/web/content/17726-dc6a184/web.assets_backend.js:899:62
_widgetRenderAndInsert/<@https://packsmart.odoo.com/web/content/12313-a638e87/web.assets_common.js:3684:52
then/</</<@https://packsmart.odoo.com/web/content/12313-a638e87/web.assets_common.js:802:681
fire@https://packsmart.odoo.com/web/content/12313-a638e87/web.assets_common.js:796:299
add@https://packsmart.odoo.com/web/content/12313-a638e87/web.assets_common.js:797:471
then/</<@https://packsmart.odoo.com/web/content/12313-a638e87/web.assets_common.js:802:649
each@https://packsmart.odoo.com/web/content/12313-a638e87/web.assets_common.js:625:767
then/<@https://packsmart.odoo.com/web/content/12313-a638e87/web.assets_common.js:802:560
Deferred@https://packsmart.odoo.com/web/content/12313-a638e87/web.assets_common.js:803:194
then@https://packsmart.odoo.com/web/content/12313-a638e87/web.assets_common.js:802:525
_widgetRenderAndInsert@https://packsmart.odoo.com/web/content/12313-a638e87/web.assets_common.js:3683:165
appendTo@https://packsmart.odoo.com/web/content/12313-a638e87/web.assets_common.js:3674:97
_createSearchView@https://packsmart.odoo.com/web/content/17726-dc6a184/web.assets_backend.js:495:365
_executeWindowAction/<@https://packsmart.odoo.com/web/content/17726-dc6a184/web.assets_backend.js:502:49
then/</</<@https://packsmart.odoo.com/web/content/12313-a638e87/web.assets_common.js:802:681
fire@https://packsmart.odoo.com/web/content/12313-a638e87/web.assets_common.js:796:299
fireWith@https://packsmart.odoo.com/web/content/12313-a638e87/web.assets_common.js:801:202
Deferred/</deferred[tuple[0]]@https://packsmart.odoo.com/web/content/12313-a638e87/web.assets_common.js:803:56
then/</</<@https://packsmart.odoo.com/web/content/12313-a638e87/web.assets_common.js:802:681
fire@https://packsmart.odoo.com/web/content/12313-a638e87/web.assets_common.js:796:299
fireWith@https://packsmart.odoo.com/web/content/12313-a638e87/web.assets_common.js:801:202
Deferred/</deferred[tuple[0]]@https://packsmart.odoo.com/web/content/12313-a638e87/web.assets_common.js:803:56
then/</</<@https://packsmart.odoo.com/web/content/12313-a638e87/web.assets_common.js:802:681
fire@https://packsmart.odoo.com/web/content/12313-a638e87/web.assets_common.js:796:299
fireWith@https://packsmart.odoo.com/web/content/12313-a638e87/web.assets_common.js:801:202
then/</</<@https://packsmart.odoo.com/web/content/12313-a638e87/web.assets_common.js:802:874
fire@https://packsmart.odoo.com/web/content/12313-a638e87/web.assets_common.js:796:299
fireWith@https://packsmart.odoo.com/web/content/12313-a638e87/web.assets_common.js:801:202
Deferred/</deferred[tuple[0]]@https://packsmart.odoo.com/web/content/12313-a638e87/web.assets_common.js:803:56
genericJsonRpc/<@https://packsmart.odoo.com/web/content/12313-a638e87/web.assets_common.js:3558:10
then/</</<@https://packsmart.odoo.com/web/content/12313-a638e87/web.assets_common.js:802:681
fire@https://packsmart.odoo.com/web/content/12313-a638e87/web.assets_common.js:796:299
fireWith@https://packsmart.odoo.com/web/content/12313-a638e87/web.assets_common.js:801:202
then/</</<@https://packsmart.odoo.com/web/content/12313-a638e87/web.assets_common.js:802:874
fire@https://packsmart.odoo.com/web/content/12313-a638e87/web.assets_common.js:796:299
fireWith@https://packsmart.odoo.com/web/content/12313-a638e87/web.assets_common.js:801:202
done@https://packsmart.odoo.com/web/content/12313-a638e87/web.assets_common.js:1192:95
callback@https://packsmart.odoo.com/web/content/12313-a638e87/web.assets_common.js:1212:23

------------------------------------------------------------------------------------

I am not fluent in js,but I opened the web debuger and the error seems to happen here:

/* /web/static/src/js/views/search/groupby_menu.js defined in bundle 'web.assets_backend' */
odoo.define('web.GroupByMenu',function(require){"use strict";var config=require('web.config');var core=require('web.core');var DropdownMenu=require('web.DropdownMenu');var QWeb=core.qweb;var _t=core._t;var GROUPABLE_TYPES=['many2one','char','boolean','selection','date','datetime'];var DEFAULT_INTERVAL='month';var GroupByMenu=DropdownMenu.extend({events:_.extend({},DropdownMenu.prototype.events,{'click .o_add_custom_group':'_onAddCustomGroupClick','click button.o_apply_group':'_onButtonApplyClick','click .o_group_selector':'_onGroupSelectorClick',}),init:function(parent,groupbys,fields,options){var self=this;this.fields=fields;this.generatorMenuIsOpen=false;this.intervalOptions=[{description:_t('Day'),optionId:'day',groupId:1},{description:_t('Week'),optionId:'week',groupId:1},{description:_t('Month'),optionId:'month',groupId:1},{description:_t('Quarter'),optionId:'quarter',groupId:1},{description:_t('Year'),optionId:'year',groupId:1},];this.defaultOptionId=DEFAULT_INTERVAL;this.groupableFields=[];_.each(fields,function(field,name){if(field.sortable&&_.contains(GROUPABLE_TYPES,field.type)){self.groupableFields.push(_.extend({},field,{name:name,isDate:_.contains(['date','datetime'],field.type),}));}});this.groupableFields=_.sortBy(this.groupableFields,'string');_.each(groupbys,this._prepareItem.bind(this));this.presentedFields=_.filter(this.groupableFields,function(field){var groupByFields=_.pluck(groupbys,'fieldName');return!_.contains(groupByFields,field.name);});this.isMobile=config.device.isMobile;var style;if(options&&options.headerStyle==='primary'){style={el:{class:'btn-group o_graph_groupbys_menu o_dropdown',attrs:{'role':'group'}},mainButton:{class:'btn btn-primary dropdown-toggle'},};}
var dropdownHeader={category:'groupByCategory',title:_t('Group By'),icon:'fa fa-bars',symbol:this.isMobile?'fa fa-chevron-right float-right mt4':false,style:style,};this._super(parent,dropdownHeader,groupbys,options);},start:function(){this._super.apply(this,arguments);this.$menu.addClass('o_group_by_menu');var $generatorMenu=QWeb.render('GroupbyMenuGenerator',{widget:this});this.$menu.append($generatorMenu);this.$addCustomGroup=this.$menu.find('.o_add_custom_group');},_addGroupby:function(fieldName){var field=_.findWhere(this.groupableFields,{name:fieldName});var groupbyName=_.uniqueId('__groupby__');var groupby={itemId:groupbyName,description:field.string,fieldName:fieldName,groupId:_.uniqueId('__group__'),isActive:true,};var eventData=_.clone(groupby);this._prepareItem(groupby);if(groupby.hasOptions){groupby.defaultOptionId=DEFAULT_INTERVAL;groupby.currentOptionId=DEFAULT_INTERVAL;groupby.isDate=true;eventData.optionId=groupby.currentOptionId;eventData.isDate=true;}
this.items.push(groupby);var fieldIndex=this.presentedFields.indexOf(field);this.presentedFields.splice(fieldIndex,1);this._renderGeneratorMenu();this._renderMenuItems();this.trigger_up('new_groupby',eventData);},_prepareItem:function(item){if(_.contains(['date','datetime'],this.fields[item.fieldName].type)){item.options=this.intervalOptions;}
this._super.apply(this,arguments);},_renderGeneratorMenu:function(){this.$el.find('.o_generator_menu').remove();var $generatorMenu=QWeb.render('GroupbyMenuGenerator',{widget:this});this.$menu.append($generatorMenu);this.$addCustomGroup=this.$menu.find('.o_add_custom_group');this.$groupSelector=this.$menu.find('.o_group_selector');},_toggleCustomGroupMenu:function(){this.generatorMenuIsOpen=!this.generatorMenuIsOpen;this._renderGeneratorMenu();this.$addCustomGroup.attr('aria-expanded',this.generatorMenuIsOpen);if(this.generatorMenuIsOpen){this.$groupSelector.focus();}},_onAddCustomGroupClick:function(event){event.preventDefault();event.stopPropagation();this._toggleCustomGroupMenu();},_onBootstrapClose:function(){this._super.apply(this,arguments);this.generatorMenuIsOpen=false;this._renderGeneratorMenu();},_onButtonApplyClick:function(event){event.stopPropagation();var fieldName=this.$groupSelector.val();this._addGroupby(fieldName);this._toggleCustomGroupMenu();},_onGroupSelectorClick:function(event){event.stopPropagation();},});return GroupByMenu;});;


0
الصورة الرمزية
إهمال
الصورة الرمزية
Jason Wong
الكاتب أفضل إجابة

Nevermind I figured it out!

For those who runs into the similar issue as I do...  Check the browser's console / debugger and try to trace back which file crashed - in my case a file called "groupby.js" so I know something is wrong in the search view. Turns out I had some studio customization there referring to a custom field I deleted.

0
الصورة الرمزية
إهمال
الصورة الرمزية
Andreas A
أفضل إجابة

Hi!

I got the same problem with model 'hr.resume.line' thanks for the insight!

0
الصورة الرمزية
إهمال
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!

أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!

تسجيل
المنشورات ذات الصلة الردود أدوات العرض النشاط
TypeError: this._tables.difference is not a function
typeerror
الصورة الرمزية
0
يوليو 25
3
TypeError: this.widget.active_view is null
typeerror
الصورة الرمزية
الصورة الرمزية
2
أغسطس 18
5225
implementing basic working owl.carousel.js in odoo results in "Uncaught TypeError: elem[type] is not a function"
typeerror
الصورة الرمزية
0
أبريل 16
9991
Why can't I add a product or contact in the demo?
typeerror
الصورة الرمزية
1
مارس 15
4055
type error unsupported operand types (s) تم الحل
typeerror
الصورة الرمزية
الصورة الرمزية
الصورة الرمزية
2
يناير 24
17892
المجتمع
  • دروس
  • التوثيق
  • المنتدى
مصدر مفتوح
  • تحميل
  • جيت هاب "Github"
  • المشغل الآلي رنبوت
  • الترجمات
خدماتنا
  • استضافة أودو إس إتش
  • الدعم
  • الترقية
  • التطويرات المخصصة
  • التعليم
  • اعثر على محاسب
  • اعثر على شريك
  • كنْ شريكاً
معلومات عنا
  • شركتنا
  • أصول العلامة التجارية
  • اتصلْ بنا
  • الوظائف
  • فعاليات
  • بودكاست
  • مدونة
  • عملاء
  • قانوني • الخصوصية
  • الحماية
الْعَرَبيّة 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

أودو هو عبارة عن مجموعة من تطبيقات الأعمال مفتوحة المصدر التي تغطي جميع احتياجات شركتك، مثل: إدارة علاقات العملاء والتجارة الإلكترونية والمحاسبة والمخزون ونقاط البيع وإدارة المشاريع وما إلى ذلك.

ما يجعل من أودو مميزاً هو هدفه بأن يكون سهل الاستخدام للغاية ومتكاملاً تمامًا في الوقت ذاته.

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