Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
2076 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
úno 22
17167
1
čvc 21
13055
1
pro 17
3849
0
lis 17
2780
1
bře 17
3788