diff options
| author | FIN-IT_AndriFP <it@fixcomart.co.id> | 2025-10-18 15:26:50 +0700 |
|---|---|---|
| committer | FIN-IT_AndriFP <it@fixcomart.co.id> | 2025-10-18 15:26:50 +0700 |
| commit | a4363a5468a5a9d6a3815cb8ae304fe1da3aef30 (patch) | |
| tree | caf2b1280cd19e4e4ede9574000da34d7b804ec1 /indoteknik_custom/views/advance_payment_settlement.xml | |
| parent | ef67567976a24d59fe8859b55480e4053b64f65f (diff) | |
(andri) fix field + readonly action view journal
Diffstat (limited to 'indoteknik_custom/views/advance_payment_settlement.xml')
| -rw-r--r-- | indoteknik_custom/views/advance_payment_settlement.xml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/indoteknik_custom/views/advance_payment_settlement.xml b/indoteknik_custom/views/advance_payment_settlement.xml index 7834d494..d6eaa649 100644 --- a/indoteknik_custom/views/advance_payment_settlement.xml +++ b/indoteknik_custom/views/advance_payment_settlement.xml @@ -31,11 +31,12 @@ <widget name="web_ribbon" title="Realized" attrs="{'invisible': [('done_status', '!=', 'done_realized')]}"/> <div class="oe_button_box" name="button_box"> <field name="is_cab_visible" invisible="1"/> + <field name="is_current_user_ap" invisible="1"/> <button type="object" name="action_view_journal_uangmuka" class="oe_stat_button" icon="fa-book" - attrs="{'invisible': [('is_cab_visible', '=', False)]}" + attrs="{'invisible': [('is_cab_visible', '=', False)], 'readonly': [('is_current_user_ap', '=', False)]}" style="width: 200px;"> <field name="move_id" widget="statinfo" string="Journal Entries"/> <span class="o_stat_text"> @@ -145,7 +146,8 @@ <field name="currency_id" invisible="1"/> <!-- <field name="grand_total" readonly="1" widget="monetary" options="{'currency_field': 'currency_id'}"/> --> <field name="grand_total_use" readonly="1" widget="monetary" options="{'currency_field': 'currency_id'}"/> - <field name="value_down_payment" readonly="1" widget="monetary" options="{'currency_field': 'currency_id'}" style="font-weight: bold;"/> + <field name="nominal_pum" readonly="1" widget="monetary" options="{'currency_field': 'currency_id'}" style="font-weight: bold;"/> + <!-- <field name="value_down_payment" readonly="1" widget="monetary" options="{'currency_field': 'currency_id'}" style="font-weight: bold;"/> --> <field name="remaining_value" readonly="1" widget="monetary" options="{'currency_field': 'currency_id'}"/> </group> </group> |
