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:32 +01:00
parent 1c779d211b
commit 6af9cfd92c
79 changed files with 741 additions and 953 deletions

View file

@ -25,8 +25,6 @@ msgstr "Cijena je izračunata na osnovu promocije dobavljača."
#. module: purchase_vendor_promotion
#: model:ir.model.fields,field_description:purchase_vendor_promotion.field_product_supplierinfo__is_promotion
#: model:ir.model.fields,field_description:purchase_vendor_promotion.field_purchase_order_line__is_promotion
#: model:ir.model.fields,field_description:purchase_vendor_promotion.field_stock_warehouse_orderpoint__promotion_period
msgid "Promotion"
msgstr "Promocija"
@ -42,7 +40,7 @@ msgstr "Datum početka promocije"
#. module: purchase_vendor_promotion
#. odoo-python
#: code:addons/purchase_vendor_promotion/models/product_supplierinfo.py:0
#: code:addons/purchase_vendor_promotion/models/product_supplierinfo.py
#, python-format
msgid "Promotion start date must be before end date."
msgstr "Datum početka promocije mora biti prije datuma završetka."
@ -59,7 +57,7 @@ msgstr "Cjenik dobavljača"
#. module: purchase_vendor_promotion
#. odoo-python
#: code:addons/purchase_vendor_promotion/models/product_supplierinfo.py:0
#: code:addons/purchase_vendor_promotion/models/product_supplierinfo.py
#, python-format
msgid "Vendor promotion requires start and end dates."
msgstr "Promocija dobavljača zahtijeva datum početka i završetka."