summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views/purchase_order.xml
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2023-09-15 16:14:40 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2023-09-15 16:14:40 +0700
commit075e6b1612ce6171838c8e5932a5a539669b5f34 (patch)
treef5d15fd514fb89730898518d52d0fe58802e2e06 /indoteknik_custom/views/purchase_order.xml
parent0ace4356bdbe27c3acd75c33d5259ef950eecb24 (diff)
can't create product on sale order line and purchase order line
Diffstat (limited to 'indoteknik_custom/views/purchase_order.xml')
-rwxr-xr-xindoteknik_custom/views/purchase_order.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/indoteknik_custom/views/purchase_order.xml b/indoteknik_custom/views/purchase_order.xml
index 7d436c46..999b9fd1 100755
--- a/indoteknik_custom/views/purchase_order.xml
+++ b/indoteknik_custom/views/purchase_order.xml
@@ -52,6 +52,9 @@
<field name="product_id" position="before">
<field name="line_no" attrs="{'readonly': 1}" optional="hide"/>
</field>
+ <field name="product_id" position="attributes">
+ <attribute name="options">{'no_create': True}</attribute>
+ </field>
<field name="product_qty" position="before">
<field name="qty_available_store"/>
<field name="suggest"/>