OCA / helpdesk

Odoo modules for managing a HelpDesk system
GNU Affero General Public License v3.0
151 stars 318 forks source link

[16.0] [FIX] helpdesk_mgmt when disabling "Required Category" in portal settings #617

Open LorenzoC0 opened 2 months ago

LorenzoC0 commented 2 months ago

Same fix as #610

Tested in a 16.0 environment, the problem still occurs.

Get

File "/mnt/data/odoo-addons-dir/helpdesk_mgmt/controllers/main.py", line 73, in _prepare_submit_ticket_vals int(kw.get("category")) ValueError: invalid literal for int() with base 10: ''