summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2024-02-09 13:49:36 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2024-02-09 13:49:36 +0700
commit1418dbbb581228383df151f1f8df6fc48a0fb9cc (patch)
tree7d09263aaee2973ef3213cc8522a9cc5049008a1 /indoteknik_custom/views
parent1a339c7e5b644add00c3bd7c623cb6d4553277cf (diff)
change request logbook sj
Diffstat (limited to 'indoteknik_custom/views')
-rw-r--r--indoteknik_custom/views/ir_sequence.xml10
-rw-r--r--indoteknik_custom/views/report_logbook_sj.xml28
2 files changed, 27 insertions, 11 deletions
diff --git a/indoteknik_custom/views/ir_sequence.xml b/indoteknik_custom/views/ir_sequence.xml
index 86259b12..56921839 100644
--- a/indoteknik_custom/views/ir_sequence.xml
+++ b/indoteknik_custom/views/ir_sequence.xml
@@ -10,6 +10,16 @@
<field name="number_next">1</field>
<field name="number_increment">1</field>
</record>
+
+ <record id="sequence_logbook_sj" model="ir.sequence">
+ <field name="name">Logbook SJ</field>
+ <field name="code">report.logbook.sj</field>
+ <field name="active">TRUE</field>
+ <field name="prefix">LSJ/%(year)s/</field>
+ <field name="padding">5</field>
+ <field name="number_next">1</field>
+ <field name="number_increment">1</field>
+ </record>
<record id="sequence_stock_picking_code" model="ir.sequence">
<field name="name">Stock Picking Code</field>
diff --git a/indoteknik_custom/views/report_logbook_sj.xml b/indoteknik_custom/views/report_logbook_sj.xml
index 52e00d17..ea58aefd 100644
--- a/indoteknik_custom/views/report_logbook_sj.xml
+++ b/indoteknik_custom/views/report_logbook_sj.xml
@@ -6,10 +6,11 @@
<field name="arch" type="xml">
<tree create="0">
<field name="name"/>
+ <field name="approve_by"/>
<field name="date"/>
- <field name="name_picking"/>
+ <field name="date_approve"/>
<field name="approve_by_finance"/>
- <field name="partner_id"/>
+ <field name="state"/>
</tree>
</field>
</record>
@@ -18,12 +19,16 @@
<field name="name">report.logbook.sj.line.tree</field>
<field name="model">report.logbook.sj.line</field>
<field name="arch" type="xml">
- <tree>
- <field name="product_id"/>
- <field name="location_id"/>
- <field name="product_uom_qty"/>
- <field name="qty_done"/>
- <field name="product_uom_id"/>
+ <tree editable="bottom">
+ <field name="name"/>
+ <field name="driver_id"/>
+ <field name="departure_date"/>
+ <field name="arrival_date"/>
+ <field name="carrier_id"/>
+ <field name="tracking_no"/>
+ <field name="partner_id"/>
+ <field name="picking_id"/>
+ <field name="not_exist"/>
</tree>
</field>
</record>
@@ -35,7 +40,7 @@
<form>
<header>
<button name="approve"
- string="Approve"
+ string="Validate"
type="object"
/>
</header>
@@ -45,11 +50,12 @@
<group>
<field name="name" readonly="1"/>
<field name="date" readonly="1"/>
+ <field name="date_approve" readonly="1"/>
</group>
<group>
- <field name="name_picking" readonly="1"/>
- <field name="partner_id" readonly="1"/>
<field name="approve_by_finance" readonly="1"/>
+ <field name="state" readonly="1"/>
+ <field name="approve_by" readonly="1"/>
</group>
</group>
<notebook>