Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Pricing
  • Help

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

  • CRM
  • e-Commerce
  • Accounting
  • Inventory
  • PoS
  • Project
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
Accounting Invoice #accounting Bank Analytic
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tags (View all)
Accounting Invoice #accounting Bank Analytic
About this forum
  1. Accounting
  2. Forum

Facturacion - Error de servidor de Odoo - RPC_ERROR

Subscribe

Get notified when there's activity on this post

This question has been flagged
invoicefacturación
1766 Views
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
Discard
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!

Sign up
Related Posts Replies Views Activity
Argentina [l10n_ar] se sobrescribe cuando imprimo la factura en PDF Solved
facturación
Avatar
Avatar
2
Aug 25
1024
change between 2 Invoice formats Solved
invoice
Avatar
Avatar
1
Jul 25
1737
Hello, how can I change the size of the logo and the invoice? Solved
invoice
Avatar
Avatar
Avatar
2
Jul 25
2087
Validation Error. You will need to clear the Journal Entry's Number to proceed
invoice
Avatar
Avatar
1
Jul 25
3025
Restricting Salesperson Access to Customer Invoice Details
invoice
Avatar
Avatar
Avatar
3
Apr 25
2925
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security
الْعَرَبيّة 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 is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

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