Skip to content

Apps related to Odoo it's planning features

Notifications You must be signed in to change notification settings

BizzAppDev-Systems/planning

 
 

Repository files navigation

planning

Apps related to Odoo it's planning features

  • planning_portal: show the planning in the portal for subcontractors/customers
  • duplicate_planning_slots: add quick duplicate support to planning slots from the Gantt view
  • dynamic_gantt: add a dynamic view mode to Gantt views. This allows you to configure the days in the past/future for the Gantt view per user
  • dynamic_gantt_planning: dynamic view mode for the planning app in Odoo. This view was heavily customized by Odoo SA for planning & we extended it.

planning_portal

Adds support so show planning slots in the portal (under /my/home) to your customers.
This module allows you to set a customer on the planning slot and to define if you want to show it or not (thanks to the field 'Visible on portal'). image

The customer can then in the portal see the planning slots: image

Every planning slot it's detail can be viewed in a separate page: image

duplicate_planning_slots

Adds support for a duplicate icon in the Gantt view.
This module allows you to quick duplicate (copy) planning slots from the Gantt view: image

dynamic_gantt

Adds support for viewing the Gantt view in a "Dynamic" mode.
This dynamic mode allows any user to configure how many days in the past and how many days into the future they want to see on the Gantt view.
This is configurable per user under the user it's own preferences. A sample of the Dynamic Gantt mode for holidays: image

This module works on default Gantt views (such as the one in Time off), however it will not automatically work on all Gantt views (for example under tasks). In this case you will need to add dynamic to the scales and add the precision 'dynamic': 'day:full'. A sample piece of code:

<?xml version="1.0" encoding="utf-8" ?>
<odoo>
    <data>
        <!-- Inherit planning gantt view -->
        <record id="view_planning_slot_gantt_inherit" model="ir.ui.view">
            <field name="name">planning.slot.inherit.view.gantt</field>
            <field name="model">planning.slot</field>
            <field name="inherit_id" ref="planning.planning_view_gantt" />
            <field name="arch" type="xml">
                <!-- Add additional scales and precision value for gantt view -->
                <xpath expr="//gantt" position="attributes">
                    <attribute name="scales">day,week,month,year,dynamic</attribute>
                    <attribute
                        name="precision"
                    >{'day': 'hour:full', 'week': 'day:full', 'month': 'day:full', 'year': 'day:full', 'dynamic': 'day:full'}</attribute>
                </xpath>
            </field>
        </record>
    </data>
</odoo>

dynamic_gantt_planning

Adds support for the dynamic view mode on the planning app.
Since this view was heavily customized in the planning app we had to write a custom extension to allow this:
image

About

Apps related to Odoo it's planning features

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 70.7%
  • Python 25.3%
  • SCSS 4.0%