mirror of
https://github.com/bringout/oca-ocb-vertical-industry.git
synced 2026-04-24 22:52:03 +02:00
19.0 vanilla
This commit is contained in:
parent
4607ccbd2e
commit
825ff6514e
487 changed files with 184979 additions and 195262 deletions
|
|
@ -14,16 +14,16 @@
|
|||
</record>
|
||||
|
||||
<record id="lunch_cashmove_view_tree" model="ir.ui.view">
|
||||
<field name="name">lunch.cashmove.tree</field>
|
||||
<field name="name">lunch.cashmove.list</field>
|
||||
<field name="model">lunch.cashmove</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree string="cashmove tree">
|
||||
<field name="currency_id" invisible="1"/>
|
||||
<list string="cashmove list">
|
||||
<field name="currency_id" column_invisible="True"/>
|
||||
<field name="date"/>
|
||||
<field name="user_id"/>
|
||||
<field name="description"/>
|
||||
<field name="amount" sum="Total" widget="monetary"/>
|
||||
</tree>
|
||||
</list>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
|
@ -51,36 +51,23 @@
|
|||
<field name="model">lunch.cashmove</field>
|
||||
<field name="arch" type="xml">
|
||||
<kanban class="o_kanban_mobile">
|
||||
<field name="date"/>
|
||||
<field name="user_id"/>
|
||||
<field name="description"/>
|
||||
<field name="amount"/>
|
||||
<field name="currency_id" invisible="1"/>
|
||||
<field name="currency_id"/>
|
||||
<templates>
|
||||
<t t-name="kanban-box">
|
||||
<div t-attf-class="oe_kanban_global_click">
|
||||
<div class="row mb4">
|
||||
<div class="col-8">
|
||||
<span>
|
||||
<strong class="o_kanban_record_title"><t t-esc="record.description.value"/></strong>
|
||||
</span>
|
||||
</div>
|
||||
<div class="col-4 text-end">
|
||||
<span class="badge rounded-pill">
|
||||
<strong><i class="fa fa-money" role="img" aria-label="Amount" title="Amount"/> <field name="amount" widget="monetary"/></strong>
|
||||
</span>
|
||||
</div>
|
||||
<t t-name="card">
|
||||
<div class="row mb4">
|
||||
<div class="col-8 fw-bold fs-5">
|
||||
<field name="description" />
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-6">
|
||||
<i class="fa fa-clock-o" role="img" aria-label="Date" title="Date"/>
|
||||
<t t-esc="record.date.value"/>
|
||||
</div>
|
||||
<div class="col-6">
|
||||
<div class="float-end">
|
||||
<field name="user_id" widget="many2one_avatar_user"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-4 text-end badge rounded-pill fw-bolder pe-3 pt-1">
|
||||
<i class="fa fa-money" role="img" aria-label="Amount" title="Amount"/> <field name="amount" widget="monetary"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-6">
|
||||
<i class="fa fa-clock-o" role="img" aria-label="Date" title="Date"/> <field name="date" />
|
||||
</div>
|
||||
<div class="col-6">
|
||||
<field name="user_id" widget="many2one_avatar_user" class="float-end"/>
|
||||
</div>
|
||||
</div>
|
||||
</t>
|
||||
|
|
@ -92,7 +79,7 @@
|
|||
<record id="lunch_cashmove_action_payment" model="ir.actions.act_window">
|
||||
<field name="name">Cash Moves</field>
|
||||
<field name="res_model">lunch.cashmove</field>
|
||||
<field name="view_mode">tree,kanban,form</field>
|
||||
<field name="view_mode">list,kanban,form</field>
|
||||
<field name="search_view_id" ref="lunch_cashmove_view_search"/>
|
||||
<field name="view_id" ref="lunch_cashmove_view_tree"/>
|
||||
<field name="help" type="html">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue