Error:
Odoo Server Error
Traceback (most recent call last):
File "/opt/odoo/odoo/odoo/http.py", line 656, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/odoo/odoo/odoo/http.py", line 314, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/opt/odoo/odoo/odoo/tools/pycompat.py", line 87, in reraise
raise value
File "/opt/odoo/odoo/odoo/http.py", line 698, in dispatch
result = self._call_function(**self.params)
File "/opt/odoo/odoo/odoo/http.py", line 346, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/opt/odoo/odoo/odoo/service/model.py", line 97, in wrapper
return f(dbname, *args, **kwargs)
File "/opt/odoo/odoo/odoo/http.py", line 339, in checked_call
result = self.endpoint(*a, **kw)
File "/opt/odoo/odoo/addons/web_syncer/http.py", line 9, in __call__
result = self.method(*args, **kw)
File "/opt/odoo/odoo/odoo/http.py", line 519, in response_wrap
response = f(*args, **kw)
File "/opt/odoo/odoo/addons/web/controllers/main.py", line 966, in call_button
action = self._call_kw(model, method, args, {})
File "/opt/odoo/odoo/addons/web/controllers/main.py", line 954, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/opt/odoo/odoo/odoo/api.py", line 749, in call_kw
return _call_kw_multi(method, model, args, kwargs)
File "/opt/odoo/odoo/odoo/api.py", line 736, in _call_kw_multi
result = method(recs, *args, **kwargs)
File "/opt/odoo/odoo/addons/payment/models/account_payment.py", line 75, in action_validate_invoice_payment
res = super(AccountPayment, self).action_validate_invoice_payment()
File "/opt/odoo/odoo/addons/account/models/account_payment.py", line 674, in action_validate_invoice_payment
return self.post()
File "/opt/odoo/odoo/addons/payment/models/account_payment.py", line 101, in post
res = super(AccountPayment, self - payments_need_trans).post()
File "/opt/odoo/odoo/addons/account/models/account_payment.py", line 643, in post
rec.name = self.env['ir.sequence'].with_context(ir_sequence_date=rec.payment_date).next_by_code(sequence_code)
File "/opt/odoo/odoo/odoo/addons/base/models/ir_sequence.py", line 286, in next_by_code
return seq_id._next()
File "/opt/odoo/odoo/odoo/addons/base/models/ir_sequence.py", line 255, in _next
seq_date = self._create_date_range_seq(dt)
File "/opt/odoo/odoo/odoo/addons/base/models/ir_sequence.py", line 241, in _create_date_range_seq
'sequence_id': self.id,
File "</home/ubuntu/.local/lib/python3.6/site-packages/decorator.py:decorator-gen-27>", line 2, in create
File "/opt/odoo/odoo/odoo/api.py", line 430, in _model_create_single
return create(self, arg)
File "/opt/odoo/odoo/odoo/addons/base/models/ir_sequence.py", line 366, in create
_create_sequence(self._cr, "ir_sequence_%03d_%03d" % (main_seq.id, seq.id), main_seq.number_increment, values.get('number_next_actual', 1))
File "/opt/odoo/odoo/odoo/addons/base/models/ir_sequence.py", line 18, in _create_sequence
cr.execute(sql, (number_increment, number_next))
File "/opt/odoo/odoo/odoo/sql_db.py", line 148, in wrapper
return f(self, *args, **kwargs)
File "/opt/odoo/odoo/odoo/sql_db.py", line 225, in execute
res = self._obj.execute(query, params)
psycopg2.errors.InvalidParameterValue: START value (1) cannot be greater than MAXVALUE (-1)
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
3
Replies
2482
Views
om_account_accountant is a 3rd party module. You may want to contact the author of the module.
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
Hi, Havent seem such an issue with clean odoo12 installation yet. If you are getting the issue in test instance try in an another database and see whether it is there, also if you are using any custom modules, have a try by removing the custom codes and see. Thanks
Niyas,
For accounting we have installed om_account_accountant-12.0.1.0 community edition.
Regards,
Prajisha
From: Niyas Raphy <niyasraphyk@gmail.com>
Sent: 26 January 2020 13:38
To: Prajisha MV <prajisha.maniyeriveedu@altaire-insights.com>
Subject: Re: Odoo 12.0 Community Edition- Register payment error
Hi, Havent seem such an issue with clean odoo12 installation yet. If you are getting the issue in test instance try in an another database and see whether it is there, also if you are using any custom modules, have a try by removing the custom codes and see. Thanks
Sent by Odoo S.A. using Odoo.