Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

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

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
odoo accounting v14 pos v15
About this forum
Help

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

Subscribe

Get notified when there's activity on this post

This question has been flagged
res.partnerodoo10.0
3 Replies
7660 Views
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
Discard
Avatar
Mutz Clément
Author 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
Discard
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
Discard
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
Discard
Enjoying the discussion? Don't just read, join in!

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

Sign up
Related Posts Replies Views Activity
Odoo 10 and 11 inherit partner
upgrading res.partner odoo10.0
Avatar
Avatar
1
Aug 18
4326
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
7751
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
Oct 23
6775
How to install odoo 10 in ubuntu 20.04? Solved
odoo10.0
Avatar
Avatar
1
Sep 23
4085
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة 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