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:29 +01:00
parent a76f29afb5
commit 2cd7ccbcc0
56 changed files with 307 additions and 286 deletions

View file

@ -15,7 +15,6 @@ msgstr ""
#. module: pos_global_discount_in_line
#: model:ir.model.fields,field_description:pos_global_discount_in_line.field_pos_config__global_discount_in_line
#: model:ir.model.fields,field_description:pos_global_discount_in_line.field_res_config_settings__pos_global_discount_in_line
msgid "Add Discount in Line"
msgstr "Add Discount in Line"
@ -26,7 +25,7 @@ msgstr "Postavke"
#. module: pos_global_discount_in_line
#. odoo-javascript
#: code:addons/pos_global_discount_in_line/static/src/js/GlobalLineDiscount.js:0
#: code:addons/pos_global_discount_in_line/static/src/js/GlobalLineDiscount.js
#, python-format
msgid "Discount Percentage"
msgstr "Procenat popusta"