Hide irrelevant fields for Line Item Extraction rules

- Make target_field hidden and not required for line_item rules
- Hide Pattern Matching section for line_item rules
- Hide Data Type and Parsing section for line_item rules
- Hide stop_on_match field for line_item rules
- Hide Transformation and Validation tabs for line_item rules
- Clean up model: remove required=True from target_field and match_pattern

Version: 16.0.1.0.20

🤖 assisted by claude

🤖 assisted by claude
This commit is contained in:
Ernad Husremovic 2025-11-05 23:02:19 +01:00
parent 23677af319
commit 67fdbe80be
14 changed files with 919 additions and 249 deletions

View file

@ -17,7 +17,7 @@ msgstr ""
#. module: auth_totp_portal
#. odoo-javascript
#: code:addons/auth_totp_portal/static/src/js/totp_frontend.js:0
#: code:addons/auth_totp_portal/static/src/js/totp_frontend.js
#, python-format
msgid " Copy"
msgstr " Kopiraj"
@ -33,11 +33,13 @@ msgid ""
"<i class=\"fa fa-warning\"/>\n"
" Two-factor authentication not enabled"
msgstr ""
"<i class=\"fa fa-warning\"/>\n"
" Dvofaktorska autentifikacija nije omogućena"
#. module: auth_totp_portal
#: model_terms:ir.ui.view,arch_db:auth_totp_portal.totp_portal_hook
msgid "<i title=\"Documentation\" class=\"fa fa-fw o_button_icon fa-info-circle\"/>"
msgstr "<i title=\"Documentation\" class=\"fa fa-fw o_button_icon fa-info-circle\"/>"
msgstr "<i title=\"Dokumentacija\" class=\"fa fa-fw o_button_icon fa-info-circle\"/>"
#. module: auth_totp_portal
#: model_terms:ir.ui.view,arch_db:auth_totp_portal.totp_portal_hook
@ -47,6 +49,10 @@ msgid ""
" Two-factor authentication enabled\n"
" </span>"
msgstr ""
"<span class=\"text-success\">\n"
" <i class=\"fa fa-check-circle\"/>\n"
" Dvofaktorska autentifikacija omogućena\n"
" </span>"
#. module: auth_totp_portal
#: model_terms:ir.ui.view,arch_db:auth_totp_portal.totp_portal_hook
@ -58,9 +64,10 @@ msgstr "<strong>Dodano</strong>"
msgid "<strong>Trusted Device</strong>"
msgstr "<strong>Pouzdani uređaj</strong>"
# taken from hr.po
#. module: auth_totp_portal
#. odoo-javascript
#: code:addons/auth_totp_portal/static/src/js/totp_frontend.js:0
#: code:addons/auth_totp_portal/static/src/js/totp_frontend.js
#, python-format
msgid "Copied !"
msgstr "Kopirano !"
@ -72,7 +79,7 @@ msgstr "Omogući dvostruku autentifikaciju"
#. module: auth_totp_portal
#. odoo-javascript
#: code:addons/auth_totp_portal/static/src/js/totp_frontend.js:0
#: code:addons/auth_totp_portal/static/src/js/totp_frontend.js
#, python-format
msgid "Operation failed for unknown reason."
msgstr "Operacija neuspješna iz nepoznatog razloga."
@ -82,11 +89,13 @@ msgstr "Operacija neuspješna iz nepoznatog razloga."
msgid "Revoke All"
msgstr "Opozovi sve"
# taken from hr.po
#. module: auth_totp_portal
#: model_terms:ir.ui.view,arch_db:auth_totp_portal.totp_portal_hook
msgid "Two-factor authentication"
msgstr "Dvofaktorska autentifikacija"
# taken from hr.po
#. module: auth_totp_portal
#: model:ir.model,name:auth_totp_portal.model_res_users
msgid "User"