Skip to Content
Odoo Menu
  • Prihlásiť sa
  • Vyskúšajte zadarmo
  • Aplikácie
    Financie
    • Účtovníctvo
    • Fakturácia
    • Výdavky
    • Tabuľka (BI)
    • Dokumenty
    • Podpis
    Predaj
    • CRM
    • Predaj
    • POS Shop
    • POS Restaurant
    • Manažment odberu
    • Požičovňa
    Webstránky
    • Tvorca webstránok
    • eShop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Supply Chain
    • Sklad
    • Výroba
    • Správa životného cyklu produktu
    • Nákup
    • Údržba
    • Manažment kvality
    Ľudské zdroje
    • Zamestnanci
    • Nábor zamestnancov
    • Voľné dni
    • Hodnotenia
    • Odporúčania
    • Vozový park
    Marketing
    • Marketing sociálnych sietí
    • Email marketing
    • SMS marketing
    • Eventy
    • Marketingová automatizácia
    • Prieskumy
    Služby
    • Projektové riadenie
    • Pracovné výkazy
    • Práca v teréne
    • Helpdesk
    • Plánovanie
    • Schôdzky
    Produktivita
    • Tímová komunikácia
    • Schvalovania
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Priemyselné odvetvia
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Reštaurácia
    • Fast Food
    • Guest House
    • Beverage distributor
    • Hotel
    Reality
    • Real Estate Agency
    • Architecture Firm
    • Konštrukcia
    • Estate Managament
    • Gardening
    • Property Owner Association
    Poradenstvo
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Jedlo
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware and Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Iní
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Komunita
    Vzdelávanie
    • Tutoriály
    • Dokumentácia
    • Certifikácie
    • Školenie
    • Blog
    • Podcast
    Empower Education
    • Vzdelávací program
    • Scale Up! Business Game
    • Visit Odoo
    Softvér
    • Stiahnuť
    • Porovnanie Community a Enterprise vierzie
    • Releases
    Spolupráca
    • Github
    • Fórum
    • Eventy
    • Preklady
    • Staň sa partnerom
    • Services for Partners
    • Register your Accounting Firm
    Služby
    • Nájdite partnera
    • Nájdite účtovníka
    • Meet an advisor
    • Implementation Services
    • Zákaznícke referencie
    • Podpora
    • Upgrades
    ​Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Získajte demo
  • Cenník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účtovníctvo
  • Sklady
  • PoS
  • Projektové riadenie
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
Pomoc

Odoo 10.0 "ProgrammingError: ERREUR: la colonne res_partner.comment_template_id n'existe pas" Exception after upgrade

Odoberať

Get notified when there's activity on this post

This question has been flagged
res.partnerodoo10.0
3 Replies
7640 Zobrazenia
Avatar
Mutz Clément

Hello,

When I want upgrade my modules with the command :  python odoo-bin -u all -d "MY_DATABASE" --config=/etc/odoo-server.conf

When I want upgrade my modules with the command : 

 python odoo-bin -u all -d "MY_DATABASE" --config=/etc/odoo-server.conf

I have this error : 

2018-05-24 08:33:44,155 3873 ERROR NCS_PROD_BASE_pour_test_new-module odoo.addons.base.ir.ir_cron: Unexpected exception while processing cron job {'function': u'_vacuum_report', 'create_uid': 1, 'a
rgs': u'(24,)', 'create_date': '2018-01-05 10:23:44.147907', 'name': u'Vacuum temporary reports', 'interval_number': 4, 'interval_type': u'hours', 'numbercall': -1, 'nextcall': '2018-05-22 18:23:46
', 'priority': 5, 'doall': False, 'write_date': '2018-01-05 10:23:44.147907', 'active': True, 'user_id': 1, 'model': u'mis.report.instance', 'write_uid': 1, 'id': 20}
Traceback (most recent call last):
  File "/opt/odoo/server/odoo/addons/base/ir/ir_cron.py", line 250, in _process_jobs
    registry[cls._name]._process_job(job_cr, job, lock_cr)
  File "/opt/odoo/server/odoo/addons/base/ir/ir_cron.py", line 156, in _process_job
    now = fields.Datetime.context_timestamp(cron, datetime.now())
  File "/opt/odoo/server/odoo/fields.py", line 1576, in context_timestamp
    tz_name = record._context.get('tz') or record.env.user.tz
  File "/opt/odoo/server/odoo/fields.py", line 915, in __get__
    self.determine_value(record)
  File "/opt/odoo/server/odoo/fields.py", line 1027, in determine_value
    self.compute_value(recs)
  File "/opt/odoo/server/odoo/fields.py", line 981, in compute_value
    self._compute_value(records)
  File "/opt/odoo/server/odoo/fields.py", line 974, in _compute_value
    self.compute(records)
  File "/opt/odoo/server/odoo/fields.py", line 625, in _compute_related
    record[self.name] = value[self.related_field.name]
  File "/opt/odoo/server/odoo/models.py", line 5232, in __getitem__
    return self._fields[key].__get__(self, type(self))
  File "/opt/odoo/server/odoo/fields.py", line 915, in __get__
    self.determine_value(record)
  File "/opt/odoo/server/odoo/fields.py", line 1017, in determine_value
    record._prefetch_field(self)
  File "/opt/odoo/server/odoo/models.py", line 3073, in _prefetch_field
    result = records.read([f.name for f in fs], load='_classic_write')
  File "/opt/odoo/server/odoo/models.py", line 3017, in read
    self._read_from_database(stored, inherited)
  File "/opt/odoo/extra-addons/odoo_addons/smile_audit/models/models.py", line 30, in _read_from_database
    native_read_from_database(self, field_names, inherited_field_names=[])
  File "/opt/odoo/server/odoo/models.py", line 3141, in _read_from_database
    cr.execute(query_str, params)
  File "/opt/odoo/server/odoo/sql_db.py", line 154, in wrapper
    return f(self, *args, **kwargs)
  File "/opt/odoo/server/odoo/sql_db.py", line 231, in execute
    res = self._obj.execute(query, params)
ProgrammingError: ERREUR:  la colonne res_partner.comment_template_id n'existe pas
LINE 1: ...,"res_partner"."sale_warn_msg" as "sale_warn_msg","res_partn...

My file /etc/odoo-server.conf :

[options]
proxy_mode = True
db_maxconn = 64
limit-memory-soft = 5760MB
limit-memory-hard = 6912MB
update = all
xmlrpc = True
xmlrpc_interface = 0.0.0.0
xmlrpc_port = 8069
; This is the password that allows database operations:
admin_passwd = "*****"
db_host = False
db_port = False
db_user = odoo
db_password = False
addons_path = /opt/odoo/server/addons,/opt/odoo/emipro-addons,/opt/odoo/extra-addons,/opt/odoo/dev-addons,/opt/odoo/test-addons,/opt/odoo/oca-addons,/opt/odoo/extra-addons/backend_theme,/opt/odoo/oca-addons/server-tools,/opt/odoo/oca-addons/account-financial-reporting,/opt/odoo/oca-addons/account-financial-tools,/opt/odoo/oca-addons/account-fiscal-rule,/opt/odoo/oca-addons/account-invoice-reporting,/opt/odoo/oca-addons/account-invoicing,/opt/odoo/oca-addons/bank-payment,/opt/odoo/oca-addons/bank-statement-reconcile,/opt/odoo/oca-addons/community-data-files,/opt/odoo/oca-addons/connector-telephony,/opt/odoo/oca-addons/contract,/opt/odoo/oca-addons/crm,/opt/odoo/oca-addons/e-commerce,/opt/odoo/oca-addons/knowledge,/opt/odoo/oca-addons/l10n-france,/opt/odoo/oca-addons/manufacture,/opt/odoo/oca-addons/multi-company,/opt/odoo/oca-addons/operating-unit,/opt/odoo/oca-addons/partner-contact,/opt/odoo/oca-addons/product-attribute,/opt/odoo/oca-addons/project,/opt/odoo/oca-addons/reporting-engine,/opt/odoo/oca-addons/rma,/opt/odoo/oca-addons/sale-workflow,/opt/odoo/oca-addons/server-tools,/opt/odoo/oca-addons/social,/opt/odoo/oca-addons/stock-logistics-warehouse,/opt/odoo/oca-addons/stock-logistics-workflow,/opt/odoo/oca-addons/survey,/opt/odoo/oca-addons/web,/opt/odoo/oca-addons/website,/opt/odoo/oca-addons/product-variant,/opt/odoo/oca-addons/purchase-workflow,/opt/odoo/oca-addons/account-closing,/opt/odoo/oca-addons/account-payment,/opt/odoo/oca-addons/purchase-workflow,/opt/odoo/oca-addons/business-requirement,/opt/odoo/extra-addons/access-addons,/opt/odoo/extra-addons/mail-addons,/opt/odoo/extra-addons/misc-addons,/opt/odoo/extra-addons/Odoo10,/opt/odoo/extra-addons/odoo-apps,/opt/odoo/extra-addons/PRISME-ODOO,/opt/odoo/extra-addons/website-addons,/opt/odoo/oca-addons/intrastat,/opt/odoo/oca-addons/bank-statement-import,/opt/odoo/extra-addons/tko-addons,/opt/odoo/extra-addons/odoo_addons,/opt/odoo/extra-addons/niboo-community,/opt/odoo/oca-addons/mis-builder,/opt/odoo/extra-addons/odoo_apps_public/,/opt/odoo/oca-addons/sale-reporting,/opt/odoo/oca-addons/hr-timesheet,/opt/odoo/oca-addons/commission,/opt/odoo/oca-addons/stock-logistics-barcode,/opt/odoo/extra-addons/Auneor-apps,/opt/odoo/extra-addons/addons-konos,/opt/odoo/extra-addons/purchase_subscription,/opt/odoo/extra-addons/muk_dms,/opt/odoo/extra-addons/odoo-mooncard-connector,/opt/odoo/extra-addons/odoo-usability,/opt/odoo/extra-addons/picking_create_invoice,/opt/odoo/extra-addons/one2many_mass_select_delete,/opt/odoo/extra-addons/stock_force_date,/opt/odoo/oca-addons/hr,/opt/odoo/extra-addons/noviat-apps
logfile = /var/log/odoo/odoo-server.log
load="web, mail_tracking, web_kanban, dbfilter_from_header"
log-level=debug
limit_time_cpu = 60
limit_time_real = 120

Maybe I miss something but tell me you need more information. I'm learning odoo.

Thank you
Regards,
Clement
0
Avatar
Zrušiť
Avatar
Mutz Clément
Autor Best Answer

Thank you for your answer.

I droped smilte_audit and did again

 ./odoo-bin -u all -d MY_DATABASE --addons=/opt/odoo/server/addons,/opt/odoo/extra-addons

So now I have this error ...

2018-05-24 14:22:07,456 28701 DATABASE odoo.addons.base.ir.ir_cron: Unexpected exception while processing cron job {'function': u'_fetch_mails', 'create_uid': 1, 'args': u'()', 'create_date': '2017-05-1
0 15:32:23.650244', 'name': u'Fetchmail Service', 'interval_number': 5, 'interval_type': u'minutes', 'numbercall': -1, 'nextcall': '2018-05-24 13:27:23', 'priority': 5, 'doall': False, 'write_date': '2017-05-16
10:02:34.532867', 'active': True, 'user_id': 1, 'model': u'fetchmail.server', 'write_uid': 1, 'id': 4}
Traceback (most recent call last):
  File "/opt/odoo/server/odoo/addons/base/ir/ir_cron.py", line 250, in _process_jobs
    registry[cls._name]._process_job(job_cr, job, lock_cr)
  File "/opt/odoo/server/odoo/addons/base/ir/ir_cron.py", line 156, in _process_job
    now = fields.Datetime.context_timestamp(cron, datetime.now())
  File "/opt/odoo/server/odoo/fields.py", line 1576, in context_timestamp
    tz_name = record._context.get('tz') or record.env.user.tz
  File "/opt/odoo/server/odoo/fields.py", line 915, in __get__
    self.determine_value(record)
  File "/opt/odoo/server/odoo/fields.py", line 1027, in determine_value
    self.compute_value(recs)
  File "/opt/odoo/server/odoo/fields.py", line 981, in compute_value
    self._compute_value(records)
  File "/opt/odoo/server/odoo/fields.py", line 974, in _compute_value
    self.compute(records)
  File "/opt/odoo/server/odoo/fields.py", line 625, in _compute_related
    record[self.name] = value[self.related_field.name]
  File "/opt/odoo/server/odoo/models.py", line 5232, in __getitem__
    return self._fields[key].__get__(self, type(self))
  File "/opt/odoo/server/odoo/fields.py", line 915, in __get__
    self.determine_value(record)
  File "/opt/odoo/server/odoo/fields.py", line 1017, in determine_value
    record._prefetch_field(self)
  File "/opt/odoo/server/odoo/models.py", line 3073, in _prefetch_field
    result = records.read([f.name for f in fs], load='_classic_write')
  File "/opt/odoo/server/odoo/models.py", line 3017, in read
    self._read_from_database(stored, inherited)
  File "/opt/odoo/server/odoo/models.py", line 3141, in _read_from_database
    cr.execute(query_str, params)
  File "/opt/odoo/server/odoo/sql_db.py", line 154, in wrapper
    return f(self, *args, **kwargs)
  File "/opt/odoo/server/odoo/sql_db.py", line 231, in execute
    res = self._obj.execute(query, params)
ProgrammingError: ERREUR:  la colonne res_partner.comment_template_id n'existe pas
LINE 1: ..." as "sale_warn_msg","res_partner"."zip" as "zip","res_partn...

Have you an idea ?

Regards,

Clement


0
Avatar
Zrušiť
Avatar
ayman mohammed adam
Best Answer

Dear Mutz

Try This command


 
 ./odoo-bin -u all -d MY_DATABASE --addons=/opt/odoo/server/addons,/opt/odoo/extra-addons

I Hope I helped You

0
Avatar
Zrušiť
Avatar
Ermin Trevisan
Best Answer

You have deployed a faulty module, most probably "smile_audit". Please read the error message and correct it.

By the way it is not necessary to specify the path to each module separately in the .conf file.

-1
Avatar
Zrušiť
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registrácia
Related Posts Replies Zobrazenia Aktivita
Odoo 10 and 11 inherit partner
upgrading res.partner odoo10.0
Avatar
Avatar
1
aug 18
4323
How do I add a custom field to item's name in dropdown list.
res.partner sales.order odoo10.0
Avatar
Avatar
2
feb 18
7733
count number of records based on condition Solved
odoo10.0
Avatar
Avatar
1
nov 24
21279
Domain for res.partner having which are tagged with users ? Solved
res.partner
Avatar
Avatar
2
okt 23
6773
How to install odoo 10 in ubuntu 20.04? Solved
odoo10.0
Avatar
Avatar
1
sep 23
4074
Komunita
  • Tutoriály
  • Dokumentácia
  • Fórum
Open Source
  • Stiahnuť
  • Github
  • Runbot
  • Preklady
Služby
  • Odoo.sh hosting
  • Podpora
  • Vyššia verzia
  • Custom Developments
  • Vzdelávanie
  • Nájdite účtovníka
  • Nájdite partnera
  • Staň sa partnerom
O nás
  • Naša spoločnosť
  • Majetok značky
  • Kontaktujte nás
  • Pracovné ponuky
  • Eventy
  • Podcast
  • Blog
  • Zákazníci
  • Právne dokumenty • Súkromie
  • Bezpečnosť
الْعَرَبيّة 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 je sada podnikových aplikácií s otvoreným zdrojovým kódom, ktoré pokrývajú všetky potreby vašej spoločnosti: CRM, e-shop, účtovníctvo, skladové hospodárstvo, miesto predaja, projektový manažment atď.

Odoo prináša vysokú pridanú hodnotu v jednoduchom použití a súčasne plne integrovanými biznis aplikáciami.

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