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
862 B
16 lines
862 B
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<!-- Barcode button is added in purchase form view and widget is created and js function is called from form button.-->
|
|
<record id="purchase_order_form" model="ir.ui.view">
|
|
<field name="name">purchase.order.view.form.inherit.barcode.capturing.sale.purchase</field>
|
|
<field name="model">purchase.order</field>
|
|
<field name="inherit_id" ref="purchase.purchase_order_form"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//sheet" position="inside">
|
|
<widget name="purchase_barcode">Scan Barcode</widget>
|
|
<i class="fa fa-barcode" style="font-size:20px;color:black"/>
|
|
<button id="purchase_barcode_btn" style="margin-bottom: 5px;margin-left:5px">Scan Barcode</button>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</odoo>
|
|
|