Upgrading
Upgrading to 3.35¶
Work order now supports Actions. Get better use of screen space by replacing the teal buttons with action buttons.
- Add this section to Work Order View config
- 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
- 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 limetypelimepkg_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 limetypescheduledworkorder
, string(len>=1024)
In Lime Admin,
- 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 usinglwc-limepkg-form-protocol-selector
- New object card: Add the
- 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:
- In the view configuration for the scheduledworkorder limetype:
- Remove the
inactive
property from the object card. - Add the
lwc-limepkg-scheduled-limeobject-schedule-change-status
web component to the object card.
- Remove the
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,
- Open the add-on configuration for Form and add an action
- Command ID
limepkg_form.addpicture
- Icon:
camera
- Command ID
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:
- On the Workorder page in Lime Admin 2
- Configure the new setting "Property for started"
- Configure the new setting "Property for finished"
- 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.
- In Lisa: Add property
quantityincrement
to limetypearticle
- Field Type: Decimal field
- Invisible: Everywhere
- Default Value: 1
- 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,
- Open the add-on configuration for Form and add an action
- Command ID
limepkg_form.addcomment
- Icon:
comments
- Command ID
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.
-
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)
-
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 executestask=run_scheduled_limeobjects
- Open the file
New required configuration
The package now supports and recommends that the webclient is used for setting up schedules.
In Lime Admin,
- Configure the views for the scheduledworkorder limetype.
- Add the web-component
lwc-limepkg-scheduled-limeobject-schedule-editor-button
to the object card. - Add the web-component
lwc-limepkg-scheduled-limeobject-schedule-run-now-button
to the object card. - The following properties must be present and editable on the object card:
active
- The following properties should not be present and must not be editable on the object card:
startdate
,until
,starttime
,endtime
,numberofdays
- The following properties should be present but not editable on the object card:
rruledescription
,lastcreated
- Add the web-component
- Configure the views for the scheduledworkorderparameterset limetype.
- 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.