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,17 +15,20 @@ msgstr ""
#. module: pos_discount_all
#: model:ir.model.fields,help:pos_discount_all.field_product_product__is_discount
#: model:ir.model.fields,help:pos_discount_all.field_product_template__is_discount
msgid ""
"Check this box if you use this product to realize discount on sale. If check"
" the sale lines will be ignored when computing the amount without discount. "
"If you use 'Pos Discount' Odoo module, you should check this box for the "
"product you configured as the 'Discount Product' on your PoS config."
msgstr ""
"Check this box if you use this product to realize discount on sale. If check"
" the sale lines will be ignored when computing the amount without discount. "
"If you use 'Pos Discount' Odoo module, you should check this box for the "
"product you configured as the 'Discount Product' on your PoS config."
#. module: pos_discount_all
#. odoo-javascript
#: code:addons/pos_discount_all/static/src/xml/OrderSummary.xml:0
#: code:addons/pos_discount_all/static/src/xml/OrderSummary.xml
#, python-format
msgid "Discount Amount:"
msgstr "Defaultni procenat popusta"
@ -37,7 +40,6 @@ msgstr "Proizvod popusta"
#. module: pos_discount_all
#: model:ir.model.fields,field_description:pos_discount_all.field_product_product__is_discount
#: model:ir.model.fields,field_description:pos_discount_all.field_product_template__is_discount
msgid "Is a Discount"
msgstr "Proizvod koji se koristi za modelovanje popusta."