summaryrefslogtreecommitdiff
path: root/indoteknik_custom/views
diff options
context:
space:
mode:
authorAzka Nathan <darizkyfaz@gmail.com>2024-12-10 10:27:44 +0700
committerAzka Nathan <darizkyfaz@gmail.com>2024-12-10 10:27:44 +0700
commit9dbae80871e94f439ea1b6c3cf6a13cab9221532 (patch)
tree0a2eb172ca04907287f442f9e4181f5ab11024c3 /indoteknik_custom/views
parent2123dbaab7b4ff49d90336d34e2be76e8eb07f8e (diff)
barcode product
Diffstat (limited to 'indoteknik_custom/views')
-rwxr-xr-xindoteknik_custom/views/product_template.xml6
-rw-r--r--indoteknik_custom/views/stock_picking.xml1
2 files changed, 7 insertions, 0 deletions
diff --git a/indoteknik_custom/views/product_template.xml b/indoteknik_custom/views/product_template.xml
index b6599137..93ea11a2 100755
--- a/indoteknik_custom/views/product_template.xml
+++ b/indoteknik_custom/views/product_template.xml
@@ -20,6 +20,7 @@
<field name="unpublished" />
<field name="desc_update_solr" readonly="1" />
<field name="last_update_solr" readonly="1" />
+ <field name="qr_code" widget="image" invisible="1"/>
</field>
<field name="public_categ_ids" position="attributes">
<attribute name="required">0</attribute>
@@ -29,6 +30,10 @@
<field name="merchandise_ok"/>
<label for="merchandise_ok"/>
</div>
+ <div>
+ <field name="print_barcode"/>
+ <label for="print_barcode"/>
+ </div>
</div>
<field name="public_categ_ids" position="attributes">
<attribute name="options">{'no_create': True}</attribute>
@@ -58,6 +63,7 @@
<field name="arch" type="xml">
<field name="last_update_solr" position="after">
<field name="clean_website_description" />
+ <field name="qr_code_variant" widget="image" readonly="True"/>
</field>
</field>
</record>
diff --git a/indoteknik_custom/views/stock_picking.xml b/indoteknik_custom/views/stock_picking.xml
index 562be8d9..20fc709e 100644
--- a/indoteknik_custom/views/stock_picking.xml
+++ b/indoteknik_custom/views/stock_picking.xml
@@ -120,6 +120,7 @@
</field>
<field name="product_uom" position="after">
<field name="sale_id" attrs="{'readonly': 1}" optional="hide"/>
+ <field name="print_barcode" optional="hide"/>
</field>
<page name="note" position="after">
<page string="E-Faktur" name="efaktur" attrs="{'invisible': [['is_internal_use', '=', False]]}">