diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2023-06-26 16:42:08 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2023-06-26 16:42:08 +0700 |
| commit | 25a124e690cfea45d69ac34f051f0ee8749cda83 (patch) | |
| tree | e19f40cdc089b36fe847bc91aeab43c746037e07 /indoteknik_custom/views | |
| parent | 787fe14fc0b14ed67f3d25a634c7a5a7e1a27204 (diff) | |
add new field and log to due extension
Diffstat (limited to 'indoteknik_custom/views')
| -rw-r--r-- | indoteknik_custom/views/account_move_views.xml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/indoteknik_custom/views/account_move_views.xml b/indoteknik_custom/views/account_move_views.xml index 1dcace46..42262780 100644 --- a/indoteknik_custom/views/account_move_views.xml +++ b/indoteknik_custom/views/account_move_views.xml @@ -8,6 +8,8 @@ <field name="number"/> <field name="partner_id"/> <field name="day_extension"/> + <field name="description"/> + <field name="approval_status"/> <field name="is_approve"/> </tree> </field> @@ -43,6 +45,10 @@ class="mr-2 oe_highlight oe_edit_only" attrs="{'invisible': [('is_approve', '=', True)]}" /> + <button name="due_extension_approval" + string="Ask Approval" + type="object" + /> </header> <sheet> <group> @@ -53,14 +59,22 @@ <group> <field name="is_approve" readonly="1"/> <field name="order_id" readonly="1"/> + <field name="approval_status" readonly="1"/> </group> </group> + <group> + <field name="description" attrs="{'readonly': [('approval_status', '=', 'approved')]}"/> + </group> <notebook> <page string="Invoices"> <field name="due_line" attrs="{'readonly': [('is_approve', '=', True)]}"/> </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> |
