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:40 +01:00
parent c13d931fb2
commit d62fb585d6
171 changed files with 3251 additions and 8127 deletions

View file

@ -54,6 +54,8 @@ msgid ""
"Default address where the customers has to send back the returned product. "
"If empty, the address is the company address."
msgstr ""
"Default address where the customers has to send back the returned product. "
"If empty, the address is the company address."
#. module: product_warranty
#: model:ir.model.fields,field_description:product_warranty.field_return_instruction__display_name
@ -71,11 +73,11 @@ msgid ""
"If is default, will be use to set the default value in supplier info's. Be "
"careful to have only one default."
msgstr ""
"If is default, will be use to set the default value in supplier info's. Be "
"careful to have only one default."
#. module: product_warranty
#: model:ir.model.fields,field_description:product_warranty.field_product_supplierinfo__return_instructions
#: model:ir.model.fields,field_description:product_warranty.field_return_instruction__instructions
#: model_terms:ir.ui.view,arch_db:product_warranty.product_return_instructions_form_view
msgid "Instructions"
msgstr "Upute"
@ -86,7 +88,6 @@ msgstr "Upute za povrat proizvoda"
#. module: product_warranty
#: model:ir.model.fields,help:product_warranty.field_product_supplierinfo__return_instructions
#: model:ir.model.fields,help:product_warranty.field_return_instruction__instructions
msgid "Instructions for product return."
msgstr "Instructions for product return."
@ -137,13 +138,11 @@ msgstr "Artikal"
#. module: product_warranty
#: model:ir.actions.act_window,name:product_warranty.product_return_instructions_action
#: model:ir.ui.menu,name:product_warranty.menu_product_return_instructions_action
msgid "Products Return Instructions"
msgstr "Products Return Instructions"
#. module: product_warranty
#: model:ir.model.fields,field_description:product_warranty.field_product_supplierinfo__warranty_return_address
#: model:ir.model.fields,field_description:product_warranty.field_res_company__crm_return_address_id
msgid "Return address"
msgstr "Adresa za povrat"
@ -184,13 +183,11 @@ msgstr "Garancija"
#. module: product_warranty
#: model:ir.model.fields,field_description:product_warranty.field_product_product__warranty
#: model:ir.model.fields,field_description:product_warranty.field_product_template__warranty
msgid "Warranty Duration"
msgstr "Trajanje garancije"
#. module: product_warranty
#: model:ir.model.fields,field_description:product_warranty.field_product_product__warranty_type
#: model:ir.model.fields,field_description:product_warranty.field_product_template__warranty_type
msgid "Warranty Type"
msgstr "Vrsta garancije"
@ -201,6 +198,9 @@ msgid ""
"company/supplier relation (purchase order) ; the customer/company relation "
"(sale order) always use the product main warranty field."
msgstr ""
"Warranty in month for this product/supplier relation. Only for "
"company/supplier relation (purchase order) ; the customer/company relation "
"(sale order) always use the product main warranty field."
#. module: product_warranty
#: model_terms:ir.ui.view,arch_db:product_warranty.product_supplierinfo_warranty_form_view
@ -218,12 +218,15 @@ msgid ""
"Where the customer has to send back the product(s) if warranty return is set"
" to 'other'."
msgstr ""
"Where the customer has to send back the product(s) if warranty return is set"
" to 'other'."
#. module: product_warranty
#: model:ir.model.fields,help:product_warranty.field_product_supplierinfo__warranty_return_address
msgid ""
"Where the goods should be returned (computed field based on other infos.)"
msgstr ""
"Where the goods should be returned (computed field based on other infos.)"
#. module: product_warranty
#: model:ir.model.fields,help:product_warranty.field_product_supplierinfo__warranty_return_partner
@ -234,6 +237,11 @@ msgid ""
"warranty to be applied is the one of the return partner (ie: can be returned"
" to the company and be under the brand warranty)."
msgstr ""
"Who is in charge of the warranty return treatment toward the end customer. "
"Company will use the current company delivery or default address and so on "
"for supplier and brand manufacturer. Doesn't necessarily mean that the "
"warranty to be applied is the one of the return partner (ie: can be returned"
" to the company and be under the brand warranty)."
#. module: product_warranty
#: model:ir.model.fields.selection,name:product_warranty.selection__product_template__warranty_type__year