Skip to content
Open
Show file tree
Hide file tree
Changes from 168 commits
Commits
Show all changes
169 commits
Select commit Hold shift + click to select a range
00a9483
[ADD][11.0] fieldservice_recurring (#179)
brian10048 May 13, 2019
f2542fe
[FIX] fieldservice_recurring (#209)
brian10048 May 15, 2019
b164848
[12.0][MIG] fieldservice_recurring
kittiu Jun 27, 2019
3b8ff8d
Add button-box to recurring order form
hparfr Jul 17, 2019
0ab0811
Add button to navigate from Orders to Recurring Orders
hparfr Aug 20, 2019
eadcbcf
Add missing xml and contributors
hparfr Aug 20, 2019
d051372
Prepare order with duration and categories from template
hparfr Aug 20, 2019
65d71fb
Create all recurring orders at confirmation
hparfr Aug 20, 2019
fb388fa
[IMP] UI
brian10048 Aug 21, 2019
a1c93be
[IMP][12.0] fieldservice_recurring
murtuzasaleh Sep 5, 2019
603c741
Remove customer_id
hparfr Sep 6, 2019
363281f
[IMP] fieldservice_recurring
max3903 Oct 11, 2019
db47316
[IMP] fieldservice_vehicle_stock
max3903 Oct 11, 2019
344a170
[UPD] Update fieldservice_recurring.pot
oca-travis Nov 14, 2019
ed4753d
Added translation using Weblate (Spanish (Chile))
Nov 22, 2019
9548748
Added translation using Weblate (German)
marylla Nov 22, 2019
31f6e35
Translated using Weblate (German)
marylla Nov 22, 2019
35d94b2
Add team_id field in Recurring FS Orders
clementmbr Nov 22, 2019
68786f8
fieldservice_recurring 12.0.1.1.0
OCA-git-bot Nov 25, 2019
6b67285
Translated using Weblate (German)
marylla Nov 26, 2019
f1788ec
Translated using Weblate (German)
marylla Nov 26, 2019
c680e72
Translated using Weblate (German)
marylla Nov 26, 2019
b556e86
[FIX] fieldservice_recurring: test
brian10048 Dec 9, 2019
a0215a4
fieldservice_recurring 12.0.1.1.1
OCA-git-bot Dec 9, 2019
7139621
Translated using Weblate (Spanish (Chile))
Dec 10, 2019
461f7ca
Translated using Weblate (Spanish (Chile))
Jan 3, 2020
320fc96
Added translation using Weblate (Portuguese (Brazil))
marcelsavegnago Jan 16, 2020
43fac82
[ADD] Spanish (es) translation
max3903 Jan 16, 2020
cc83b53
Translated using Weblate (Portuguese (Brazil))
marcelsavegnago Feb 5, 2020
38adb47
Translated using Weblate (Portuguese (Brazil))
fcolus Jun 17, 2020
7bb8cb2
Translated using Weblate (Portuguese (Brazil))
fcolus Jun 17, 2020
e3d4024
[12.0][IMP] fieldservice_recurring
brian10048 Jun 24, 2020
595e35f
fieldservice_recurring 12.0.1.2.0
OCA-git-bot Jun 28, 2020
af45009
Translated using Weblate (Spanish)
brian10048 Jul 14, 2020
664d8ee
[IMP] fieldservice_recurring: black, isort, prettier
brian10048 Jul 18, 2020
f1427cd
[MIG] fieldservice_recurring: Migration to 13.0
brian10048 Jul 18, 2020
13ebedf
[UPD] README.rst
OCA-git-bot Jul 18, 2020
11ebe1c
[IMP] fieldservice_recurring: black, isort, prettier
brian10048 Jul 20, 2020
525752c
[UPD] Update fieldservice_recurring.pot
oca-travis Jul 20, 2020
7487a4f
fieldservice_recurring 13.0.1.0.1
OCA-git-bot Jul 20, 2020
8b0b954
Update translation files
oca-transbot Jul 20, 2020
2a59f3e
[UPD] Update fieldservice_recurring.pot
oca-travis Jul 29, 2020
234d646
Update translation files
oca-transbot Jul 29, 2020
3d55c3d
Update translation files
oca-transbot Aug 16, 2020
3b1db4c
Added translation using Weblate (Spanish (Argentina))
ibuioli Apr 27, 2021
d5c5d1c
Translated using Weblate (Spanish (Argentina))
ibuioli May 30, 2021
6c3a379
Added translation using Weblate (Turkish)
tate11 Jul 10, 2021
3bc720c
Translated using Weblate (Turkish)
tate11 Jul 10, 2021
428f40b
Added translation using Weblate (Italian)
mymage Sep 27, 2021
8c9c799
Translated using Weblate (Italian)
mymage Sep 27, 2021
eae07dd
Translated using Weblate (Italian)
mymage Sep 29, 2021
50181f9
[MIG] fieldservice_recurring: Migration to 14.0
brian10048 Nov 30, 2021
2189e65
[IMP] fieldservice_recurring: Edit orders in form
brian10048 Nov 30, 2021
cc62e2a
[IMP] fieldservice_recurring: Add search view
brian10048 Nov 30, 2021
36427e7
[UPD] Update fieldservice_recurring.pot
oca-travis Dec 13, 2021
1a02f16
[UPD] README.rst
OCA-git-bot Dec 13, 2021
2b1272a
fieldservice_recurring: adapt to RFC #735
hparfr Jul 20, 2021
fef8ee5
fieldservice_recurring: Fix api.constraint with recordset
hparfr Oct 18, 2021
bc65e09
[IMP] fieldservice_recurring: Add demo data
brian10048 Dec 14, 2019
adbdbf8
[IMP] fieldservice_recurring: black, isort, prettier
hparfr Dec 29, 2021
6ebd74b
Fixed _compute_request_late methods
HekkiMelody Jun 28, 2021
b7449b7
fieldservice_recurring 14.0.1.1.0
OCA-git-bot Dec 29, 2021
7beee45
fieldservice_recurring 14.0.1.2.0
OCA-git-bot Dec 29, 2021
e877a81
fieldservice_recurring 14.0.1.3.0
OCA-git-bot Dec 31, 2021
635a033
[UPD] Update fieldservice_recurring.pot
oca-travis Jan 27, 2022
5d26f21
[UPD] README.rst
OCA-git-bot Jan 27, 2022
e9d5f1e
fieldservice_recurring 14.0.1.4.0
OCA-git-bot Jan 27, 2022
9f0eab9
Update translation files
oca-transbot Jan 27, 2022
82e9009
Translated using Weblate (Spanish (Argentina))
ibuioli Jan 30, 2022
ea917a4
[15.0][FIX] Travis
Freni-OSI Feb 8, 2022
ec68605
[15.0][MIG] fieldservice_recurring
Freni-OSI Feb 10, 2022
150cc09
[UPD] Update fieldservice_recurring.pot
Nov 1, 2022
c08a965
[UPD] README.rst
OCA-git-bot Nov 1, 2022
62a8c38
Update translation files
weblate Nov 1, 2022
09ed2d0
Translated using Weblate (Italian)
mymage Nov 2, 2022
41381fa
Translated using Weblate (Italian)
mymage Nov 4, 2022
a2fe38c
Translated using Weblate (Spanish (Argentina))
ibuioli Nov 12, 2022
c3f30b8
Translated using Weblate (German)
NICO-SOLUTIONS Dec 3, 2022
0e087d0
Translated using Weblate (German)
NICO-SOLUTIONS Dec 4, 2022
615b66c
Translated using Weblate (Italian)
francesco-ooops Dec 29, 2022
beff3ba
Translated using Weblate (Italian)
francesco-ooops Dec 30, 2022
a527271
Translated using Weblate (Italian)
francesco-ooops Jan 3, 2023
423b3c5
Translated using Weblate (Spanish)
macagua Mar 2, 2023
66c3ad2
Translated using Weblate (Spanish)
macagua Mar 2, 2023
c2e0c57
Translated using Weblate (Spanish (Chile))
macagua Mar 2, 2023
12e0c18
Translated using Weblate (Spanish (Chile))
macagua Mar 2, 2023
e253208
Translated using Weblate (Italian)
francesco-ooops Mar 7, 2023
7b9903a
Translated using Weblate (Italian)
mymage Mar 30, 2023
e14b83d
Translated using Weblate (Italian)
mymage Apr 4, 2023
e56c66e
Translated using Weblate (Italian)
mymage Apr 5, 2023
8ecbd43
Translated using Weblate (Italian)
francesco-ooops Apr 7, 2023
d60fd87
Translated using Weblate (Italian)
mymage Apr 12, 2023
d53f3c0
Translated using Weblate (Italian)
francesco-ooops Apr 26, 2023
56cfbfb
Translated using Weblate (Italian)
francesco-ooops May 12, 2023
132a3bf
Translated using Weblate (Italian)
mymage Jun 14, 2023
255f4f5
Translated using Weblate (Italian)
mymage Jun 15, 2023
1bc36ad
Translated using Weblate (Italian)
mymage Jun 16, 2023
218a653
[MIG] fieldservice_recurring: Migration to 16.0
kaynnan Jul 10, 2023
1f89c4a
[UPD] Update fieldservice_recurring.pot
Jul 11, 2023
58e0cfb
[UPD] README.rst
OCA-git-bot Jul 11, 2023
68d7c65
Update translation files
weblate Jul 11, 2023
3d6d5c6
Update translation files
weblate Jul 11, 2023
36684ed
Translated using Weblate (Italian)
mymage Jul 13, 2023
bc24f3a
Translated using Weblate (Portuguese (Brazil))
adrianojprado Aug 11, 2023
c3bd3dd
[UPD] README.rst
OCA-git-bot Sep 3, 2023
e844eff
[UPD] Update fieldservice_recurring.pot
Sep 3, 2023
b0732fd
Update translation files
weblate Sep 3, 2023
b81e888
Translated using Weblate (Spanish (Argentina))
ibuioli Sep 4, 2023
da13841
Translated using Weblate (Italian)
mymage Sep 4, 2023
fa89f12
Translated using Weblate (Spanish)
Ivorra78 Sep 5, 2023
a2d86ff
Translated using Weblate (Spanish)
Ivorra78 Sep 20, 2023
bbf550e
[UPD] Update fieldservice_recurring.pot
Oct 28, 2023
beee100
[BOT] post-merge updates
OCA-git-bot Oct 28, 2023
468191f
Update translation files
weblate Oct 29, 2023
58e5832
Translated using Weblate (Portuguese (Brazil))
adrianojprado Oct 30, 2023
cb2f811
[FIX] fieldservice_recurring: Use timezone aware rrule and normalize …
paradoxxxzero Mar 15, 2022
84439ae
Orders are created from a frequency
hparfr Apr 8, 2022
e643317
[FIX] fieldservice_recurring: Fix missing timezone when context->tz i…
paradoxxxzero Jun 2, 2022
7570ed1
fsm_recurring: add team_id in tree / filter
hparfr Jun 17, 2022
93e3956
[FIX] fieldservice_recurring: adapt access to ir.actions.* records
brian10048 Jun 17, 2022
85876c7
[FIX] fieldservice_recurring: Default company
paradoxxxzero Sep 21, 2022
b0fc251
[IMP] fieldservice_recurring: Use location_id tz
paradoxxxzero Oct 3, 2022
c112cf9
fieldservice_recurring: add recurring in team's dashboard
hparfr Jun 17, 2022
805edbe
[14.0][ADD] Equipment field to the `fsm.recurring` model
BojanOD Nov 25, 2022
a438c03
[14.0][FIX]fieldservice_recurring: fix security for group_fsm_user_own
HekkiMelody Jan 4, 2023
0a43ba8
fieldservice_recurring: fix default team
hparfr Aug 24, 2023
1a5c1bf
fieldservice_recurring: refactore stages
hparfr Apr 8, 2022
a5cc57e
[IMP] fieldservice_recurring: groups attribute v16
brian10048 Nov 13, 2023
bd3acc5
[IMP] fieldservice_recurring: tests
brian10048 Nov 13, 2023
562db04
Translated using Weblate (Italian)
mymage Nov 17, 2023
ed9473a
[UPD] Update fieldservice_recurring.pot
Dec 12, 2023
6027a79
[BOT] post-merge updates
OCA-git-bot Dec 12, 2023
a704951
Update translation files
weblate Dec 12, 2023
c03e329
Translated using Weblate (Spanish)
Ivorra78 Dec 13, 2023
e295746
Translated using Weblate (Italian)
mymage Dec 19, 2023
fba1380
Translated using Weblate (Spanish (Argentina))
ibuioli Jan 20, 2024
c19a705
[IMP] fieldservice_recurring: pre-commit auto fixes
Apr 16, 2024
fbe4b4c
[MIG] fieldservice_recurring: Migration to 17.0
Apr 16, 2024
53fd8df
[UPD] Update fieldservice_recurring.pot
Apr 22, 2024
cb651a0
[BOT] post-merge updates
OCA-git-bot Apr 22, 2024
b367dbb
Update translation files
weblate Apr 22, 2024
310a1ae
[UPD] Update fieldservice_recurring.pot
Aug 1, 2024
1781a1c
Update translation files
weblate Aug 1, 2024
90a0c12
[FIX] fieldservice_recurring:
yankinmax Aug 14, 2024
f24e16b
[BOT] post-merge updates
OCA-git-bot Aug 19, 2024
40b3f9d
Translated using Weblate (Italian)
mymage Aug 30, 2024
019ecf2
[UPD] Update fieldservice_recurring.pot
Sep 14, 2024
e4835f0
Update translation files
weblate Sep 14, 2024
613fdb1
[UPD] Update fieldservice_recurring.pot
Sep 30, 2024
2aa9da0
Update translation files
weblate Sep 30, 2024
0508f00
Translated using Weblate (Italian)
mymage Oct 3, 2024
408623c
Translated using Weblate (Spanish (Argentina))
ibuioli Oct 5, 2024
5e51693
[MIG] fieldservice_recurring: Migration to 18.0
EdgarRetes Oct 15, 2024
5624106
[UPD] Update fieldservice_recurring.pot
Nov 20, 2024
9374b0b
[BOT] post-merge updates
OCA-git-bot Nov 20, 2024
f77c486
Update translation files
weblate Nov 20, 2024
863c700
Translated using Weblate (Italian)
mymage Nov 21, 2024
d94bb8e
[REF] fieldservice_recurring: move rruleset params in methods
renda-dev Apr 3, 2024
7dd9d54
[FIX] fieldservice_recurring: company required on recurring
HekkiMelody Apr 3, 2024
21a4005
[BOT] post-merge updates
OCA-git-bot Jan 27, 2025
e86aba5
Translated using Weblate (Turkish)
tsezgin Sep 22, 2025
f4e90b1
Translated using Weblate (Turkish)
tsezgin Sep 22, 2025
e58163c
Added translation using Weblate (Swedish)
jakobkrabbe Oct 7, 2025
62032db
Translated using Weblate (Swedish)
jakobkrabbe Oct 7, 2025
9085df1
[FIX]field_service_recurring: fixed tree view formatting
Apr 7, 2025
d29d88d
[16.0][FIX][fieldservice_recurring]: Fix error in search view
anusriNPS Jun 4, 2025
69b1656
[BOT] post-merge updates
OCA-git-bot Dec 15, 2025
77002f0
[MIG] fieldservice_recurring: Migration to 19.0
hoattk-komit Jan 21, 2026
fd97e98
[DON'T MERGE] test-requirements.txt
hoattk-komit Feb 5, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
173 changes: 173 additions & 0 deletions fieldservice_recurring/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,173 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

===================================
Field Service Recurring Work Orders
===================================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:9aa5672a76406bb310cc8fcba1ffc126b10889f04ad99394c4b801f670d2e33a
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Ffield--service-lightgray.png?logo=github
:target: https://github.com/OCA/field-service/tree/19.0/fieldservice_recurring
:alt: OCA/field-service
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/field-service-19-0/field-service-19-0-fieldservice_recurring
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/field-service&target_branch=19.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module allows you to manage your recurring field service work
orders

Recurring settings are configured via the FSM Frequency model. Multiple
FSM Frequency can be combined on a FSM Frequency Rule Set which enables
highly configurable recurring rules calculated using the dateutil rrule
python library.

**Table of contents**

.. contents::
:local:

Installation
============

To install Field Service and have the mapping features, you need to
install GeoEngine.

Please refer to the installation instructions available at:
https://github.com/OCA/geospatial/tree/12.0/base_geoengine

Configuration
=============

To configure this module, you need to:

- Setup your Frequencies to establish recurring rules

1. In fieldservice app go to Menu > Configuration > Orders > Frequencies
2. Create a Frequency
3. Setup your Frequency by giving it a descriptive name, set your
interval and the interval type. Use the additional settings to build
a recurring rule based on python's dateutil rrule parameters.

- Setup your Frequency Rule Sets used to calculate recurring order dates

1. In fieldservice app go to Menu > Configuration > Orders > Frequency
Rule Set
2. Create a Frequency Rule Set
3. Setup your Frequency Rule by first giving it a descriptive name.
Complete the form by entering the number of days ahead this rule will
schedule work.
4. Finally, choose which Frequencies this rule will use to compute the
dates used for scheduling.

- Setup your recurring order templates to define standard recurring
orders

1. In fieldservice app go to Menu > Configuration > Orders > Recurring
Templates
2. Name the template and set fields to define which order template is
repeated and what Frequency Rule Set will be used

Usage
=====

To use this module, you need to:

- In fieldservice app go to Menu > Operations > Recurring Orders
- Create a new Recurring Order model
- Select a Recurring Template and modify as needed.
- Set other fields for fsm location, etc
- Confirm the recurrence to create first order
- Future orders will be created via cron task

Known issues / Roadmap
======================

The roadmap of the Field Service application is documented on
`Github <https://github.com/OCA/field-service/issues/1>`__.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/field-service/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/field-service/issues/new?body=module:%20fieldservice_recurring%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* Brian McMaster
* Open Source Integrators

Contributors
------------

- Brian McMaster <brian@mcmpest.com>
- Kitti Upariphutthiphone <kittiu@ecosoft.co.th>
- Raphaël Reverdy <raphael.reverdy@akretion.com>
- Freni Patel <fpatel@opensourceintegrators.com>
- `APSL <https://apsl.tech>`__:

- Antoni Marroig <amarroig@apsl.net>

Other credits
-------------

The development of this module has been financially supported by:

- Open Source Integrators <https://opensourceintegrators.com>

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

.. |maintainer-wolfhall| image:: https://github.com/wolfhall.png?size=40px
:target: https://github.com/wolfhall
:alt: wolfhall
.. |maintainer-max3903| image:: https://github.com/max3903.png?size=40px
:target: https://github.com/max3903
:alt: max3903
.. |maintainer-brian10048| image:: https://github.com/brian10048.png?size=40px
:target: https://github.com/brian10048
:alt: brian10048

Current `maintainers <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-wolfhall| |maintainer-max3903| |maintainer-brian10048|

This module is part of the `OCA/field-service <https://github.com/OCA/field-service/tree/19.0/fieldservice_recurring>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
4 changes: 4 additions & 0 deletions fieldservice_recurring/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Copyright (C) 2019 Brian McMaster, Open Source Integrators
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from . import models
35 changes: 35 additions & 0 deletions fieldservice_recurring/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Copyright (C) 2019 Brian McMaster, Open Source Integrators
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "Field Service Recurring Work Orders",
"summary": "Manage recurring Field Service orders",
"version": "19.0.1.0.0",
"category": "Field Service",
"author": "Brian McMaster, "
"Open Source Integrators, "
"Odoo Community Association (OCA)",
"website": "https://github.com/OCA/field-service",
"depends": ["fieldservice"],
"data": [
"data/ir_sequence.xml",
"security/res_groups.xml",
"security/ir.model.access.csv",
"security/recurring_security.xml",
"views/fsm_frequency.xml",
"views/fsm_frequency_set.xml",
"views/fsm_order.xml",
"views/fsm_recurring_template.xml",
"views/fsm_recurring.xml",
"views/fsm_team.xml",
"data/recurring_cron.xml",
],
"demo": [
"demo/frequency_demo.xml",
"demo/frequency_set_demo.xml",
"demo/recur_template_demo.xml",
],
"license": "AGPL-3",
"development_status": "Beta",
"maintainers": ["wolfhall", "max3903", "brian10048"],
}
11 changes: 11 additions & 0 deletions fieldservice_recurring/data/ir_sequence.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">
<!-- Sequence for fsm.recurring -->
<record id="seq_fsm_order" model="ir.sequence">
<field name="name">FSM Recurring Order</field>
<field name="code">fsm.recurring</field>
<field name="prefix">RFO</field>
<field name="padding">3</field>
<field name="company_id" eval="False" />
</record>
</odoo>
11 changes: 11 additions & 0 deletions fieldservice_recurring/data/recurring_cron.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding='UTF-8' ?>
<odoo>
<record model="ir.cron" id="recurring_orders_cron">
<field name="name">Field Service: generate recurring orders</field>
<field name="model_id" ref="model_fsm_recurring" />
<field name="state">code</field>
<field name="code">model._cron_scheduled_task()</field>
<field name="interval_number">1</field>
<field name="interval_type">days</field>
</record>
</odoo>
13 changes: 13 additions & 0 deletions fieldservice_recurring/demo/frequency_demo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<odoo>
<record id="freq_weekdays" model="fsm.frequency">
<field name="name">Weekdays</field>
<field name="interval">1</field>
<field name="interval_type">daily</field>
<field name="use_byweekday" eval="True" />
<field name="mo" eval="True" />
<field name="tu" eval="True" />
<field name="we" eval="True" />
<field name="th" eval="True" />
<field name="fr" eval="True" />
</record>
</odoo>
9 changes: 9 additions & 0 deletions fieldservice_recurring/demo/frequency_set_demo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<odoo>
<record id="freq_set_weekdays" model="fsm.frequency.set">
<field name="name">Weekdays</field>
<field name="fsm_frequency_ids" eval="[(4, ref('freq_weekdays'))]" />
<field name="schedule_days">14</field>
<field name="buffer_early">1</field>
<field name="buffer_late">1</field>
</record>
</odoo>
10 changes: 10 additions & 0 deletions fieldservice_recurring/demo/recur_template_demo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<odoo>
<record id="recur_template_weekdays" model="fsm.recurring.template">
<field name="name">Weekdays Template</field>
<field name="description">
This template will create an FSM Recurring Order that will
generate FSM Orders every weekday.
</field>
<field name="fsm_frequency_set_id" eval="ref('freq_set_weekdays')" />
</record>
</odoo>
Loading
Loading