Skip to Content
Odoo Menu
  • Prijavi
  • Try it free
  • Aplikacije
    Finance
    • Knjigovodstvo
    • Obračun
    • Stroški
    • Spreadsheet (BI)
    • Dokumenti
    • Podpisovanje
    Prodaja
    • CRM
    • Prodaja
    • POS Shop
    • POS Restaurant
    • Naročnine
    • Najem
    Spletne strani
    • Website Builder
    • Spletna trgovina
    • Blog
    • Forum
    • Pogovor v živo
    • eUčenje
    Dobavna veriga
    • Zaloga
    • Proizvodnja
    • PLM
    • Nabava
    • Vzdrževanje
    • Kakovost
    Kadri
    • Kadri
    • Kadrovanje
    • Odsotnost
    • Ocenjevanja
    • Priporočila
    • Vozni park
    Marketing
    • Družbeno Trženje
    • Email Marketing
    • SMS Marketing
    • Dogodki
    • Avtomatizacija trženja
    • Ankete
    Storitve
    • Projekt
    • Časovnice
    • Storitve na terenu
    • Služba za pomoč
    • Načrtovanje
    • Termini
    Produktivnost
    • Razprave
    • Odobritve
    • IoT
    • Voip
    • Znanje
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industrije
    Trgovina na drobno
    • Book Store
    • Trgovina z oblačili
    • Trgovina s pohištvom
    • Grocery Store
    • Trgovina s strojno opremo računalnikov
    • Trgovina z igračami
    Food & Hospitality
    • Bar and Pub
    • Restavracija
    • Hitra hrana
    • Guest House
    • Beverage Distributor
    • Hotel
    Nepremičnine
    • Real Estate Agency
    • Arhitekturno podjetje
    • Gradbeništvo
    • Estate Management
    • Vrtnarjenje
    • Združenje lastnikov nepremičnin
    Svetovanje
    • Računovodsko podjetje
    • Odoo Partner
    • Marketinška agencija
    • Law firm
    • Pridobivanje talentov
    • Audit & Certification
    Proizvodnja
    • Tekstil
    • Metal
    • Pohištvo
    • Hrana
    • Brewery
    • Poslovna darila
    Health & Fitness
    • Športni klub
    • Trgovina z očali
    • Fitnes center
    • Wellness Practitioners
    • Lekarna
    • Frizerski salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Sistemi sončne energije
    • Izdelovalec čevljev
    • Čistilne storitve
    • HVAC Services
    Ostali
    • Neprofitna organizacija
    • Agencija za okolje
    • Najem oglasnih panojev
    • Fotografija
    • Najem koles
    • Prodajalec programske opreme
    Browse all Industries
  • Skupnost
    Learn
    • Tutorials
    • Dokumentacija
    • Certifikati
    • Šolanje
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Prenesi
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Dogodki
    • Prevodi
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Sklici kupca
    • Podpora
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Določanje cen
  • Pomoč

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

  • CRM
  • e-Commerce
  • Knjigovodstvo
  • Zaloga
  • PoS
  • Projekt
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
Pomoč

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

Naroči se

Get notified when there's activity on this post

This question has been flagged
res.partnerodoo10.0
3 Odgovori
7657 Prikazi
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
Opusti
Avatar
Mutz Clément
Avtor 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
Opusti
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
Opusti
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
Opusti
Enjoying the discussion? Don't just read, join in!

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

Prijavi
Related Posts Odgovori Prikazi Aktivnost
Odoo 10 and 11 inherit partner
upgrading res.partner odoo10.0
Avatar
Avatar
1
avg. 18
4325
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
7747
count number of records based on condition Solved
odoo10.0
Avatar
Avatar
1
nov. 24
21289
Domain for res.partner having which are tagged with users ? Solved
res.partner
Avatar
Avatar
2
okt. 23
6774
How to install odoo 10 in ubuntu 20.04? Solved
odoo10.0
Avatar
Avatar
1
sep. 23
4082
Community
  • Tutorials
  • Dokumentacija
  • Forum
Open Source
  • Prenesi
  • Github
  • Runbot
  • Prevodi
Services
  • Odoo.sh Hosting
  • Podpora
  • Nadgradnja
  • Custom Developments
  • Izobraževanje
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Sredstva blagovne znamke
  • Kontakt
  • Zaposlitve
  • Dogodki
  • Podcast
  • Blog
  • Stranke
  • Pravno • Zasebnost
  • Varnost
الْعَرَبيّة 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