summaryrefslogtreecommitdiff
path: root/fixco_custom/views
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2025-06-25 15:54:12 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2025-06-25 15:54:12 +0700
commitc086f5e20505edbcc1d7769562393fb2e7e4b5c6 (patch)
treec08a7166dc55867d947d1488e2e5027a335f463d /fixco_custom/views
parent0f1fd177780f47f1b2787767a87044a8b1705378 (diff)
upload ginee and validation create so manual duplicate
Diffstat (limited to 'fixco_custom/views')
-rwxr-xr-xfixco_custom/views/sale_order.xml4
-rw-r--r--fixco_custom/views/upload_ginee.xml2
2 files changed, 4 insertions, 2 deletions
diff --git a/fixco_custom/views/sale_order.xml b/fixco_custom/views/sale_order.xml
index 2fd452e..eb609e9 100755
--- a/fixco_custom/views/sale_order.xml
+++ b/fixco_custom/views/sale_order.xml
@@ -18,8 +18,8 @@
<field name="address"/>
</field>
<field name="client_order_ref" position="after">
- <field name="order_reference"/>
- <field name="invoice_mp" readonly="1"/>
+ <field name="order_reference" required="1"/>
+ <field name="invoice_mp" required="1"/>
<field name="note_by_buyer" readonly="1"/>
</field>
</field>
diff --git a/fixco_custom/views/upload_ginee.xml b/fixco_custom/views/upload_ginee.xml
index 99ecb1e..ec8aae4 100644
--- a/fixco_custom/views/upload_ginee.xml
+++ b/fixco_custom/views/upload_ginee.xml
@@ -20,7 +20,9 @@
<form string="Upload Ginee">
<header>
<button name="action_import_excel" string="Import Excel" type="object" class="oe_highlight"/>
+ <button name="action_get_order_id" string="Get Order ID" type="object" class="oe_highlight"/>
<button name="action_create_detail_order" string="Create Detail Order" type="object" class="oe_highlight"/>
+ <button name="action_get_order_id_and_create_detail_order" string="Get Order ID And Create Detail Order" type="object" class="oe_highlight"/>
<field name="number" widget="field_no_edit" options="{'no_open': True}"/>
<field name="date_upload"/>
<field name="user_id" widget="field_no_edit" options="{'no_open': True}"/>