Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
2046 Visualizzazioni

Jambo,

We run Odoo 10 CE on ubuntu 16. We restored the DB and everything EXCEPT  the POS works.  We get the below error.  We have tried;

1. Vacuuming the postgresql database.

2. Used the " Database Cleanup " module.

3. Restarted the odoo service and computer a number of times.

4. 


We still get the following error;


Traceback (most recent call last): File "/odoo/odoo-server/odoo/http.py", line 642, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/odoo/odoo-server/odoo/http.py", line 684, in dispatch result = self._call_function(**self.params) File "/odoo/odoo-server/odoo/http.py", line 334, in _call_function return checked_call(self.db, *args, **kwargs) File "/odoo/odoo-server/odoo/service/model.py", line 101, in wrapper return f(dbname, *args, **kwargs) File "/odoo/odoo-server/odoo/http.py", line 327, in checked_call result = self.endpoint(*a, **kw) File "/odoo/odoo-server/odoo/http.py", line 942, in __call__ return self.method(*args, **kw) File "/odoo/odoo-server/odoo/http.py", line 507, in response_wrap response = f(*args, **kw) File "/odoo/odoo-server/addons/web/controllers/main.py", line 837, in search_read return self.do_search_read(model, fields, offset, limit, domain, sort) File "/odoo/odoo-server/addons/web/controllers/main.py", line 859, in do_search_read offset=offset or 0, limit=limit or False, order=sort or False) File "/odoo/odoo-server/odoo/models.py", line 4757, in search_read result = records.read(fields) File "/odoo/odoo-server/odoo/models.py", line 3045, in read data[record][name] = convert(record[name], record, use_name_get) File "/odoo/odoo-server/odoo/models.py", line 5272, in __getitem__ return self._fields[key].__get__(self, type(self)) File "/odoo/odoo-server/odoo/fields.py", line 931, in __get__ self.determine_value(record) File "/odoo/odoo-server/odoo/fields.py", line 1045, in determine_value self.compute_value(recs) File "/odoo/odoo-server/odoo/fields.py", line 997, in compute_value self._compute_value(records) File "/odoo/odoo-server/odoo/fields.py", line 990, in _compute_value self.compute(records) File "/odoo/odoo-server/odoo/fields.py", line 668, in _compute_company_dependent values = Property.get_multi(self.name, self.model_name, records.ids) File "/odoo/odoo-server/odoo/addons/base/res/ir_property.py", line 174, in get_multi val = int(val.split(',')[1]) IndexError: list index out of range


Regards,

Austin. 

Avatar
Abbandona
Risposta migliore

Based on what i read, there is something wrong in your /odoo/odoo-server/odoo/addons/base/res/ir_property.py script which might be having an index but somehow it's processing beyond the indexed record.

Did you tried to gave permission to odoo folder, addons, and it's filestore? Because sometimes Odoo cannot do things if the folder is not allowed to write.

Try to give access to your folder by typing chmod -R 775 your_folder from the linux terminal.

Best regards,

Altela (altelasoftware.com)

Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
2
feb 22
17156
1
lug 21
13032
1
dic 17
3834
0
nov 17
2759
1
mar 17
3769