summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
Diffstat (limited to 'indoteknik_custom/views')
-rw-r--r--indoteknik_custom/views/upah_harian_office_views.xml20
-rw-r--r--indoteknik_custom/views/users.xml1
2 files changed, 11 insertions, 10 deletions
diff --git a/indoteknik_custom/views/upah_harian_office_views.xml b/indoteknik_custom/views/upah_harian_office_views.xml
index 7b84bd5c..8e49db03 100644
--- a/indoteknik_custom/views/upah_harian_office_views.xml
+++ b/indoteknik_custom/views/upah_harian_office_views.xml
@@ -37,15 +37,11 @@
<sheet>
- <button name="action_open_journal"
- type="object"
- class="oe_stat_button"
- icon="fa-book"
- width="250px"
- attrs="{'invisible': [('journal_upah_id', '=', False)]}">
- <field name="journal_upah_id" string="Journal" widget="statinfo"/>
- </button>
-
+ <div class="oe_button_box">
+ <button name="action_open_journal" type="object" class="oe_stat_button" icon="fa-book" width="250px" attrs="{'invisible': [('journal_upah_id', '=', False)]}">
+ <field name="journal_upah_id" string="Journal" widget="statinfo"/>
+ </button>
+ </div>
<div class="oe_title">
<h1>
<field name="name"/>
@@ -79,10 +75,13 @@
<field name="attachment_file_image" filename="attachment_filename" widget="image" attrs="{'invisible': [('attachment_type', '!=', 'image')],
'readonly': [('state', '=', 'approved')]}" style="max-width:250px; max-height:250px; object-fit:contain;"/>
- <field name="total_upah" readonly="1"/>
</group>
+ <group>
+ <field name="total_upah" readonly="1"/>
+ </group>
+
</group>
@@ -102,6 +101,7 @@
<field name="total_jam_kerja"/>
<field name="is_ganti_jam"/>
<field name="kegiatan"/>
+ <field name="upah_harian_compute"/>
</tree>
<!-- POPUP FORM -->
diff --git a/indoteknik_custom/views/users.xml b/indoteknik_custom/views/users.xml
index 2e464458..257de2b3 100644
--- a/indoteknik_custom/views/users.xml
+++ b/indoteknik_custom/views/users.xml
@@ -17,6 +17,7 @@
<field name="is_outbound"/>
<field name="is_inbound"/>
<field name="pic"/>
+ <field name="harian"/>
</field>
</field>
</record>