[CLN] global : full pre-commit & ruff lint
This commit is contained in:
@@ -1,9 +1,14 @@
|
||||
<?xml version="1.0"?>
|
||||
<?xml version="1.0" ?>
|
||||
<odoo>
|
||||
|
||||
<!-- EVENTS/CONFIGURATION/EVENT locations -->
|
||||
<record model="ir.ui.view" id="view_event_location_form_inherit_event_track_location_calendar">
|
||||
<field name="name">Event Locations inherit for event track location calendar</field>
|
||||
<record
|
||||
model="ir.ui.view"
|
||||
id="view_event_location_form_inherit_event_track_location_calendar"
|
||||
>
|
||||
<field
|
||||
name="name"
|
||||
>Event Locations inherit for event track location calendar</field>
|
||||
<field name="model">event.track.location</field>
|
||||
<field name="inherit_id" ref="website_event_track.view_event_location_form" />
|
||||
<field name="arch" type="xml">
|
||||
@@ -13,7 +18,10 @@
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record model="ir.ui.view" id="view_event_location_tree_inherit_event_track_location_calendar">
|
||||
<record
|
||||
model="ir.ui.view"
|
||||
id="view_event_location_tree_inherit_event_track_location_calendar"
|
||||
>
|
||||
<field name="name">Event Location</field>
|
||||
<field name="model">event.track.location</field>
|
||||
<field name="inherit_id" ref="website_event_track.view_event_location_tree" />
|
||||
|
@@ -1,16 +1,27 @@
|
||||
<?xml version="1.0"?>
|
||||
<odoo>
|
||||
<record model="ir.ui.view" id="view_event_track_form_inherit_event_track_location_calendar">
|
||||
<field name="name">event.track.form inherit for event track location calendar</field>
|
||||
<?xml version="1.0" ?>
|
||||
<odoo>
|
||||
<record
|
||||
model="ir.ui.view"
|
||||
id="view_event_track_form_inherit_event_track_location_calendar"
|
||||
>
|
||||
<field
|
||||
name="name"
|
||||
>event.track.form inherit for event track location calendar</field>
|
||||
<field name="model">event.track</field>
|
||||
<field name="inherit_id" ref="website_event_track.view_event_track_form" />
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//header" position="after">
|
||||
<field name="location_already_in_use" invisible="1" />
|
||||
<div attrs="{'invisible':[('location_already_in_use','=',False)]}" class="alert alert-warning mb-0" role="alert">
|
||||
<strong>Location already in use for this date !</strong><field name="location_already_in_use_message" />
|
||||
<field name="location_already_in_use" invisible="1" />
|
||||
<div
|
||||
attrs="{'invisible':[('location_already_in_use','=',False)]}"
|
||||
class="alert alert-warning mb-0"
|
||||
role="alert"
|
||||
>
|
||||
<strong>Location already in use for this date !</strong><field
|
||||
name="location_already_in_use_message"
|
||||
/>
|
||||
</div>
|
||||
</xpath>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
Reference in New Issue
Block a user