<odoo>
	<data>
		<record id="takaful_account_move_tree_viewx" model="ir.ui.view">
			<field name="name">takaful.account.move.tree</field>
			<field name="model">takaful.account.move</field>
			<field name="arch" type="xml">
				<tree string="Invoices">
					<field name="name"></field>
					<field name="partner_id"></field>
					<field name="email"></field>
					<field name="operation_type"></field>
					<field name="type"></field>
					<field name="date"></field>
					<field name="state"></field>
					<field name="amount_without_vat"></field>
					<field name="tax_amount"></field>
					<field name="amount"></field>
				</tree>
			</field>
		</record>

		<record id="takaful_account_move_form" model="ir.ui.view">
			<field name="name">takaful.account.move.form</field>
			<field name="model">takaful.account.move</field>
			<field name="arch" type="xml">
				<form string="server">
					<sheet>
						<group>
							<group>
								<field name="id" string="Invoice Number"></field>
								<field name="partner_id"></field>
								<field name="name_of"></field>
								<field name="email"></field>
								<field name="operation_type"></field>
								<field name="type"></field>
								<field name="qty_ordered"></field>
								<field name="amount_without_vat"></field>
							</group>
							<group>
								<field name="date"></field>
								<field name="state"></field>
								<field name="amount"></field>
								<field name="tax_amount"></field>
							</group>
							<group>
								<field name="note"></field>
							</group>
						</group>
					</sheet>
				</form>
			</field>
		</record>

		<record model="ir.actions.act_window" id="takaful_account_move_list_action">
            <field name="name">Paycards Account Moves</field>
            <field name="res_model">takaful.account.move</field>
<!--            <field name="view_type">form</field>-->
            <field name="view_mode">tree,form</field>
        </record>

        <record model="ir.actions.act_window.view" id="takaful_account_move_list_action_tree">
            <field name="act_window_id" ref="takaful_account_move_list_action"/>
            <field name="sequence" eval="10"/>
            <field name="view_mode">tree</field>
            <field name="view_id" ref="takaful_core.takaful_account_move_tree_viewx"/>
        </record>
        
	</data>
</odoo>
