Odoo BuildOdoo Build
Home
Help
Images
Snippets
Revisions
Modules
Changelog
Mint System
Chat
GitHub
Home
Help
Images
Snippets
Revisions
Modules
Changelog
Mint System
Chat
GitHub
  • Snippets

    • Account
    • Account Accountant
    • Account Asset
    • Account Batch Payment
    • Account Budget
    • Account Financial Report
    • Account Followup
    • Account Journal Items Report
    • Account Sale Timesheet Report
    • Agreement
    • Agreement Legal
    • Auth Api Key
    • Base
    • Base Install Request
    • Base Location
    • Business Requirement
    • Calendar
      • View Calendar Event Calendar
        • Default Mode Week
        • Set Color
        • Show Location
        • X Color
      • View Calendar Event Calendar Timeline
        • View
      • View Calendar Event Form
        • Show Res Model And Id
        • X Color
    • Certificate Planer
    • Contract
    • Crm
    • Crm Iap Lead Enrich
    • Delivery
    • Digest
    • Fleet
    • Forestry Timesheet
    • Gio Payroll Custom
    • Helpdesk
    • Hr
    • Hr Attendance
    • Hr Attendance Kanban
    • Hr Contract
    • Hr Expense
    • Hr Holidays
    • Hr Holidays Delegations
    • Hr Payroll
    • Hr Recruitment
    • Hr Timesheet
    • Industry Fsm
    • Industry Fsm Sale
    • Ir Model
    • Ir Ui View
    • L10n Ch
    • L10n Ch Qr Isr Invoice Import
    • L10n Din5008
    • Mail
    • Mail Activity Board
    • Maintenance
    • Maintenance Plan
    • Mrp
    • Mrp Account
    • Mrp Workorder
    • Payment
    • Portal
    • Printnode Base
    • Product
    • Project
    • Project Enterprise
    • Purchase
    • Purchase Requisition
    • Purchase Requisition Send
    • Res Groups
    • Sale
    • Sale Blanket Order
    • Sale Management
    • Sale Margin
    • Sale Order Contact Person
    • Sale Order Line Date
    • Sale Order Picking Note
    • Sale Partner Incoterm
    • Sale Product Set
    • Sale Subscription
    • Stock
    • Stock Account
    • Stock Delivery Note
    • Survey
    • Timesheet Grid
    • Web
    • Website
    • Website Discount Voucher
    • Website Sale

Calendar

View Calendar Event Calendar

Default Mode Week

ID: mint_system.calendar.view_calendar_event_calendar.default_mode_week

<data inherit_id="calendar.view_calendar_event_calendar" priority="50">
    <xpath expr="//calendar[1]" position="attributes">
        <attribute name="mode">week</attribute>
    </xpath>
</data>

Source: snippets/calendar.view_calendar_event_calendar.default_mode_week.xml

Set Color

ID: mint_system.calendar.view_calendar_event_calendar.set_color

<?xml version="1.0" encoding="UTF-8"?>
<odoo>
    <xpath expr="//calendar" position="attributes">
        <attribute name="color">user_id</attribute>
    </xpath>
</odoo>

Source: snippets/calendar.view_calendar_event_calendar.set_color.xml

Show Location

ID: mint_system.calendar.view_calendar_event_calendar.show_location

<data inherit_id="calendar.view_calendar_event_calendar" priority="50">
    <xpath expr="//field[@name='attendee_status']" position="after">
        <field name="location"/>
    </xpath>
</data>

Source: snippets/calendar.view_calendar_event_calendar.show_location.xml

X Color

ID: mint_system.calendar.view_calendar_event_calendar.x_color

<?xml version="1.0" encoding="UTF-8"?>
<odoo>
    <xpath expr="//calendar" position="attributes">
        <attribute name="color">x_color</attribute>
    </xpath>
</odoo>

Source: snippets/calendar.view_calendar_event_calendar.x_color.xml

View Calendar Event Calendar Timeline

View

ID: mint_system.calendar.view_calendar_event_calendar_timeline.view

<?xml version="1.0" encoding="UTF-8"?>
<odoo>
    <record id="calendar.view_calendar_event_calendar_timeline.view" model="ir.ui.view">
        <field name="name">mint_system.calendar.view_calendar_event_calendar_timeline.view</field>
        <field name="model">calendar.event</field>
        <field name="type">timeline</field>
        <field name="arch" type="xml">
            <timeline date_start="start" date_stop="stop" default_group_by="partner_id" event_open_popup="true"/>
        </field>
    </record>
</odoo>

Source: snippets/calendar.view_calendar_event_calendar_timeline.view.xml

View Calendar Event Form

Show Res Model And Id

ID: mint_system.calendar.view_calendar_event_form.show_res_model_and_id

<data inherit_id="calendar.view_calendar_event_form" priority="50">
    <xpath expr="//page[@name='page_misc']//field[@name='user_id']" position="after">
        <field name="res_id"/>
        <field name="res_model"/>
    </xpath>
</data>

Source: snippets/calendar.view_calendar_event_form.show_res_model_and_id.xml

X Color

ID: mint_system.calendar.view_calendar_event_form.x_color

<data inherit_id="calendar.view_calendar_event_form" priority="50">
    <xpath expr="//field[@name='user_id']" position="after">
        <field name="x_color"/>
    </xpath>
</data>

Source: snippets/calendar.view_calendar_event_form.x_color.xml

Edit this page
Last Updated:
Contributors: Kurt Gisler
Prev
Business Requirement
Next
Certificate Planer