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

@ -19,6 +19,8 @@ msgid ""
"<span attrs=\"{'invisible': [('advance_payment_method', '!=', "
"'percentage')]}\" class=\"oe_inline\">%</span>"
msgstr ""
"<span attrs=\"{'invisible': [('advance_payment_method', '!=', "
"'percentage')]}\" class=\"oe_inline\">%</span>"
#. module: purchase_order_downpayment
#: model_terms:ir.ui.view,arch_db:purchase_order_downpayment.view_po_downpayment_wizard
@ -27,7 +29,6 @@ msgstr "Otkaži"
#. module: purchase_order_downpayment
#: model:ir.model.fields,field_description:purchase_order_downpayment.field_purchase_order_down_payment_wizard__advance_payment_method
#: model_terms:ir.ui.view,arch_db:purchase_order_downpayment.purchase_order_form_inherit_downpayment
msgid "Create Payment"
msgstr "Kreiraj plaćanje"
@ -103,7 +104,6 @@ msgstr "Nalog"
#. module: purchase_order_downpayment
#: model:ir.actions.act_window,name:purchase_order_downpayment.action_view_po_downpayment_wizard
#: model_terms:ir.ui.view,arch_db:purchase_order_downpayment.purchase_order_form_inherit_downpayment
msgid "Payment"
msgstr "Plaćanje"
@ -118,6 +118,8 @@ msgid ""
"Payment will be created in draft so that you can review\n"
" them before validation."
msgstr ""
"Plaćanje will be created in draft so that you can review\n"
"them before validation."
#. module: purchase_order_downpayment
#: model:ir.model,name:purchase_order_downpayment.model_account_payment
@ -151,14 +153,14 @@ msgstr "Regular Plaćanje"
#. module: purchase_order_downpayment
#. odoo-python
#: code:addons/purchase_order_downpayment/wizard/purchase_order_downpayment_wizard.py:0
#: code:addons/purchase_order_downpayment/wizard/purchase_order_downpayment_wizard.py
#, python-format
msgid "The value of the down payment amount must be positive."
msgstr "Iznos predujma mora biti pozitivan."
#. module: purchase_order_downpayment
#. odoo-python
#: code:addons/purchase_order_downpayment/wizard/purchase_order_downpayment_wizard.py:0
#: code:addons/purchase_order_downpayment/wizard/purchase_order_downpayment_wizard.py
#, python-format
msgid "The value of the down payment percentage cannot be greater than 100%."
msgstr "The value of the down payment percentage cannot be greater than 100%."