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

"HINT: Perhaps you need a different "datestyle" setting." error during installation of ODOO 9

Subscribe

Get notified when there's activity on this post

This question has been flagged
purchaseinstallationrepairodoo9
2 Replies
12706 Views
Avatar
omkar

Hello,

I'm trying to install the modules , While installation I'm facing the below issue.

I referred some blogs and set the PostgreSQL Date format as datestyle=(iso,dmy)

######################### Error ############################

Odoo Server Error

Traceback (most recent call last):

File "/opt/odoo/openerp/http.py", line 599, in _handle_exception

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

File "/opt/odoo/openerp/http.py", line 636, in dispatch

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

File "/opt/odoo/openerp/http.py", line 315, in _call_function

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

File "/opt/odoo/openerp/service/model.py", line 118, in wrapper

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

File "/opt/odoo/openerp/http.py", line 308, in checked_call

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

File "/opt/odoo/openerp/http.py", line 887, in __call__

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

File "/opt/odoo/openerp/http.py", line 465, in response_wrap

response = f(*args, **kw)

File "/opt/odoo/addons/web/controllers/main.py", line 975, in call_button

action = self._call_kw(model, method, args, {})

File "/opt/odoo/addons/web/controllers/main.py", line 963, in _call_kw

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

File "/opt/odoo/openerp/api.py", line 232, in wrapper

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

File "/opt/odoo/openerp/addons/base/module/module.py", line 459, in button_immediate_install

return self._button_immediate_function(cr, uid, ids, self.button_install, context=context)

File "/opt/odoo/openerp/api.py", line 232, in wrapper

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

File "/opt/odoo/openerp/addons/base/module/module.py", line 533, in _button_immediate_function

registry = openerp.modules.registry.RegistryManager.new(cr.dbname, update_module=True)

File "/opt/odoo/openerp/modules/registry.py", line 385, in new

openerp.modules.load_modules(registry._db, force_demo, status, update_module)

File "/opt/odoo/openerp/modules/loading.py", line 337, in load_modules

loaded_modules, update_module)

File "/opt/odoo/openerp/modules/loading.py", line 237, in load_marked_modules

loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)

File "/opt/odoo/openerp/modules/loading.py", line 156, in load_module_graph

_load_data(cr, module_name, idref, mode, kind='data')

File "/opt/odoo/openerp/modules/loading.py", line 98, in _load_data

tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report)

File "/opt/odoo/openerp/tools/convert.py", line 852, in convert_file

convert_xml_import(cr, module, fp, idref, mode, noupdate, report)

File "/opt/odoo/openerp/tools/convert.py", line 939, in convert_xml_import

obj.parse(doc.getroot(), mode=mode)

File "/opt/odoo/openerp/tools/convert.py", line 802, in parse

self.parse(rec, mode)

File "/opt/odoo/openerp/tools/convert.py", line 805, in parse

self._tags[rec.tag](self.cr, rec, de, mode=mode)

File "/opt/odoo/openerp/tools/convert.py", line 709, in _tag_record

id = self.pool['ir.model.data']._update(cr, self.uid, rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode, context=rec_context )

File "/opt/odoo/openerp/api.py", line 232, in wrapper

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

File "/opt/odoo/openerp/addons/base/ir/ir_model.py", line 1107, in _update

res_id = model_obj.create(cr, uid, values, context=context)

File "/opt/odoo/openerp/api.py", line 232, in wrapper

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

File "/opt/odoo/addons/project/project.py", line 647, in create

task_id = super(task, self).create(cr, uid, vals, context=create_context)

File "/opt/odoo/openerp/api.py", line 232, in wrapper

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

File "/opt/odoo/openerp/api.py", line 327, in old_api

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

File "/opt/odoo/addons/mail/models/mail_thread.py", line 230, in create

thread = super(MailThread, self).create(values)

File "/opt/odoo/openerp/api.py", line 230, in wrapper

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

File "/opt/odoo/openerp/models.py", line 4130, in create

record = self.browse(self._create(old_vals))

File "/opt/odoo/openerp/api.py", line 230, in wrapper

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

File "/opt/odoo/openerp/api.py", line 463, in new_api

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

File "/opt/odoo/openerp/models.py", line 4268, in _create

tuple([u[2] for u in updates if len(u) > 2])

File "/opt/odoo/openerp/sql_db.py", line 139, in wrapper

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

File "/opt/odoo/openerp/sql_db.py", line 215, in execute

res = self._obj.execute(query, params)

ParseError: "date/time field value out of range: "2015-13-01"

LINE 1: ... 'normal', 1, 'You can set a deadline on a task', '2015-13-0...

^

HINT: Perhaps you need a different "datestyle" setting.

" while parsing /opt/odoo/addons/project/project_data.xml:293, near

<record id="project_task_data_11" model="project.task">

<field name="user_id" ref="base.user_root"/>

<field name="priority">0</field>

<field name="project_id" ref="project.project_project_data"/>

<field name="name">You can set a deadline on a task</field>

<field name="stage_id" ref="project_stage_data_1"/>

<field name="date_deadline" eval="'2015-%s-01' %(datetime.now().month+1)"/>

</record>

0
Avatar
Discard
TKF

Hello, Is it a custom module ?

omkar
Author

NO yaar. I tried to install odoo default modules.

Avatar
Ermin Trevisan
Best Answer

This was a bug, when installing with demo data. It is fixed since 3 days, see https://github.com/odoo/odoo/issues/9826

0
Avatar
Discard
omkar
Author

Ermin Trevisan , Already check with the comment, No use of that.

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
No module named PyPDF2 Solved
installation odoo9
Avatar
Avatar
Avatar
3
May 24
20400
Repair Order with associated Sales Order - parts demand duplicated
purchase inventory repair
Avatar
0
Oct 25
517
Error while installing modules. It comes with the following error and the module stays on Cancel Install. Solved
installation modules odoo9
Avatar
Avatar
Avatar
3
Apr 21
9621
Clean install odoo 9 does not work
installation odoo9 odoo9.0
Avatar
Avatar
Avatar
6
Jun 16
7166
Error in website_portal_sale module in Odoo9?
installation odoo9 odoo9.0
Avatar
0
Feb 16
4086
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