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.
 
 
 

60 lines
2.0 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"/>
<field name="name"/>
<field name="product_id"/>
<field name="write_date"/>
<field name="date_iso"/>
</group>
<group>
<field name="ean13"/>
<field name="ean13_verif"/>
<field name="qrcode"/>
<field name="weight_net"/>
<field name="price_product"/>
<field name="price_net"/>
</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>