come immaginavo non è andato tutto a buon fine,
spiego cosa ho fatto.. ..ho controllato meglio e alla fine nella cartella.
/var/lib/odoo/.local/share/Odoo/addons/12.0/OCA/l10n-italy
ho lanciato il comando git pull e mi sembra abbia scaricato gli aggiornamenti dei vari moduli..
per l'aggiornamento al db .. come prima prova ho ricercato il bin come mi avevi detto tu... e lo ho trovato in /usr/bin / ..allora ho lanciato il comando ma mi dava problemi sui permessi visto che lo stavo lanciando come root
allora ho fatto un edit di /etc/init.d/odoo e al termine della funzione start o aggiunto -u all -d NOMEMIODB
ho avviato odoo ma ricevo questo errore che non capisco bene cosa sia... sembra che il db non si sia aggiornato?
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/api.py", line 1049, in get
value = self._data[key][field][record._ids[0]]
KeyError: 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/fields.py", line 1032, in __get__
value = record.env.cache.get(record, self)
File "/usr/lib/python3/dist-packages/odoo/api.py", line 1051, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('res.company(1,).name', None)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/qweb.py", line 348, in _compiled_fn
return compiled(self, append, new, options, log)
File "<template>", line 1, in template_website_layout_55
File "<template>", line 2, in body_call_content_54
File "/usr/lib/python3/dist-packages/odoo/fields.py", line 1036, in __get__
self.determine_value(record)
File "/usr/lib/python3/dist-packages/odoo/fields.py", line 1139, in determine_value
record._prefetch_field(self)
File "/usr/lib/python3/dist-packages/odoo/models.py", line 2880, in _prefetch_field
result = records.read([f.name for f in fs], load='_classic_write')
File "/usr/lib/python3/dist-packages/odoo/models.py", line 2818, in read
self._read_from_database(stored, inherited)
File "/usr/lib/python3/dist-packages/odoo/models.py", line 2945, in _read_from_database
cr.execute(query_str, params)
File "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 148, in wrapper
return f(self, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 225, in execute
res = self._obj.execute(query, params)
psycopg2.ProgrammingError: column res_company.max_invoice_in_xml does not exist
LINE 1: ...company"."invoice_is_email" as "invoice_is_email","res_compa...
^
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/api.py", line 1049, in get
value = self._data[key][field][record._ids[0]]
KeyError: 6
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/fields.py", line 1032, in __get__
value = record.env.cache.get(record, self)
File "/usr/lib/python3/dist-packages/odoo/api.py", line 1051, in get
raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('res.users(6,).groups_id', None)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/qweb.py", line 374, in get_template
document = options.get('load', self.load)(template, options)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_qweb.py", line 122, in load
template = env['ir.ui.view'].read_template(name)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_ui_view.py", line 1216, in read_template
return self._read_template(self.get_view_id(xml_id))
File "<decorator-gen-33>", line 2, in _read_template
File "/usr/lib/python3/dist-packages/odoo/tools/cache.py", line 86, in lookup
key = key0 + self.key(*args, **kwargs)
File "<string>", line 1, in <lambda>
File "/usr/lib/python3/dist-packages/odoo/fields.py", line 1036, in __get__
self.determine_value(record)
File "/usr/lib/python3/dist-packages/odoo/fields.py", line 1139, in determine_value
record._prefetch_field(self)
File "/usr/lib/python3/dist-packages/odoo/models.py", line 2880, in _prefetch_field
result = records.read([f.name for f in fs], load='_classic_write')
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/res_users.py", line 1235, in read
res = super(UsersView, self).read(other_fields, load=load)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/res_users.py", line 451, in read
return super(Users, self).read(fields=fields, load=load)
File "/usr/lib/python3/dist-packages/odoo/models.py", line 2818, in read
self._read_from_database(stored, inherited)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/res_users.py", line 369, in _read_from_database
super(Users, self)._read_from_database(field_names, inherited_field_names)
File "/usr/lib/python3/dist-packages/odoo/models.py", line 2945, in _read_from_database
cr.execute(query_str, params)
File "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 148, in wrapper
return f(self, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 225, in execute
res = self._obj.execute(query, params)
psycopg2.InternalError: current transaction is aborted, commands ignored until end of transaction block
load could not load template
Template: website.layout
Messaggio di errore:
None