Skip to Content
Odoo Menu
  • Prijavi
  • Try it free
  • Aplikacije
    Finance
    • Knjigovodstvo
    • Obračun
    • Stroški
    • Spreadsheet (BI)
    • Dokumenti
    • Podpisovanje
    Prodaja
    • CRM
    • Prodaja
    • POS Shop
    • POS Restaurant
    • Naročnine
    • Najem
    Spletne strani
    • Website Builder
    • Spletna trgovina
    • Blog
    • Forum
    • Pogovor v živo
    • eUčenje
    Dobavna veriga
    • Zaloga
    • Proizvodnja
    • PLM
    • Nabava
    • Vzdrževanje
    • Kakovost
    Kadri
    • Kadri
    • Kadrovanje
    • Odsotnost
    • Ocenjevanja
    • Priporočila
    • Vozni park
    Marketing
    • Družbeno Trženje
    • Email Marketing
    • SMS Marketing
    • Dogodki
    • Avtomatizacija trženja
    • Ankete
    Storitve
    • Projekt
    • Časovnice
    • Storitve na terenu
    • Služba za pomoč
    • Načrtovanje
    • Termini
    Produktivnost
    • Razprave
    • Odobritve
    • IoT
    • Voip
    • Znanje
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industrije
    Trgovina na drobno
    • Book Store
    • Trgovina z oblačili
    • Trgovina s pohištvom
    • Grocery Store
    • Trgovina s strojno opremo računalnikov
    • Trgovina z igračami
    Food & Hospitality
    • Bar and Pub
    • Restavracija
    • Hitra hrana
    • Guest House
    • Beverage Distributor
    • Hotel
    Nepremičnine
    • Real Estate Agency
    • Arhitekturno podjetje
    • Gradbeništvo
    • Estate Management
    • Vrtnarjenje
    • Združenje lastnikov nepremičnin
    Svetovanje
    • Računovodsko podjetje
    • Odoo Partner
    • Marketinška agencija
    • Law firm
    • Pridobivanje talentov
    • Audit & Certification
    Proizvodnja
    • Tekstil
    • Metal
    • Pohištvo
    • Hrana
    • Brewery
    • Poslovna darila
    Health & Fitness
    • Športni klub
    • Trgovina z očali
    • Fitnes center
    • Wellness Practitioners
    • Lekarna
    • Frizerski salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Sistemi sončne energije
    • Izdelovalec čevljev
    • Čistilne storitve
    • HVAC Services
    Ostali
    • Neprofitna organizacija
    • Agencija za okolje
    • Najem oglasnih panojev
    • Fotografija
    • Najem koles
    • Prodajalec programske opreme
    Browse all Industries
  • Skupnost
    Learn
    • Tutorials
    • Dokumentacija
    • Certifikati
    • Šolanje
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Prenesi
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Dogodki
    • Prevodi
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Sklici kupca
    • Podpora
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Določanje cen
  • Pomoč

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

  • CRM
  • e-Commerce
  • Knjigovodstvo
  • Zaloga
  • PoS
  • Projekt
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
Pomoč

Zatca Scheduled action Not Working

Naroči se

Get notified when there's activity on this post

This question has been flagged
odoo15enterpise
1 Odgovori
2292 Prikazi
Avatar
Osama Abulhasan & Co. For Technology Ltd

In ZATCA, we have moved to production, and all the setups are completed, but invoices are not being sent automatically to the ZATCA portal. We have more than 25 shops, and invoices are created every minute but are not being processed to the ZATCA portal. We found a scheduled action named 'EDI: Perform web services operations.' Is this related to ZATCA, or do we need to create an automatic one? Please suggest a solution. We need a quick and urgent reply from your side. Additionally, when I clicked "Run Manually," I encountered an error message.

Error Message 

2024-09-01 10:59:05,615 332460 ERROR odoo.addons.base.models.ir_cron: Call from cron EDI : Perform web services operations for server action #262 failed in Job #12

Traceback (most recent call last):

File "/home/odoo/src/odoo/odoo/tools/safe_eval.py", line 386, in safe_eval

return unsafe_eval(c, globals_dict, locals_dict)

File "", line 1, in

File "/home/odoo/src/odoo/addons/account_edi/models/account_edi_document.py", line 267, in _cron_process_documents_web_services

nb_remaining_jobs = edi_documents._process_documents_web_services(job_count=job_count)

File "/home/odoo/src/odoo/addons/account_edi/models/account_edi_document.py", line 254, in _process_documents_web_services

self._process_job(documents, doc_type)

File "/home/odoo/src/odoo/addons/account_edi/models/account_edi_document.py", line 203, in _process_job

edi_result = edi_format._post_invoice_edi(invoices)

File "/home/odoo/src/odoo/addons/l10n_sa_edi/models/account_edi_format.py", line 455, in _post_invoice_edi

return {invoice: self._l10n_sa_post_zatca_edi(invoice)}

File "/home/odoo/src/odoo/addons/l10n_sa_edi/models/account_edi_format.py", line 328, in _l10n_sa_post_zatca_edi

xml_content = invoice._l10n_sa_generate_unsigned_data()

File "/home/odoo/src/odoo/addons/l10n_sa_edi/models/account_move.py", line 151, in _l10n_sa_generate_unsigned_data

invoice_hash_hex = self.env['account.edi.xml.ubl_21.zatca']._l10n_sa_generate_invoice_xml_hash(xml_content).decode()

File "/home/odoo/src/odoo/addons/l10n_sa_edi/models/account_edi_xml_ubl_21_zatca.py", line 77, in _l10n_sa_generate_invoice_xml_hash

xml_sha = self._l10n_sa_generate_invoice_xml_sha(xml_content)

File "/home/odoo/src/odoo/addons/l10n_sa_edi/models/account_edi_xml_ubl_21_zatca.py", line 64, in _l10n_sa_generate_invoice_xml_sha

root = etree.fromstring(xml_content)

File "src/lxml/etree.pyx", line 3235, in lxml.etree.fromstring

File "src/lxml/parser.pxi", line 1875, in lxml.etree._parseMemoryDocument

ValueError: can only parse strings


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

File "/home/odoo/src/odoo/odoo/addons/base/models/ir_cron.py", line 390, in _callback

self.env['ir.actions.server'].browse(server_action_id).run()

File "/home/odoo/src/odoo/odoo/addons/base/models/ir_actions.py", line 649, in run

res = runner(run_self, eval_context=eval_context)

File "/home/odoo/src/odoo/odoo/addons/base/models/ir_actions.py", line 518, in _run_action_code_multi

safe_eval(self.code.strip(), eval_context, mode="exec", nocopy=True) # nocopy allows to return 'action'

File "/home/odoo/src/odoo/odoo/tools/safe_eval.py", line 402, in safe_eval

raise ValueError('%s: "%s" while evaluating\n%r' % (ustr(type(e)), ustr(e), expr))

ValueError: : "can only parse strings" while evaluating

'model._cron_process_documents_web_services(job_count=20)'

0
Avatar
Opusti
Avatar
Yahoo Baba Innovations Pvt.Ltd
Best Answer

- Look for any functions in _cron_process_documents_web_services that involve parsing or converting data, such as int(), float(), str(), datetime.strptime(), etc. Verify that these functions are receiving the correct type of input.

thanks

0
Avatar
Opusti
Osama Abulhasan & Co. For Technology Ltd
Avtor

We are using the odoo sh server, how can I resolve this error because error shows in the odoo default addons

Yahoo Baba Innovations Pvt.Ltd

If there's anything I can assist you with, please let me know and I'd be happy to help!

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

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

Prijavi
Related Posts Odgovori Prikazi Aktivnost
Problem loading active promotion programs in POS odoo 15 enterprise
odoo15enterpise
Avatar
0
sep. 24
2077
[15.0] point of sale refund of discounted product does not consider the discount
odoo15enterpise
Avatar
0
maj 24
1279
Reward line per product POS
odoo15enterpise
Avatar
0
maj 24
1631
Apply highest discount
odoo15enterpise
Avatar
0
maj 24
1789
Odoo database isn't pinging Solved
Cybrosys odoo15enterpise
Avatar
Avatar
1
mar. 25
2720
Community
  • Tutorials
  • Dokumentacija
  • Forum
Open Source
  • Prenesi
  • Github
  • Runbot
  • Prevodi
Services
  • Odoo.sh Hosting
  • Podpora
  • Nadgradnja
  • Custom Developments
  • Izobraževanje
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Sredstva blagovne znamke
  • Kontakt
  • Zaposlitve
  • Dogodki
  • Podcast
  • Blog
  • Stranke
  • Pravno • Zasebnost
  • Varnost
الْعَرَبيّة 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