Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Artificial Intelligence
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Property Management
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

Error while creating Invoice

Subscriure's

Get notified when there's activity on this post

This question has been flagged
invoiceerrorodoo13
1 Respondre
4488 Vistes
Avatar
Adam

I'm using enterprise addons since 6 months suddenly I'm getting that error. Then i removed all my addons and place new one same error was appearing.

Error While addind invoice line product:

Odoo Server Error
Traceback (most recent call last):
  File "/opt/odoo13/odoo/odoo/http.py", line 619, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/opt/odoo13/odoo/odoo/http.py", line 309, in _handle_exception
    raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
  File "/opt/odoo13/odoo/odoo/tools/pycompat.py", line 14, in reraise
    raise value
  File "/opt/odoo13/odoo/odoo/http.py", line 664, in dispatch
    result = self._call_function(**self.params)
  File "/opt/odoo13/odoo/odoo/http.py", line 345, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/opt/odoo13/odoo/odoo/service/model.py", line 93, in wrapper
    return f(dbname, *args, **kwargs)
  File "/opt/odoo13/odoo/odoo/http.py", line 338, in checked_call
    result = self.endpoint(*a, **kw)
  File "/opt/odoo13/odoo/odoo/http.py", line 909, in __call__
    return self.method(*args, **kw)
  File "/opt/odoo13/odoo/odoo/http.py", line 510, in response_wrap
    response = f(*args, **kw)
  File "/opt/odoo13/odoo/enterprise/addons/web/controllers/main.py", line 1320, in call_kw
    return self._call_kw(model, method, args, kwargs)
  File "/opt/odoo13/odoo/enterprise/addons/web/controllers/main.py", line 1312, in _call_kw
    return call_kw(request.env[model], method, args, kwargs)
  File "/opt/odoo13/odoo/odoo/api.py", line 410, in call_kw
    result = _call_kw_multi(method, model, args, kwargs)
  File "/opt/odoo13/odoo/odoo/api.py", line 397, in _call_kw_multi
    result = method(recs, *args, **kwargs)
  File "/opt/odoo13/odoo/odoo/models.py", line 5911, in onchange
    record._onchange_eval(name, field_onchange[name], result)
  File "/opt/odoo13/odoo/odoo/models.py", line 5712, in _onchange_eval
    method_res = method(self)
  File "/opt/odoo13/odoo/enterprise/addons/account/models/account_move.py", line 2961, in _onchange_price_subtotal
    line.update(line._get_fields_onchange_subtotal())
  File "/opt/odoo13/odoo/enterprise/addons/account/models/account_move.py", line 2714, in _get_fields_onchange_subtotal
    date=date or self.move_id.date,
  File "/opt/odoo13/odoo/enterprise/addons/account/models/account_move.py", line 2739, in _get_fields_onchange_subtotal_model
    balance = currency._convert(price_subtotal, company.currency_id, company, date)
  File "/opt/odoo13/odoo/odoo/addons/base/models/res_currency.py", line 191, in _convert
    assert company, "convert amount from unknown company"
AssertionError: convert amount from unknown company

Error while adding date in invoice:

Odoo Server Error
Traceback (most recent call last):
  File "/opt/odoo13/odoo/odoo/api.py", line 722, in get
    value = self._data[field][record._ids[0]]
KeyError: <NewId 0x7fdff3782dd8>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/odoo13/odoo/odoo/fields.py", line 1040, in __get__
    value = env.cache.get(record, self)
  File "/opt/odoo13/odoo/odoo/api.py", line 728, in get
    raise CacheMiss(record, field)
odoo.exceptions.CacheMiss: ('account.move(<NewId 0x7fdff3782dd8>,).invoice_sequence_number_next', None)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/odoo13/odoo/odoo/http.py", line 619, in _handle_exception
    return super(JsonRequest, self)._handle_exception(exception)
  File "/opt/odoo13/odoo/odoo/http.py", line 309, in _handle_exception
    raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
  File "/opt/odoo13/odoo/odoo/tools/pycompat.py", line 14, in reraise
    raise value
  File "/opt/odoo13/odoo/odoo/http.py", line 664, in dispatch
    result = self._call_function(**self.params)
  File "/opt/odoo13/odoo/odoo/http.py", line 345, in _call_function
    return checked_call(self.db, *args, **kwargs)
  File "/opt/odoo13/odoo/odoo/service/model.py", line 93, in wrapper
    return f(dbname, *args, **kwargs)
  File "/opt/odoo13/odoo/odoo/http.py", line 338, in checked_call
    result = self.endpoint(*a, **kw)
  File "/opt/odoo13/odoo/odoo/http.py", line 909, in __call__
    return self.method(*args, **kw)
  File "/opt/odoo13/odoo/odoo/http.py", line 510, in response_wrap
    response = f(*args, **kw)
  File "/opt/odoo13/odoo/enterprise/addons/web/controllers/main.py", line 1320, in call_kw
    return self._call_kw(model, method, args, kwargs)
  File "/opt/odoo13/odoo/enterprise/addons/web/controllers/main.py", line 1312, in _call_kw
    return call_kw(request.env[model], method, args, kwargs)
  File "/opt/odoo13/odoo/odoo/api.py", line 410, in call_kw
    result = _call_kw_multi(method, model, args, kwargs)
  File "/opt/odoo13/odoo/odoo/api.py", line 397, in _call_kw_multi
    result = method(recs, *args, **kwargs)
  File "/opt/odoo13/odoo/enterprise/addons/account/models/account_move.py", line 904, in onchange
    return super(AccountMove, self.with_context(recursive_onchanges=False)).onchange(values, field_name, field_onchange)
  File "/opt/odoo13/odoo/odoo/models.py", line 5917, in onchange
    for name in nametree
  File "/opt/odoo13/odoo/odoo/models.py", line 5918, in <listcomp>
    if name not in done and snapshot0.has_changed(name)
  File "/opt/odoo13/odoo/odoo/models.py", line 5785, in has_changed
    return self[name] != record[name]
  File "/opt/odoo13/odoo/odoo/models.py", line 5448, in __getitem__
    return self._fields[key].__get__(self, type(self))
  File "/opt/odoo13/odoo/odoo/fields.py", line 1064, in __get__
    self.compute_value(recs)
  File "/opt/odoo13/odoo/odoo/fields.py", line 1145, in compute_value
    records._compute_field_value(self)
  File "/opt/odoo13/odoo/odoo/models.py", line 3825, in _compute_field_value
    getattr(self, field.compute)()
  File "/opt/odoo13/odoo/enterprise/addons/account/models/account_move.py", line 1146, in _compute_invoice_sequence_number_next
    number_next = sequence._get_current_sequence(sequence_date=sequence_date).number_next_actual
TypeError: _get_current_sequence() got an unexpected keyword argument 'sequence_date'

I'm using untouched enterprise addons which were downloaded about 6 months ago.

1
Avatar
Descartar
Avatar
Ermin Trevisan
Best Answer

Try to update the base module or execute Odoo with the command line parameter "-u all". Whatever you did to get these error messages, I hope you have a backup.

0
Avatar
Descartar
Adam
Autor

Upgrade the base module and run odoo through terminal by adding "-u all" but same errors

Ermin Trevisan

Then there is not much I can do to help you. Only you may know from which manipulations these error messages may come from.

Adam
Autor

Thanks alot, but I'm using newly unziped addons which were downloaded months ago..

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registrar-se
Related Posts Respostes Vistes Activitat
Access error You do not have the access rights to post an invoice.
invoice error
Avatar
0
de març 24
3422
Cannot create an invoice after Stripe paiement : "record does not exist..."
invoice error
Avatar
0
d’oct. 17
5812
TypeError: data[0] is undefined
invoice error
Avatar
0
de març 15
5750
Error "Data insufficient" in invoice creation
invoice error
Avatar
Avatar
1
de març 15
6120
Creating invoice error Solved
invoice error wkhtmltopdf
Avatar
Avatar
Avatar
3
de febr. 24
4628
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة 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 Svenska ภาษาไทย Türkçe українська Tiếng Việt

Odoo és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

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