Passa al contenuto
Odoo Menu
  • Accedi
  • Provalo gratis
  • App
    Finanze
    • Contabilità
    • Fatturazione
    • Note spese
    • Fogli di calcolo (BI)
    • Documenti
    • Firma
    Vendite
    • CRM
    • Vendite
    • Punto vendita Negozio
    • Punto vendita Ristorante
    • Abbonamenti
    • Noleggi
    Siti web
    • Configuratore sito web
    • E-commerce
    • Blog
    • Forum
    • Live chat
    • E-learning
    Supply chain
    • Magazzino
    • Produzione
    • PLM
    • Acquisti
    • Manutenzione
    • Qualità
    Risorse umane
    • Dipendenti
    • Assunzioni
    • Ferie
    • Valutazioni
    • Referral dipendenti
    • Parco veicoli
    Marketing
    • Social marketing
    • E-mail marketing
    • SMS marketing
    • Eventi
    • Marketing automation
    • Sondaggi
    Servizi
    • Progetti
    • Fogli ore
    • Assistenza sul campo
    • Helpdesk
    • Pianificazione
    • Appuntamenti
    Produttività
    • Comunicazioni
    • Approvazioni
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    App di terze parti Odoo Studio Piattaforma cloud Odoo
  • Settori
    Retail
    • Libreria
    • Negozio di abbigliamento
    • Negozio di arredamento
    • Alimentari
    • Ferramenta
    • Negozio di giocattoli
    Cibo e ospitalità
    • Bar e pub
    • Ristorante
    • Fast food
    • Pensione
    • Grossista di bevande
    • Hotel
    Agenzia immobiliare
    • Agenzia immobiliare
    • Studio di architettura
    • Edilizia
    • Gestione immobiliare
    • Impresa di giardinaggio
    • Associazione di proprietari immobiliari
    Consulenza
    • Società di contabilità
    • Partner Odoo
    • Agenzia di marketing
    • Studio legale
    • Selezione del personale
    • Audit e certificazione
    Produzione
    • Tessile
    • Metallo
    • Arredamenti
    • Alimentare
    • Birrificio
    • Ditta di regalistica aziendale
    Benessere e sport
    • Club sportivo
    • Negozio di ottica
    • Centro fitness
    • Centro benessere
    • Farmacia
    • Parrucchiere
    Commercio
    • Tuttofare
    • Hardware e assistenza IT
    • Ditta di installazione di pannelli solari
    • Calzolaio
    • Servizi di pulizia
    • Servizi di climatizzazione
    Altro
    • Organizzazione non profit
    • Ente per la tutela ambientale
    • Agenzia di cartellonistica pubblicitaria
    • Studio fotografico
    • Punto noleggio di biciclette
    • Rivenditore di software
    Carica tutti i settori
  • Community
    Apprendimento
    • Tutorial
    • Documentazione
    • Certificazioni 
    • Formazione
    • Blog
    • Podcast
    Potenzia la tua formazione
    • Programma educativo
    • Scale Up! Business Game
    • Visita Odoo
    Ottieni il software
    • Scarica
    • Versioni a confronto
    • Note di versione
    Collabora
    • Github
    • Forum
    • Eventi
    • Traduzioni
    • Diventa nostro partner
    • Servizi per partner
    • Registra la tua società di contabilità
    Ottieni servizi
    • Trova un partner
    • Trova un contabile
    • Incontra un esperto
    • Servizi di implementazione
    • Testimonianze dei clienti
    • Supporto
    • Aggiornamenti
    GitHub Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Richiedi una demo
  • Prezzi
  • Aiuto

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Contabilità
  • Magazzino
  • PoS
  • Progetti
  • MRP
All apps
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
Assistenza

Odoo v.11 - Can not upgrade Website Builder

Iscriviti

Ricevi una notifica quando c'è un'attività per questo post

La domanda è stata contrassegnata
ir.ui.view
1 Rispondi
3432 Visualizzazioni
Avatar
Anh Dzung

I used Odoo v.11 and installed Website builder. Then, I modify Website Menu, add new page, and modify something front end in addons/website , addons/web,  addons/web editor. Everything is ok, but when I choose upgrade module Website in Menu App, it's show this error as bellow. How to fix it?



Error:

Odoo Server Error


Traceback (most recent call last):

  File "/home/odoo/odoo/odoo/tools/convert.py", line 741, in parse

    self._tags[rec.tag](rec, de, mode=mode)

  File "/home/odoo/odoo/odoo/tools/convert.py", line 719, in _tag_template

    return self._tag_record(record, data_node)

  File "/home/odoo/odoo/odoo/tools/convert.py", line 651, in _tag_record

    id = self.env(context=rec_context)['ir.model.data']._update(rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode)

  File "/home/odoo/odoo/odoo/addons/base/ir/ir_model.py", line 1430, in _update

    record.write(values)

  File "/home/odoo/odoo/odoo/addons/base/ir/ir_ui_view.py", line 414, in write

    return super(View, self).write(self._compute_defaults(vals))

  File "/home/odoo/odoo/odoo/models.py", line 3065, in write

    self._write(old_vals)

  File "/home/odoo/odoo/odoo/models.py", line 3231, in _write

    self._validate_fields(vals)

  File "/home/odoo/odoo/odoo/models.py", line 1023, in _validate_fields

    check(self)

  File "/home/odoo/odoo/odoo/addons/base/ir/ir_ui_view.py", line 350, in _check_groups

    raise ValidationError(_("Qweb view cannot have 'Groups' define on the record. Use 'groups' attributes inside the view definition"))

odoo.exceptions.ValidationError: ("Qweb view cannot have 'Groups' define on the record. Use 'groups' attributes inside the view definition", None)


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

  File "/home/odoo/odoo/odoo/http.py", line 650, in _handle_exception

    return super(JsonRequest, self)._handle_exception(exception)

  File "/home/odoo/odoo/odoo/http.py", line 310, in _handle_exception

    raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])

  File "/home/odoo/odoo/odoo/tools/pycompat.py", line 87, in reraise

    raise value

  File "/home/odoo/odoo/odoo/http.py", line 692, in dispatch

    result = self._call_function(**self.params)

  File "/home/odoo/odoo/odoo/http.py", line 342, in _call_function

    return checked_call(self.db, *args, **kwargs)

  File "/home/odoo/odoo/odoo/service/model.py", line 97, in wrapper

    return f(dbname, *args, **kwargs)

  File "/home/odoo/odoo/odoo/http.py", line 335, in checked_call

    result = self.endpoint(*a, **kw)

  File "/home/odoo/odoo/odoo/http.py", line 936, in __call__

    return self.method(*args, **kw)

  File "/home/odoo/odoo/odoo/http.py", line 515, in response_wrap

    response = f(*args, **kw)

  File "/home/odoo/odoo/addons/web/controllers/main.py", line 934, in call_button

    action = self._call_kw(model, method, args, {})

  File "/home/odoo/odoo/addons/web/controllers/main.py", line 922, in _call_kw

    return call_kw(request.env[model], method, args, kwargs)

  File "/home/odoo/odoo/odoo/api.py", line 689, in call_kw

    return call_kw_multi(method, model, args, kwargs)

  File "/home/odoo/odoo/odoo/api.py", line 680, in call_kw_multi

    result = method(recs, *args, **kwargs)

  File "<decorator-gen-46>", line 2, in button_immediate_upgrade

  File "/home/odoo/odoo/odoo/addons/base/module/module.py", line 71, in check_and_log

    return method(self, *args, **kwargs)

  File "/home/odoo/odoo/odoo/addons/base/module/module.py", line 602, in button_immediate_upgrade

    return self._button_immediate_function(type(self).button_upgrade)

  File "/home/odoo/odoo/odoo/addons/base/module/module.py", line 541, in _button_immediate_function

    modules.registry.Registry.new(self._cr.dbname, update_module=True)

  File "/home/odoo/odoo/odoo/modules/registry.py", line 85, in new

    odoo.modules.load_modules(registry._db, force_demo, status, update_module)

  File "/home/odoo/odoo/odoo/modules/loading.py", line 339, in load_modules

    force, status, report, loaded_modules, update_module)

  File "/home/odoo/odoo/odoo/modules/loading.py", line 242, in load_marked_modules

    loaded, processed = load_module_graph(cr, graph, progressdict, report=report, skip_modules=loaded_modules, perform_checks=perform_checks)

  File "/home/odoo/odoo/odoo/modules/loading.py", line 156, in load_module_graph

    _load_data(cr, module_name, idref, mode, kind='data')

  File "/home/odoo/odoo/odoo/modules/loading.py", line 94, in _load_data

    tools.convert_file(cr, module_name, filename, idref, mode, noupdate, kind, report)

  File "/home/odoo/odoo/odoo/tools/convert.py", line 788, in convert_file

    convert_xml_import(cr, module, fp, idref, mode, noupdate, report)

  File "/home/odoo/odoo/odoo/tools/convert.py", line 849, in convert_xml_import

    obj.parse(doc.getroot(), mode=mode)

  File "/home/odoo/odoo/odoo/tools/convert.py", line 748, in parse

    exc_info[2]

  File "/home/odoo/odoo/odoo/tools/pycompat.py", line 86, in reraise

    raise value.with_traceback(tb)

  File "/home/odoo/odoo/odoo/tools/convert.py", line 741, in parse

    self._tags[rec.tag](rec, de, mode=mode)

  File "/home/odoo/odoo/odoo/tools/convert.py", line 719, in _tag_template

    return self._tag_record(record, data_node)

  File "/home/odoo/odoo/odoo/tools/convert.py", line 651, in _tag_record

    id = self.env(context=rec_context)['ir.model.data']._update(rec_model, self.module, res, rec_id or False, not self.isnoupdate(data_node), noupdate=self.isnoupdate(data_node), mode=self.mode)

  File "/home/odoo/odoo/odoo/addons/base/ir/ir_model.py", line 1430, in _update

    record.write(values)

  File "/home/odoo/odoo/odoo/addons/base/ir/ir_ui_view.py", line 414, in write

    return super(View, self).write(self._compute_defaults(vals))

  File "/home/odoo/odoo/odoo/models.py", line 3065, in write

    self._write(old_vals)

  File "/home/odoo/odoo/odoo/models.py", line 3231, in _write

    self._validate_fields(vals)

  File "/home/odoo/odoo/odoo/models.py", line 1023, in _validate_fields

    check(self)

  File "/home/odoo/odoo/odoo/addons/base/ir/ir_ui_view.py", line 350, in _check_groups

    raise ValidationError(_("Qweb view cannot have 'Groups' define on the record. Use 'groups' attributes inside the view definition"))

odoo.tools.convert.ParseError: "Qweb view cannot have 'Groups' define on the record. Use 'groups' attributes inside the view definition

None" while parsing None:678, near

<t t-name="website.404">

    <t t-call="website.layout">

        <div id="wrap">

            <t t-raw="0"/>

            <div class="oe_structure oe_empty">

                <div class="container">

                    <h1 class="mt32">404: Page not found!</h1>

                    <p>

                        The page you were looking for could not be found; it is possible you have

                        typed the address incorrectly, but it has most probably been removed due

                        to the recent website reorganisation.

                    </p>

                    <p>Maybe you were looking for one of these popular pages ?</p>

                    <ul>

                        <li><a href="/">Homepage</a></li>

                        <li><a href="/contactus">Contact Us</a></li>

                    </ul>

                </div>

            </div>


            <t t-if="request.debug">

                <t t-call="website.http_error_debug"/>

            </t>

        </div>

    </t>

</t>

0
Avatar
Abbandona
Avatar
Anh Dzung
Autore Risposta migliore

Thanks for your help and attention!

0
Avatar
Abbandona
Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!

Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!

Registrati
Post correlati Risposte Visualizzazioni Attività
Tree view problem
ir.ui.view
Avatar
Avatar
1
mag 22
3478
ParseError: "Wrong value for ir.ui.view.type: 'data'" Risolto
ir.ui.view
Avatar
Avatar
Avatar
Avatar
4
dic 23
24854
[Solved] ParseError: "Wrong value for ir.ui.view.type: 'field'" Risolto
windows ir.ui.view
Avatar
Avatar
1
mag 15
24744
what is the newn column name of view_template_id odoo 14 in odoo 15?
ir.ui.view v14 v15
Avatar
Avatar
1
lug 25
3249
Expected singleton error when trying to navigate toother pager
action ir.ui.view ir.actions.act
Avatar
0
mar 24
1588
Community
  • Tutorial
  • Documentazione
  • Forum
Open source
  • Scarica
  • Github
  • Runbot
  • Traduzioni
Servizi
  • Hosting Odoo.sh
  • Supporto
  • Aggiornamenti
  • Sviluppi personalizzati
  • Formazione
  • Trova un contabile
  • Trova un partner
  • Diventa nostro partner
Chi siamo
  • La nostra azienda
  • Branding
  • Contattaci
  • Lavora con noi
  • Eventi
  • Podcast
  • Blog
  • Clienti
  • Note legali • Privacy
  • Sicurezza
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo è un gestionale di applicazioni aziendali open source pensato per coprire tutte le esigenze della tua azienda: CRM, Vendite, E-commerce, Magazzino, Produzione, Fatturazione elettronica, Project Management e molto altro.

Il punto di forza di Odoo è quello di offrire un ecosistema unico di app facili da usare, intuitive e completamente integrate tra loro.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now