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:42 +01:00
parent 4f2591c01d
commit 225a8ed17c
27 changed files with 375 additions and 710 deletions

View file

@ -21,6 +21,10 @@ msgid ""
" - 'Base Set Manually' : User should set manually the value of the barcode base\n"
" - 'Base managed by Sequence': System will generate the base via a sequence"
msgstr ""
"Omogućava generisanje barkoda, uključujući broj (bazu) u konačnom barkodu.\n"
"\n"
" - 'Baza postavljena ručno' : Korisnik treba ručno postaviti vrijednost baze barkoda\n"
" - 'Baza upravljana sekvencijom': Sistem će generisati bazu putem sekvence"
#. module: barcodes_generator_location
#: model_terms:ir.ui.view,arch_db:barcodes_generator_location.view_location_form
@ -34,15 +38,16 @@ msgstr "Baza barkoda"
#. module: barcodes_generator_location
#: model:ir.model,name:barcodes_generator_location.model_barcode_rule
#: model:ir.model.fields,field_description:barcodes_generator_location.field_stock_location__barcode_rule_id
msgid "Barcode Rule"
msgstr "Barkod pravilo"
# taken from hr.po
#. module: barcodes_generator_location
#: model_terms:ir.ui.view,arch_db:barcodes_generator_location.view_location_form
msgid "Generate Barcode"
msgstr "Generiraj barkodove"
# taken from hr.po
#. module: barcodes_generator_location
#: model_terms:ir.ui.view,arch_db:barcodes_generator_location.view_location_form
msgid "Generate Base (Using Sequence)"
@ -61,16 +66,18 @@ msgstr "Tip generiranja"
#. module: barcodes_generator_location
#: model:ir.model.fields,help:barcodes_generator_location.field_barcode_rule__generate_model
msgid "If 'Generate Type' is set, mention the model related to this rule."
msgstr "Ako je 'Tip generiranja' postavljen, spomenite model povezan s ovim pravilom."
msgstr ""
"Ako je 'Tip generiranja' postavljen, spomenite model povezan s ovim "
"pravilom."
#. module: barcodes_generator_location
#: model:ir.model.fields,help:barcodes_generator_location.field_stock_location__barcode_rule_id
msgid "Select a rule to generate a barcode"
msgstr "Odaberite pravilo za generiranje barkoda"
# taken from hr.po
#. module: barcodes_generator_location
#: model:ir.model,name:barcodes_generator_location.model_stock_location
#: model:ir.model.fields.selection,name:barcodes_generator_location.selection__barcode_rule__generate_model__stock_location
msgid "Stock Location"
msgstr "Lokacija zalihe"
@ -80,3 +87,5 @@ msgid ""
"This value is used to generate barcode according to the setting of the "
"barcode rule."
msgstr ""
"Ova vrijednost se koristi za generisanje barkoda prema postavkama pravila "
"barkoda."