From 0c9409a32aec509429a78e079c36ad2c0b50d540 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Mon, 29 Jun 2020 10:13:59 +0900 Subject: [PATCH] configurator_standard: set int index on states and transitions Since the workflow is linear, make sure the states and transitions are sorted in the listboxs in same order as workflow, this makes re-configuring the workflow a bit easier. --- .../workflow_module/erp5_standard_workflow/1.xml | 4 ++++ .../workflow_module/erp5_standard_workflow/11.xml | 4 ++++ .../workflow_module/erp5_standard_workflow/12.xml | 4 ++++ .../workflow_module/erp5_standard_workflow/14.xml | 4 ++++ .../workflow_module/erp5_standard_workflow/2.xml | 4 ++++ .../workflow_module/erp5_standard_workflow/29.xml | 4 ++++ .../workflow_module/erp5_standard_workflow/3.xml | 4 ++++ .../workflow_module/erp5_standard_workflow/30.xml | 4 ++++ .../workflow_module/erp5_standard_workflow/31.xml | 4 ++++ .../workflow_module/erp5_standard_workflow/32.xml | 4 ++++ .../workflow_module/erp5_standard_workflow/4.xml | 4 ++++ .../workflow_module/erp5_standard_workflow/5.xml | 4 ++++ .../workflow_module/erp5_standard_workflow/55.xml | 4 ++++ .../workflow_module/erp5_standard_workflow/56.xml | 4 ++++ .../workflow_module/erp5_standard_workflow/6.xml | 4 ++++ .../workflow_module/erp5_standard_workflow/61.xml | 4 ++++ .../workflow_module/erp5_standard_workflow/62.xml | 4 ++++ .../workflow_module/erp5_standard_workflow/63.xml | 4 ++++ .../workflow_module/erp5_standard_workflow/64.xml | 4 ++++ .../workflow_module/erp5_standard_workflow/65.xml | 4 ++++ .../workflow_module/erp5_standard_workflow/66.xml | 4 ++++ .../workflow_module/erp5_standard_workflow/8.xml | 4 ++++ .../workflow_module/erp5_standard_workflow/9.xml | 4 ++++ 23 files changed, 92 insertions(+) diff --git a/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/1.xml b/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/1.xml index 99cbc86837..d88759a425 100644 --- a/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/1.xml +++ b/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/1.xml @@ -42,6 +42,10 @@ <key> <string>id</string> </key> <value> <string>1</string> </value> </item> + <item> + <key> <string>int_index</string> </key> + <value> <int>1</int> </value> + </item> <item> <key> <string>portal_type</string> </key> <value> <string>State</string> </value> diff --git a/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/11.xml b/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/11.xml index 35e23db237..86136384c8 100644 --- a/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/11.xml +++ b/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/11.xml @@ -40,6 +40,10 @@ <key> <string>id</string> </key> <value> <string>11</string> </value> </item> + <item> + <key> <string>int_index</string> </key> + <value> <int>11</int> </value> + </item> <item> <key> <string>portal_type</string> </key> <value> <string>State</string> </value> diff --git a/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/12.xml b/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/12.xml index 9979d93a68..8b61eb9b85 100644 --- a/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/12.xml +++ b/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/12.xml @@ -73,6 +73,10 @@ <key> <string>id</string> </key> <value> <string>12</string> </value> </item> + <item> + <key> <string>int_index</string> </key> + <value> <int>7</int> </value> + </item> <item> <key> <string>portal_type</string> </key> <value> <string>Transition</string> </value> diff --git a/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/14.xml b/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/14.xml index 70db10202d..ae5aad19bf 100644 --- a/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/14.xml +++ b/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/14.xml @@ -50,6 +50,10 @@ <key> <string>id</string> </key> <value> <string>14</string> </value> </item> + <item> + <key> <string>int_index</string> </key> + <value> <int>10</int> </value> + </item> <item> <key> <string>portal_type</string> </key> <value> <string>Transition</string> </value> diff --git a/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/2.xml b/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/2.xml index ffb9fb3b9f..bffd3a3d1d 100644 --- a/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/2.xml +++ b/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/2.xml @@ -63,6 +63,10 @@ <key> <string>id</string> </key> <value> <string>2</string> </value> </item> + <item> + <key> <string>int_index</string> </key> + <value> <int>5</int> </value> + </item> <item> <key> <string>portal_type</string> </key> <value> <string>State</string> </value> diff --git a/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/29.xml b/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/29.xml index 6de4cdaac3..6acfeafbbd 100644 --- a/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/29.xml +++ b/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/29.xml @@ -63,6 +63,10 @@ <key> <string>id</string> </key> <value> <string>29</string> </value> </item> + <item> + <key> <string>int_index</string> </key> + <value> <int>3</int> </value> + </item> <item> <key> <string>portal_type</string> </key> <value> <string>State</string> </value> diff --git a/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/3.xml b/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/3.xml index dd411ac5d7..be64dd3d63 100644 --- a/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/3.xml +++ b/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/3.xml @@ -50,6 +50,10 @@ <key> <string>id</string> </key> <value> <string>3</string> </value> </item> + <item> + <key> <string>int_index</string> </key> + <value> <int>4</int> </value> + </item> <item> <key> <string>portal_type</string> </key> <value> <string>Transition</string> </value> diff --git a/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/30.xml b/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/30.xml index e7a6e32c97..b369393e16 100644 --- a/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/30.xml +++ b/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/30.xml @@ -50,6 +50,10 @@ <key> <string>id</string> </key> <value> <string>30</string> </value> </item> + <item> + <key> <string>int_index</string> </key> + <value> <int>2</int> </value> + </item> <item> <key> <string>portal_type</string> </key> <value> <string>Transition</string> </value> diff --git a/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/31.xml b/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/31.xml index 1a4983fd5a..3794d17eef 100644 --- a/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/31.xml +++ b/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/31.xml @@ -40,6 +40,10 @@ <key> <string>id</string> </key> <value> <string>31</string> </value> </item> + <item> + <key> <string>int_index</string> </key> + <value> <int>10</int> </value> + </item> <item> <key> <string>portal_type</string> </key> <value> <string>State</string> </value> diff --git a/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/32.xml b/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/32.xml index 9fa03eb00b..a529dc0f02 100644 --- a/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/32.xml +++ b/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/32.xml @@ -73,6 +73,10 @@ <key> <string>id</string> </key> <value> <string>32</string> </value> </item> + <item> + <key> <string>int_index</string> </key> + <value> <int>9</int> </value> + </item> <item> <key> <string>portal_type</string> </key> <value> <string>Transition</string> </value> diff --git a/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/4.xml b/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/4.xml index d52c484185..4254d59be4 100644 --- a/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/4.xml +++ b/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/4.xml @@ -50,6 +50,10 @@ <key> <string>id</string> </key> <value> <string>4</string> </value> </item> + <item> + <key> <string>int_index</string> </key> + <value> <int>5</int> </value> + </item> <item> <key> <string>portal_type</string> </key> <value> <string>Transition</string> </value> diff --git a/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/5.xml b/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/5.xml index 0ed95efb1b..9b02143584 100644 --- a/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/5.xml +++ b/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/5.xml @@ -63,6 +63,10 @@ <key> <string>id</string> </key> <value> <string>5</string> </value> </item> + <item> + <key> <string>int_index</string> </key> + <value> <int>4</int> </value> + </item> <item> <key> <string>portal_type</string> </key> <value> <string>State</string> </value> diff --git a/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/55.xml b/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/55.xml index fc2316a395..e7a4d68d53 100644 --- a/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/55.xml +++ b/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/55.xml @@ -42,6 +42,10 @@ <key> <string>id</string> </key> <value> <string>55</string> </value> </item> + <item> + <key> <string>int_index</string> </key> + <value> <int>2</int> </value> + </item> <item> <key> <string>portal_type</string> </key> <value> <string>State</string> </value> diff --git a/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/56.xml b/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/56.xml index f234d6b6bb..b7a3e2f9e8 100644 --- a/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/56.xml +++ b/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/56.xml @@ -77,6 +77,10 @@ <key> <string>id</string> </key> <value> <string>56</string> </value> </item> + <item> + <key> <string>int_index</string> </key> + <value> <int>1</int> </value> + </item> <item> <key> <string>portal_type</string> </key> <value> <string>Transition</string> </value> diff --git a/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/6.xml b/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/6.xml index bf88848219..d29e83f198 100644 --- a/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/6.xml +++ b/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/6.xml @@ -50,6 +50,10 @@ <key> <string>id</string> </key> <value> <string>6</string> </value> </item> + <item> + <key> <string>int_index</string> </key> + <value> <int>3</int> </value> + </item> <item> <key> <string>portal_type</string> </key> <value> <string>Transition</string> </value> diff --git a/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/61.xml b/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/61.xml index 14fc238a3c..22cbf378f3 100644 --- a/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/61.xml +++ b/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/61.xml @@ -40,6 +40,10 @@ <key> <string>id</string> </key> <value> <string>61</string> </value> </item> + <item> + <key> <string>int_index</string> </key> + <value> <int>7</int> </value> + </item> <item> <key> <string>portal_type</string> </key> <value> <string>State</string> </value> diff --git a/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/62.xml b/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/62.xml index 60eade01b4..81ece42d74 100644 --- a/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/62.xml +++ b/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/62.xml @@ -50,6 +50,10 @@ <key> <string>id</string> </key> <value> <string>62</string> </value> </item> + <item> + <key> <string>int_index</string> </key> + <value> <int>6</int> </value> + </item> <item> <key> <string>portal_type</string> </key> <value> <string>Transition</string> </value> diff --git a/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/63.xml b/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/63.xml index 365a712f82..03321644c1 100644 --- a/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/63.xml +++ b/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/63.xml @@ -34,6 +34,10 @@ <key> <string>id</string> </key> <value> <string>63</string> </value> </item> + <item> + <key> <string>int_index</string> </key> + <value> <int>12</int> </value> + </item> <item> <key> <string>portal_type</string> </key> <value> <string>State</string> </value> diff --git a/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/64.xml b/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/64.xml index 1f8df6f9ae..c005e557c2 100644 --- a/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/64.xml +++ b/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/64.xml @@ -40,6 +40,10 @@ <key> <string>id</string> </key> <value> <string>64</string> </value> </item> + <item> + <key> <string>int_index</string> </key> + <value> <int>11</int> </value> + </item> <item> <key> <string>portal_type</string> </key> <value> <string>Transition</string> </value> diff --git a/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/65.xml b/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/65.xml index 0b78d0b6ee..aada307cf1 100644 --- a/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/65.xml +++ b/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/65.xml @@ -32,6 +32,10 @@ <key> <string>id</string> </key> <value> <string>65</string> </value> </item> + <item> + <key> <string>int_index</string> </key> + <value> <int>8</int> </value> + </item> <item> <key> <string>portal_type</string> </key> <value> <string>Transition</string> </value> diff --git a/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/66.xml b/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/66.xml index 7a9bd3bf2f..eb8e1352dc 100644 --- a/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/66.xml +++ b/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/66.xml @@ -22,6 +22,10 @@ <key> <string>id</string> </key> <value> <string>66</string> </value> </item> + <item> + <key> <string>int_index</string> </key> + <value> <int>9</int> </value> + </item> <item> <key> <string>portal_type</string> </key> <value> <string>State</string> </value> diff --git a/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/8.xml b/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/8.xml index 13b10077d5..da921e957d 100644 --- a/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/8.xml +++ b/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/8.xml @@ -63,6 +63,10 @@ nter Number of User</string> </value> <key> <string>id</string> </key> <value> <string>8</string> </value> </item> + <item> + <key> <string>int_index</string> </key> + <value> <int>6</int> </value> + </item> <item> <key> <string>portal_type</string> </key> <value> <string>State</string> </value> diff --git a/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/9.xml b/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/9.xml index c042ee7547..9158e84848 100644 --- a/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/9.xml +++ b/bt5/erp5_configurator_standard/PathTemplateItem/workflow_module/erp5_standard_workflow/9.xml @@ -63,6 +63,10 @@ <key> <string>id</string> </key> <value> <string>9</string> </value> </item> + <item> + <key> <string>int_index</string> </key> + <value> <int>8</int> </value> + </item> <item> <key> <string>portal_type</string> </key> <value> <string>State</string> </value> -- 2.30.9