Browse Source

update js file POS

pull/52/head
cellsnake 9 years ago
parent
commit
a8b47f6003
  1. 8
      pos_remove_pos_category/views/pos_category.xml

8
pos_remove_pos_category/views/pos_category.xml

@ -6,6 +6,9 @@
<xpath expr="." position="inside">
<script type="text/javascript" src="/pos_remove_pos_category/static/src/js/pos_remove_pos_category.js"></script>
</xpath>
<xpath expr="//script[@src='/point_of_sale/static/src/js/widgets.js']" position="attributes">
<attribute name="src">/pos_remove_pos_category/static/src/js/widgets2.js</attribute>
</xpath>
</template>
<record id="product_category_form_view" model="ir.ui.view">
@ -15,7 +18,10 @@
<field name="priority">20</field>
<field name="arch" type="xml">
<xpath expr="//group[@name='parent']" position="inside">
<field name="image" widget="image" class="oe_left oe_avatar" options='{"size": [100, 100]}' />
<field name="image"
widget="image"
class="oe_left oe_avatar"
options='{"size": [100, 100]}' />
<field name="available_in_pos"/>
</xpath>
</field>

Loading…
Cancel
Save