Skip to Content
Menu
This question has been flagged
2 Replies
2761 Views

I get the following error while installing an app


Odoo Server Error

Traceback (most recent call last):
  File "C:\Program Files (x86)\Odoo 9.0-20160708\server\.\openerp\http.py", line 646, in _handle_exception
  File "C:\Program Files (x86)\Odoo 9.0-20160708\server\.\openerp\http.py", line 1629, in _dispatch_nodb
  File "werkzeug\routing.pyc", line 1433, in match
NotFound: 404: Not Found
Avatar
Discard

Please provide more information.

Hello, did you get any solution for this

Author Best Answer

I have Odoo version 9 in windows server. I installed advanced payroll and now trying to install Payroll accounting and Indian payroll. I get the following error

Odoo Server Error

Traceback (most recent call last):
  File "C:\Program Files (x86)\Odoo 9.0-20160708\server\.\openerp\http.py", line 646, in _handle_exception
  File "C:\Program Files (x86)\Odoo 9.0-20160708\server\.\openerp\http.py", line 683, in dispatch
  File "C:\Program Files (x86)\Odoo 9.0-20160708\server\.\openerp\http.py", line 319, in _call_function
  File "C:\Program Files (x86)\Odoo 9.0-20160708\server\.\openerp\service\model.py", line 118, in wrapper
  File "C:\Program Files (x86)\Odoo 9.0-20160708\server\.\openerp\http.py", line 312, in checked_call
  File "C:\Program Files (x86)\Odoo 9.0-20160708\server\.\openerp\http.py", line 962, in __call__
  File "C:\Program Files (x86)\Odoo 9.0-20160708\server\.\openerp\http.py", line 512, in response_wrap
  File "C:\Program Files (x86)\Odoo 9.0-20160708\server\openerp\addons\web\controllers\main.py", line 901, in call_button
  File "C:\Program Files (x86)\Odoo 9.0-20160708\server\openerp\addons\web\controllers\main.py", line 889, in _call_kw
  File "C:\Program Files (x86)\Odoo 9.0-20160708\server\.\openerp\api.py", line 250, in wrapper
  File "C:\Program Files (x86)\Odoo 9.0-20160708\server\openerp\addons\base\module\module.py", line 459, in button_immediate_install
  File "C:\Program Files (x86)\Odoo 9.0-20160708\server\.\openerp\api.py", line 250, in wrapper
  File "C:\Program Files (x86)\Odoo 9.0-20160708\server\openerp\addons\base\module\module.py", line 533, in _button_immediate_function
  File "C:\Program Files (x86)\Odoo 9.0-20160708\server\.\openerp\modules\registry.py", line 386, in new
  File "C:\Program Files (x86)\Odoo 9.0-20160708\server\.\openerp\modules\loading.py", line 338, in load_modules
  File "C:\Program Files (x86)\Odoo 9.0-20160708\server\.\openerp\modules\loading.py", line 237, in load_marked_modules
  File "C:\Program Files (x86)\Odoo 9.0-20160708\server\.\openerp\modules\loading.py", line 156, in load_module_graph
  File "C:\Program Files (x86)\Odoo 9.0-20160708\server\.\openerp\modules\loading.py", line 98, in _load_data
  File "C:\Program Files (x86)\Odoo 9.0-20160708\server\.\openerp\tools\convert.py", line 851, in convert_file
  File "C:\Program Files (x86)\Odoo 9.0-20160708\server\.\openerp\tools\convert.py", line 938, in convert_xml_import
  File "C:\Program Files (x86)\Odoo 9.0-20160708\server\.\openerp\tools\convert.py", line 801, in parse
  File "C:\Program Files (x86)\Odoo 9.0-20160708\server\.\openerp\tools\convert.py", line 804, in parse
  File "C:\Program Files (x86)\Odoo 9.0-20160708\server\.\openerp\tools\convert.py", line 708, in _tag_record
  File "C:\Program Files (x86)\Odoo 9.0-20160708\server\.\openerp\api.py", line 250, in wrapper
  File "C:\Program Files (x86)\Odoo 9.0-20160708\server\openerp\addons\base\ir\ir_model.py", line 1143, in _update
  File "C:\Program Files (x86)\Odoo 9.0-20160708\server\.\openerp\api.py", line 250, in wrapper
  File "C:\Program Files (x86)\Odoo 9.0-20160708\server\openerp\addons\decimal_precision\decimal_precision.py", line 35, in create
  File "C:\Program Files (x86)\Odoo 9.0-20160708\server\.\openerp\api.py", line 250, in wrapper
  File "C:\Program Files (x86)\Odoo 9.0-20160708\server\.\openerp\api.py", line 354, in old_api
  File "C:\Program Files (x86)\Odoo 9.0-20160708\server\.\openerp\models.py", line 4157, in create
  File "C:\Program Files (x86)\Odoo 9.0-20160708\server\.\openerp\api.py", line 248, in wrapper
  File "C:\Program Files (x86)\Odoo 9.0-20160708\server\.\openerp\api.py", line 490, in new_api
  File "C:\Program Files (x86)\Odoo 9.0-20160708\server\.\openerp\models.py", line 4301, in _create
  File "C:\Program Files (x86)\Odoo 9.0-20160708\server\.\openerp\sql_db.py", line 141, in wrapper
  File "C:\Program Files (x86)\Odoo 9.0-20160708\server\.\openerp\sql_db.py", line 220, in execute
ParseError: "duplicate key value violates unique constraint "decimal_precision_name_uniq"
DETAIL:  Key (name)=(Payroll) already exists.
" while parsing file:///C:/Program Files (x86)/Odoo 9.0-20160708/server/openerp/addons/hr_payroll/hr_payroll_data.xml:82, near
<record forcecreate="True" id="decimal_payroll" model="decimal.precision">
            <field name="name">Payroll</field>
            <field name="digits">2</field>
        </record>
Avatar
Discard