Skip to content

Upgrading

Upgrading to 3.35

Work order now supports Actions. Get better use of screen space by replacing the teal buttons with action buttons.

  1. Add this section to Work Order View config
  2. Remove the following web components from Work Order Card View Configuration
    • lwc-limepkg-workorder-handle-status
    • lwc-limepkg-workorder-add-articlerow
    • lwc-limepkg-document-widget-addon
    • lwc-limepkg-workorder-descriptive-link
  3. Recommended: Install and configure Maps. Example configuration to use.

Upgrading to 3.32

The protocols now support option and chipset answers to allow selecting multiple options. This feature is optional and only available if the property multiselect is present on the limepkg_form_answer limetype.

In Lisa,

  • Add property multiselect to limetype limepkg_form_answer, yesno

Upgrading to 3.29

This release comes with the new optional Create protocols for scheduled work orders behavior.

This feature only works for the new object card so make sure it is enabled and supported by your CRM version. In addition, before the feature can be enabled some neccessary configuration is required.

In Lisa,

  • Add property protocol_keys to limetype scheduledworkorder, string(len>=1024)

In Lime Admin,

  1. In the view configuration for the scheduledworkorder limetype:
    • New object card: Add the protocol_keys property to the object card and set it to render using lwc-limepkg-form-protocol-selector
  2. Open the add-on configuration for Workorder and fill in the Scheduled Work Orders section and enable the Create protocols for scheduled work orders behavior

Upgrading to 3.26

To make it more clear that only active schedules can be run there are now separate buttons for activating the schedule and for running the schedule from the object card.

In Lime Admin:

  1. In the view configuration for the scheduledworkorder limetype:
    1. Remove the inactive property from the object card.
    2. Add the lwc-limepkg-scheduled-limeobject-schedule-change-status web component to the object card.

Upgrading to 3.23

Resource Planner

The resource planner is now available for wide use. It must be configured in the add-on configuration for Work Order. It must also be added to the start page grid. The configuration section has details on how to do this.

Take picture

There is a new "take picture" command that can be added to protocols. It must be configured before it can be used.

In Lime Admin,

  1. Open the add-on configuration for Form and add an action
    1. Command ID limepkg_form.addpicture
    2. Icon: camera

Upgrading to 3.15

The default backend logic for setting the work order "sortingfield" has been updated to take the finished datetime into account. To take advantage of this:

  1. On the Workorder page in Lime Admin 2
    • Configure the new setting "Property for started"
    • Configure the new setting "Property for finished"
  2. Trigger the custom limeobject for all finished work orders by bulk updating them

Upgrading to 3.12

This release introduces a new optional property on the article limetype.

  1. In Lisa: Add property quantityincrement to limetype article
    • Field Type: Decimal field
    • Invisible: Everywhere
    • Default Value: 1
  2. On the Workorder page in Lime Admin 2: Configure the new setting "Property for quantity increment"

Upgrading to 3.3

This release deprecates the following decorators:

  • @deadline_from_priority (on workorder)
  • @sortingfield (on workorder)
  • @urgent_from_priority (on workorder)
  • @calculate_articlerow_totals (on articlerow)
  • @certifiers_when_approved (on articlerow)

Use these new configurable decorators instead:

  • @workorder (on workorder)
  • @articlerow (on workorder)

And enable/disable the different behaviors to get the same result as before.

Upgrading to 3.2

This release introduces a new optional feature for scheduled work orders where a history note is written on the scheduled work order each time it creates work orders.

To be able to use this feature there must be a relation between the scheduled work order and history lime types and some small mapping configuration done in Lime Admin for the Scheduled LimeObject add-on.

The details for this new relation can be found in the technical section.

Upgrading to 3.1

This release introduces a breaking change for limepkg-form.

Limetype updates

The limepkg_form_answer lime type now requires and additional property to exist:

  • comment

The details for this new property can be found in the technical section.

New required configuration

The new comment feature for protocols must be enabled to be used.

In Lime Admin,

  1. Open the add-on configuration for Form and add an action
    1. Command ID limepkg_form.addcomment
    2. Icon: comments

Actionpad

The LBS application limepkg_form been updated to a new version. Install and publish it using the normal means.

Upgrading to 3.0

This release contains several breaking changes. Complete the steps below to upgrade from 2.x to 3.0

Limetype updates

The limetype for scheduledworkorders now requires three more properties to always be present:

  • Starttime
  • Endtime
  • Numberofdays

The package no longer uses this property:

  • Startdateplusduration

The details for these can be found is in the technical section.

Note: As version 2.x only had a preview och scheduled workorders there is not any migration of data. This is the responsibility of the project manager.

Scheduled Task

There is now a scheduled task included in the limepkg-scheduled-limobject package which is set to run every hour, this task runs as user task@scheduledlimeobject. If this user doesn't exist, it won't be able to run.

  1. In LISA, create the task@scheduledlimeobject user with the following settings:

    • Password: Type a really long nonsense password. Do not store it anywhere (it is not needed).
    • Active: No
    • Type: Integration
    • Login: LIME PRO Authentication (default in Cloud)
  2. Since the previous release relied on a scheduled task being setup in the customer solution that one needs to be removed now:

    • Open the file <solution-mycustomer>/<solution_mycustomer>/tasks/__init__.py
    • In the register_scheduled_tasks(): method remove the scheduled task that executes task=run_scheduled_limeobjects

New required configuration

The package now supports and recommends that the webclient is used for setting up schedules.

In Lime Admin,

  1. Configure the views for the scheduledworkorder limetype.
    1. Add the web-component lwc-limepkg-scheduled-limeobject-schedule-editor-button to the object card.
    2. Add the web-component lwc-limepkg-scheduled-limeobject-schedule-run-now-button to the object card.
    3. The following properties must be present and editable on the object card: active
    4. The following properties should not be present and must not be editable on the object card: startdate, until, starttime, endtime, numberofdays
    5. The following properties should be present but not editable on the object card: rruledescription, lastcreated
  2. Configure the views for the scheduledworkorderparameterset limetype.
  3. Configure the templating language for the add-on.

Actionpad

The LBS application scheduled_limeobject_scheduleeditor has been updated to a new version. Install and publish it using the normal means.