diff options
| author | Azka Nathan <darizkyfaz@gmail.com> | 2023-09-15 16:14:40 +0700 |
|---|---|---|
| committer | Azka Nathan <darizkyfaz@gmail.com> | 2023-09-15 16:14:40 +0700 |
| commit | 075e6b1612ce6171838c8e5932a5a539669b5f34 (patch) | |
| tree | f5d15fd514fb89730898518d52d0fe58802e2e06 /indoteknik_custom/views/purchase_order.xml | |
| parent | 0ace4356bdbe27c3acd75c33d5259ef950eecb24 (diff) | |
can't create product on sale order line and purchase order line
Diffstat (limited to 'indoteknik_custom/views/purchase_order.xml')
| -rwxr-xr-x | indoteknik_custom/views/purchase_order.xml | 3 |
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"/> |
