mirror of
https://gitlab.com/flectra-community/server-ux.git
synced 2024-11-24 23:22:06 +00:00
51 lines
1.9 KiB
XML
51 lines
1.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!--
|
|
Copyright 2017 Eficent Business and IT Consulting Services, S.L.
|
|
Copyright 2017 Creu Blanca
|
|
License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html).
|
|
-->
|
|
|
|
<flectra>
|
|
|
|
<record id="barcode_action_form" model="ir.ui.view">
|
|
<field name="name">barcode.action.form</field>
|
|
<field name="model">barcode.action</field>
|
|
<field name="arch" type="xml">
|
|
<form string="Find">
|
|
<div class="alert alert-success text-center o_form_header"
|
|
role="alert" style="margin-bottom:0px;"
|
|
attrs="{'invisible':[('state', '=', 'warning')]}">
|
|
<bold><field name="status"/></bold>
|
|
</div>
|
|
<div class="alert alert-danger alert-dismissable text-center"
|
|
role="alert" style="margin-bottom:0px;"
|
|
attrs="{'invisible':[('state', '=', 'waiting')]}">
|
|
<bold><field name="status"/></bold>
|
|
</div>
|
|
<field name="state" invisible="1"/>
|
|
<field name="res_id" invisible="1"/>
|
|
<field name="model" invisible="1"/>
|
|
<field name="method" invisible="1"/>
|
|
<field name="_barcode_scanned" widget="action_barcode_handler"/>
|
|
<footer>
|
|
<button
|
|
name="action_cancel"
|
|
string="Close"
|
|
class="oe_link"
|
|
special="cancel"
|
|
/>
|
|
</footer>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
|
|
<act_window id="barcode_action_action"
|
|
name="Barcode Launcher"
|
|
res_model="barcode.action"
|
|
view_mode="form"
|
|
view_type="form"
|
|
target="new"/>
|
|
|
|
</flectra>
|