Browse Source

feat: make coin_value field of account.bnk_stmt_cashbox.form read-only

pull/4/head
gregoire 9 years ago
parent
commit
c35de0f3b3
  1. 11
      beesdoo_pos/views/beesdoo_pos.xml

11
beesdoo_pos/views/beesdoo_pos.xml

@ -16,6 +16,17 @@
</field> </field>
</record> </record>
<record id="view_account_bnk_stmt_cashbox" model="ir.ui.view">
<field name="name">account.bnk_stmt_cashbox.form</field>
<field name="model">account.bank.statement.cashbox</field>
<field name="inherit_id" ref="account.view_account_bnk_stmt_cashbox" />
<field name="arch" type="xml">
<field name="coin_value" position="replace">
<field name="coin_value" readonly="1"/>
</field>
</field>
</record>
<template id="assets" inherit_id="point_of_sale.assets"> <template id="assets" inherit_id="point_of_sale.assets">
<xpath expr="." position="inside"> <xpath expr="." position="inside">
<script type="text/javascript" src="/beesdoo_pos/static/src/js/beesdoo.js"></script> <script type="text/javascript" src="/beesdoo_pos/static/src/js/beesdoo.js"></script>

Loading…
Cancel
Save