You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
825 B
16 lines
825 B
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<!-- Barcode button is added in sale form view and widget is created and js function is called from form button-->
|
|
<record id="view_order_form" model="ir.ui.view">
|
|
<field name="name">sale.order.view.form.inherit.barcode.capturing.sale.purchase</field>
|
|
<field name="model">sale.order</field>
|
|
<field name="inherit_id" ref="sale.view_order_form"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//sheet" position="inside">
|
|
<widget name="sale_barcode">Scan Barcode</widget>
|
|
<i class="fa fa-barcode" style="font-size:20px;color:black"/>
|
|
<button id="sale_barcode_btn" style="margin-bottom: 5px;margin-left:5px">Scan Barcode</button>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</odoo>
|
|
|