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

@ -35,10 +35,26 @@ msgid ""
"</div>\n"
" "
msgstr ""
"<div style=\"margin: 0px; padding: 0px; font-size: 13px;\">\n"
" <p style=\"margin: 0px; padding: 0px; font-size: 13px;\">\n"
" Poštovani <t t-out=\"object.partner_id.name or ''\"></t><br><br>\n"
" <t t-out=\"user.name or ''\"></t> je zatražio da aktivirate dvofaktorsku autentifikaciju kako biste zaštitili vaš račun.<br><br>\n"
" Dvofaktorska autentifikacija (\"2FA\") je sistem dvostruke autentifikacije.\n"
" Prva se vrši pomoću vaše lozinke a druga pomoću koda koji dobijete od namjenske mobilne aplikacije.\n"
" Popularne su Authy, Google Authenticator ili Microsoft Authenticator.\n"
"\n"
" <p style=\"margin: 16px 0px 16px 0px; text-align: center;\">\n"
" <a t-att-href=\"object.get_totp_invite_url()\" style=\"background-color:#875A7B; padding: 8px 16px 8px 16px; text-decoration: none; color: #fff; border-radius: 5px;\">\n"
" Aktiviraj moju dvofaktorsku autentifikaciju\n"
" </a>\n"
" </p>\n"
" </p>\n"
"</div>\n"
" "
#. module: auth_totp_mail
#. odoo-python
#: code:addons/auth_totp_mail/models/res_users.py:0
#: code:addons/auth_totp_mail/models/res_users.py
#, python-format
msgid "Account Security"
msgstr "Sigurnost računa"
@ -46,16 +62,19 @@ msgstr "Sigurnost računa"
#. module: auth_totp_mail
#: model:mail.template,subject:auth_totp_mail.mail_template_totp_invite
msgid "Invitation to activate two-factor authentication on your Odoo account"
msgstr "Pozivnica za aktivaciju dvofaktorske autentifikacije na vašem Odoo računu"
msgstr ""
"Pozivnica za aktivaciju dvofaktorske autentifikacije na vašem Odoo računu"
#. module: auth_totp_mail
#. odoo-python
#: code:addons/auth_totp_mail/models/res_users.py:0
#: code:addons/auth_totp_mail/models/res_users.py
#, python-format
msgid ""
"Invitation to use two-factor authentication sent for the following user(s): "
"%s"
msgstr ""
"Pozivnica za korištenje dvofaktorske autentifikacije poslana za sljedeće "
"korisnike: %s"
#. module: auth_totp_mail
#: model_terms:ir.ui.view,arch_db:auth_totp_mail.view_users_form
@ -67,6 +86,7 @@ msgstr "Pozovi za korištenje 2FA"
msgid "Invite to use two-factor authentication"
msgstr "Pozovi za korištenje dvofaktorske autentifikacije"
# taken from hr.po
#. module: auth_totp_mail
#: model_terms:ir.ui.view,arch_db:auth_totp_mail.res_users_view_form
msgid "Name"
@ -82,6 +102,7 @@ msgstr "Otvori konfiguraciju dvofaktorske autentifikacije"
msgid "Settings: 2Fa Invitation"
msgstr "Podešavanja: 2FA pozivnica"
# taken from hr.po
#. module: auth_totp_mail
#: model:ir.model,name:auth_totp_mail.model_res_users
msgid "User"