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
    • Validacions
    • 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ó
    • Gestió immobiliària
    • 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

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

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
Accounting Invoice #accounting Bank Analytic
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
Accounting Invoice #accounting Bank Analytic
About this forum
  1. Accounting
  2. Fòrum

Facturacion - Error de servidor de Odoo - RPC_ERROR

Subscriure's

Get notified when there's activity on this post

This question has been flagged
invoicefacturación
1765 Vistes
Avatar
Cristian Labrín Cortés
No puedo generar una factura, y me aparece este error ¿Alguien sabe como resolverlo?

Traceback (most recent call last): File "C:\Users\Personal\Odoo ERP\server\odoo\addons\base\models\qweb.py", line 219, in render_template yield from compiled_fn(self, values, log) File "", line 187, in template_881 File "C:\Users\Personal\Odoo ERP\server\odoo\addons\l10n_cl\models\res_partner.py", line 46, in _format_dotted_vat_cl vat_l = vat.split('-') AttributeError: 'bool' object has no attribute 'split' The above exception was the direct cause of the following exception: Traceback (most recent call last): File "C:\Users\Personal\Odoo ERP\server\odoo\addons\base\models\ir_http.py", line 237, in _dispatch result = request.dispatch() File "C:\Users\Personal\Odoo ERP\server\odoo\http.py", line 686, in dispatch result = self._call_function(**self.params) File "C:\Users\Personal\Odoo ERP\server\odoo\http.py", line 358, in _call_function return checked_call(self.db, *args, **kwargs) File "C:\Users\Personal\Odoo ERP\server\odoo\service\model.py", line 94, in wrapper return f(dbname, *args, **kwargs) File "C:\Users\Personal\Odoo ERP\server\odoo\http.py", line 347, in checked_call result = self.endpoint(*a, **kw) File "C:\Users\Personal\Odoo ERP\server\odoo\http.py", line 915, in __call__ return self.method(*args, **kw) File "C:\Users\Personal\Odoo ERP\server\odoo\http.py", line 534, in response_wrap response = f(*args, **kw) File "C:\Users\Personal\Odoo ERP\server\odoo\addons\web\controllers\main.py", line 1348, in call_kw return self._call_kw(model, method, args, kwargs) File "C:\Users\Personal\Odoo ERP\server\odoo\addons\web\controllers\main.py", line 1340, in _call_kw return call_kw(request.env[model], method, args, kwargs) File "C:\Users\Personal\Odoo ERP\server\odoo\api.py", line 464, in call_kw result = _call_kw_multi(method, model, args, kwargs) File "C:\Users\Personal\Odoo ERP\server\odoo\api.py", line 451, in _call_kw_multi result = method(recs, *args, **kwargs) File "C:\Users\Personal\Odoo ERP\server\odoo\models.py", line 6472, in onchange record._onchange_eval(name, field_onchange[name], result) File "C:\Users\Personal\Odoo ERP\server\odoo\models.py", line 6205, in _onchange_eval method_res = method(self) File "C:\Users\Personal\Odoo ERP\server\odoo\addons\account\wizard\account_invoice_send.py", line 96, in onchange_is_email self.composer_id._onchange_template_id_wrapper() File "C:\Users\Personal\Odoo ERP\server\odoo\addons\mail\wizard\mail_compose_message.py", line 170, in _onchange_template_id_wrapper values = self._onchange_template_id(self.template_id.id, self.composition_mode, self.model, self.res_id)['value'] File "C:\Users\Personal\Odoo ERP\server\odoo\addons\mail\wizard\mail_compose_message.py", line 549, in _onchange_template_id ['subject', 'body_html', 'email_from', 'email_to', 'partner_to', 'email_cc', 'reply_to', 'attachment_ids', 'mail_server_id'] File "C:\Users\Personal\Odoo ERP\server\odoo\addons\mail\wizard\mail_compose_message.py", line 658, in generate_email_for_composer template_values = self.env['mail.template'].with_context(tpl_partners_only=True).browse(template_id).generate_email(res_ids, fields) File "C:\Users\Personal\Odoo ERP\server\odoo\addons\account_edi\models\mail_template.py", line 21, in generate_email res = super().generate_email(res_ids, fields) File "C:\Users\Personal\Odoo ERP\server\odoo\addons\mail\models\mail_template.py", line 226, in generate_email result, format = report._render_qweb_pdf([res_id]) File "C:\Users\Personal\Odoo ERP\server\odoo\addons\account\models\ir_actions_report.py", line 49, in _render_qweb_pdf return super()._render_qweb_pdf(res_ids=res_ids, data=data) File "C:\Users\Personal\Odoo ERP\server\odoo\addons\base\models\ir_actions_report.py", line 839, in _render_qweb_pdf html = self_sudo.with_context(context)._render_qweb_html(res_ids, data=data)[0] File "C:\Users\Personal\Odoo ERP\server\odoo\addons\base\models\ir_actions_report.py", line 883, in _render_qweb_html return self._render_template(self.report_name, data), 'html' File "C:\Users\Personal\Odoo ERP\server\odoo\addons\base\models\ir_actions_report.py", line 620, in _render_template return view_obj._render_template(template, values).encode() File "C:\Users\Personal\Odoo ERP\server\odoo\addons\base\models\ir_ui_view.py", line 1975, in _render_template return self.browse(self.get_view_id(template))._render(values, engine) File "C:\Users\Personal\Odoo ERP\server\odoo\addons\website\models\ir_ui_view.py", line 433, in _render return super(View, self)._render(values, engine=engine, minimal_qcontext=minimal_qcontext) File "C:\Users\Personal\Odoo ERP\server\odoo\addons\web_editor\models\ir_ui_view.py", line 29, in _render return super(IrUiView, self)._render(values=values, engine=engine, minimal_qcontext=minimal_qcontext) File "C:\Users\Personal\Odoo ERP\server\odoo\addons\base\models\ir_ui_view.py", line 1983, in _render return self.env[engine]._render(self.id, qcontext) File "C:\Users\Personal\Odoo ERP\server\odoo\tools\profiler.py", line 289, in _tracked_method_render return method_render(self, template, values, **options) File "C:\Users\Personal\Odoo ERP\server\odoo\addons\base\models\ir_qweb.py", line 76, in _render result = super()._render(template, values=values, **compile_options) File "C:\Users\Personal\Odoo ERP\server\odoo\addons\base\models\qweb.py", line 134, in _render result = ''.join(rendering) File "C:\Users\Personal\Odoo ERP\server\odoo\addons\base\models\qweb.py", line 221, in render_template raise e File "C:\Users\Personal\Odoo ERP\server\odoo\addons\base\models\qweb.py", line 219, in render_template yield from compiled_fn(self, values, log) File "", line 73, in template_657 File "", line 69, in t_call_content File "C:\Users\Personal\Odoo ERP\server\odoo\addons\base\models\qweb.py", line 221, in render_template raise e File "C:\Users\Personal\Odoo ERP\server\odoo\addons\base\models\qweb.py", line 219, in render_template yield from compiled_fn(self, values, log) File "", line 830, in template_884 File "C:\Users\Personal\Odoo ERP\server\odoo\addons\base\models\qweb.py", line 221, in render_template raise e File "C:\Users\Personal\Odoo ERP\server\odoo\addons\base\models\qweb.py", line 219, in render_template yield from compiled_fn(self, values, log) File "", line 50, in template_208 File "C:\Users\Personal\Odoo ERP\server\odoo\addons\base\models\qweb.py", line 221, in render_template raise e File "C:\Users\Personal\Odoo ERP\server\odoo\addons\base\models\qweb.py", line 219, in render_template yield from compiled_fn(self, values, log) File "", line 110, in template_207 File "C:\Users\Personal\Odoo ERP\server\odoo\addons\base\models\qweb.py", line 224, in render_template error=e, template=template, path=log.get('last_path_node'), code=code) Exception The above exception was the direct cause of the following exception: Traceback (most recent call last): File "C:\Users\Personal\Odoo ERP\server\odoo\http.py", line 642, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "C:\Users\Personal\Odoo ERP\server\odoo\http.py", line 300, in _handle_exception raise exception.with_traceback(None) from new_cause odoo.addons.base.models.qweb.QWebException: 'bool' object has no attribute 'split' Traceback (most recent call last): File "C:\Users\Personal\Odoo ERP\server\odoo\addons\base\models\qweb.py", line 219, in render_template yield from compiled_fn(self, values, log) File "", line 187, in template_881 File "C:\Users\Personal\Odoo ERP\server\odoo\addons\l10n_cl\models\res_partner.py", line 46, in _format_dotted_vat_cl vat_l = vat.split('-') AttributeError: 'bool' object has no attribute 'split' Error when render the template AttributeError: 'bool' object has no attribute 'split' Template: l10n_cl.custom_header Path: /t/div/div/div[2]/div/div/div[1]/div/h6/strong/span[2] Node: " rel="ugc">o.company_id.partner_id.vat)"/>


0
Avatar
Descartar
rachelgomez

After restoring the database you need to upgrade all module that installed in your database.

you can do that with adding '-u all' at the end of the parameter of your configuration in pycharm like this:

-c /home/mehdi/__ODOO__/odoo12/odoo12.conf -u all

after doing that run it once and after seeing modules loaded in pycharm log remove '-u all' and run it one more time .

Greeting,
Rachel Gomez

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
Argentina [l10n_ar] se sobrescribe cuando imprimo la factura en PDF Solved
facturación
Avatar
Avatar
2
d’ag. 25
1024
change between 2 Invoice formats Solved
invoice
Avatar
Avatar
1
de jul. 25
1737
Hello, how can I change the size of the logo and the invoice? Solved
invoice
Avatar
Avatar
Avatar
2
de jul. 25
2087
Validation Error. You will need to clear the Journal Entry's Number to proceed
invoice
Avatar
Avatar
1
de jul. 25
3024
Restricting Salesperson Access to Customer Invoice Details
invoice
Avatar
Avatar
Avatar
3
d’abr. 25
2925
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 ภาษาไทย 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