Commit 9befc11a authored by Vincent Bechu's avatar Vincent Bechu

fixup erp5 configurator

parent 3a80b412
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
conflict_handling: 1, conflict_handling: 1,
parallel_operation_attachment_amount: 10, parallel_operation_attachment_amount: 10,
parallel_operation_amount: 10, parallel_operation_amount: 10,
signature_hash_key: "modification_date",
check_local_attachment_modification: attachment_synchro, check_local_attachment_modification: attachment_synchro,
check_local_attachment_creation: attachment_synchro, check_local_attachment_creation: attachment_synchro,
check_remote_attachment_modification: attachment_synchro, check_remote_attachment_modification: attachment_synchro,
...@@ -54,6 +55,11 @@ ...@@ -54,6 +55,11 @@
} }
}, },
local_sub_storage: { local_sub_storage: {
type: "mapping",
property: {
"modification_date": ["formatDate", ["toISOString", "rfc822"]]
},
sub_storage: {
type: "query", type: "query",
sub_storage: { sub_storage: {
type: "uuid", type: "uuid",
...@@ -62,8 +68,11 @@ ...@@ -62,8 +68,11 @@
database: "officejs-erp5" database: "officejs-erp5"
} }
} }
}
}, },
remote_sub_storage: { remote_sub_storage: {
type: "saferepair",
sub_storage: {
type: "mapping", type: "mapping",
attachment_list: ["data"], attachment_list: ["data"],
attachment: { attachment: {
...@@ -87,6 +96,7 @@ ...@@ -87,6 +96,7 @@
default_view_reference: result[2] default_view_reference: result[2]
} }
} }
}
}; };
return gadget.setSetting('jio_storage_description', configuration); return gadget.setSetting('jio_storage_description', configuration);
}) })
......
...@@ -273,7 +273,7 @@ ...@@ -273,7 +273,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>961.22099.5660.20138</string> </value> <value> <string>961.49200.15936.15257</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -291,7 +291,7 @@ ...@@ -291,7 +291,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1502460802.37</float> <float>1504084622.06</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment