diff options
Diffstat (limited to 'indoteknik_custom/views/tukar_guling.xml')
| -rw-r--r-- | indoteknik_custom/views/tukar_guling.xml | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/indoteknik_custom/views/tukar_guling.xml b/indoteknik_custom/views/tukar_guling.xml index 44b5134e..6b3492ae 100644 --- a/indoteknik_custom/views/tukar_guling.xml +++ b/indoteknik_custom/views/tukar_guling.xml @@ -24,14 +24,16 @@ <tree create="1" delete="1" default_order="create_date desc"> <field name="name"/> <field name="date"/> + <field name="origin" string="SO Number"/> <field name="operations" string="Operations"/> - <field name="ba_num" string="Nomor BA"/> <field name="return_type" string="Return Type"/> <field name="state" widget="badge" decoration-info="state in ('draft', 'approval_sales', 'approval_logistic','approval_finance')" decoration-success="state == 'done'" decoration-muted="state == 'cancel'" /> + <field name="ba_num" string="Nomor BA"/> + <field name="date_done" string="Approved Date"/> </tree> </field> </record> @@ -47,7 +49,7 @@ attrs="{'invisible': [('state', '!=', 'draft')]}"/> <button name="action_approve" string="Approve" type="object" class="btn-primary" - attrs="{'invisible': [('state', 'not in', ['approval_sales', 'approval_logistic', 'approval_finance'])]}"/> + attrs="{'invisible': [('state', 'not in', ['approval_sales', 'approval_finance', 'approval_logistic'])]}"/> <button name="action_cancel" string="Cancel" type="object" class="btn-secondary" attrs="{'invisible': [('state', '=', 'cancel')]}"/> @@ -75,14 +77,17 @@ <group> <group> <field name="date" string="Date" readonly="1"/> - <field name="return_type"/> + <field name="return_type" attrs="{'readonly': [('state', 'not in', 'draft')]}"/> <field name="operations" - attrs="{'required': [('return_type', 'in', ['revisi_so', 'tukar_guling'])]}"/> + attrs="{'readonly': [('state', 'not in', 'draft')]}"/> <field name="origin" readonly="1"/> </group> <group> <field name="ba_num" string="Nomor BA"/> <field name="notes"/> + <field name="date_sales" readonly="1"/> + <field name="date_logistic" readonly="1"/> + <field name="date_done" readonly="1"/> </group> </group> <notebook> @@ -111,6 +116,10 @@ </page> </notebook> </sheet> + <div class="oe_chatter"> + <field name="message_follower_ids" widget="mail_followers"/> + <field name="message_ids" widget="mail_thread"/> + </div> </form> </field> </record> |
