mirror of
https://github.com/bringout/oca-technical.git
synced 2026-04-18 14:52:01 +02:00
Initial commit: OCA Technical packages (595 packages)
This commit is contained in:
commit
2cc02aac6e
24950 changed files with 2318079 additions and 0 deletions
|
|
@ -0,0 +1,58 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
<record id="form_purge_wizard" model="ir.ui.view">
|
||||
<field name="model">cleanup.purge.wizard</field>
|
||||
<field name="arch" type="xml">
|
||||
<form>
|
||||
<header>
|
||||
<button
|
||||
type="object"
|
||||
name="purge_all"
|
||||
string="Purge all"
|
||||
class="oe_highlight"
|
||||
/>
|
||||
<button type="object" name="select_lines" string="Select lines" />
|
||||
</header>
|
||||
<div attrs="{'invisible': [('purge_line_ids', '!=', [])]}">
|
||||
Nothing found to clean up.
|
||||
</div>
|
||||
<field
|
||||
name="purge_line_ids"
|
||||
attrs="{'invisible': [('purge_line_ids', '=', [])]}"
|
||||
>
|
||||
<form>
|
||||
<group>
|
||||
<field name="name" />
|
||||
<field name="purged" />
|
||||
</group>
|
||||
<footer>
|
||||
<button
|
||||
type="object"
|
||||
name="purge"
|
||||
class="oe_highlight"
|
||||
string="Purge"
|
||||
attrs="{'invisible': [('purged', '=', True)]}"
|
||||
/>
|
||||
</footer>
|
||||
</form>
|
||||
</field>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
<record id="tree_purge_line" model="ir.ui.view">
|
||||
<field name="model">cleanup.purge.line</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree delete="false" create="false">
|
||||
<field name="name" />
|
||||
<field name="purged" />
|
||||
<button
|
||||
type="object"
|
||||
name="purge"
|
||||
icon="fa-times-circle text-danger"
|
||||
string="Purge this model"
|
||||
attrs="{'invisible': [('purged', '=', True)]}"
|
||||
/>
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
Loading…
Add table
Add a link
Reference in a new issue