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:10 +01:00
parent 2069fc28d5
commit 73bca97800
15 changed files with 1575 additions and 1027 deletions

View file

@ -17,7 +17,7 @@ msgstr ""
#. module: im_livechat_mail_bot
#. odoo-python
#: code:addons/im_livechat_mail_bot/models/mail_bot.py:0
#: code:addons/im_livechat_mail_bot/models/mail_bot.py
#, python-format
msgid ""
"Good, you can customize canned responses in the live chat "
@ -25,7 +25,12 @@ msgid ""
"<b>close this conversation</b> or start the tour again with typing <span "
"class=\"o_odoobot_command\">start the tour</span>. Enjoy discovering Odoo!"
msgstr ""
"Good, you can customize canned responses in the live chat "
"application.<br/><br/><b>It's the end of this overview</b>, you can now "
"<b>close this conversation</b> or start the tour again with typing <span "
"class=\"o_odoobot_command\">počni turu</span>. Enjoy discovering Odoo!"
# taken from hr.po
#. module: im_livechat_mail_bot
#: model:ir.model,name:im_livechat_mail_bot.model_mail_bot
msgid "Mail Bot"
@ -33,24 +38,31 @@ msgstr "Mali robotić"
#. module: im_livechat_mail_bot
#. odoo-python
#: code:addons/im_livechat_mail_bot/models/mail_bot.py:0
#: code:addons/im_livechat_mail_bot/models/mail_bot.py
#, python-format
msgid ""
"Not sure what you are doing. Please, type <span "
"class=\"o_odoobot_command\">:</span> and wait for the propositions. Select "
"one of them and press enter."
msgstr ""
"Nisam siguran šta radite. Molimo ukucajte <span "
"class=\"o_odoobot_command\">:</span> i sačekajte prijedloge. Odaberite jedan"
" od njih i pritisnite enter."
#. module: im_livechat_mail_bot
#: model:ir.model.fields,field_description:im_livechat_mail_bot.field_res_users__odoobot_state
msgid "OdooBot Status"
msgstr "To sam ja! 🎉<br/>Pokušaj da otkucaš \":\" da koristiš unapred pripremljene odgovore."
msgstr ""
"To sam ja! 🎉<br/>Pokušaj da otkucaš \":\" da koristiš unapred pripremljene "
"odgovore."
# taken from hr.po
#. module: im_livechat_mail_bot
#: model:ir.model.fields.selection,name:im_livechat_mail_bot.selection__res_users__odoobot_state__onboarding_canned
msgid "Onboarding canned"
msgstr "Gotov predložak za onboarding"
# taken from hr.po
#. module: im_livechat_mail_bot
#: model:ir.model,name:im_livechat_mail_bot.model_res_users
msgid "User"
@ -58,9 +70,11 @@ msgstr "Korisnik"
#. module: im_livechat_mail_bot
#. odoo-python
#: code:addons/im_livechat_mail_bot/models/mail_bot.py:0
#: code:addons/im_livechat_mail_bot/models/mail_bot.py
#, python-format
msgid ""
"Wonderful! 😇<br/>Try typing <span class=\"o_odoobot_command\">:</span> to "
"use canned responses."
msgstr ""
"Divno! 😇<br/>Pokušajte kucati <span class=\"o_odoobot_command\">:</span> da "
"koristite pripravljene odgovore."