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.
 
 
 

61 lines
2.2 KiB

<odoo>
<record id="pos_transaction_tree_view" model="ir.ui.view">
<field name="name">pos.transaction.tree</field>
<field name="model">pos.transaction</field>
<field name="arch" type="xml">
<tree>
<field name="balance_id"/>
<field name="name"/>
<field name="qrcode"/>
<field name="ean13"/>
<field name="ean13_verif"/>
<field name="write_date"/>
<field name="date_iso"/>
<!-- <field name="weight"/> -->
</tree>
</field>
</record>
<record id="pos_transaction_form_view" model="ir.ui.view">
<field name="name">pos.transaction.form</field>
<field name="model">pos.transaction</field>
<field name="arch" type="xml">
<form>
<sheet>
<group>
<group>
<field name="balance_id" readonly="1"/>
<field name="name" readonly="1"/>
<field name="product_id" readonly="1"/>
<field name="write_date" readonly="1"/>
<field name="date_iso" readonly="1"/>
</group>
<group>
<field name="ean13" readonly="1"/>
<field name="ean13_verif" readonly="1"/>
<field name="qrcode" readonly="1"/>
<field name="weight_net" readonly="1"/>
<field name="weight_tare" readonly="1"/>
<field name="price_product" readonly="1"/>
<field name="price_net" readonly="1"/>
</group>
</group>
</sheet>
</form>
</field>
</record>
<record id="pos_transaction_action_window" model="ir.actions.act_window" >
<field name="name">transactions</field>
<field name="res_model">pos.transaction</field>
<field name="view_mode">tree,form</field>
</record>
<menuitem id="pos_transaction_menu"
name="transactions"
parent="point_of_sale.pos_config_menu_catalog"
sequence="13"
action="pos_transaction_action_window"
groups="point_of_sale.group_pos_manager,point_of_sale.group_pos_user"
/>
</odoo>