From 64e3d9dafce5fe625c7e1c862700c3f9f13db5eb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com>
Date: Fri, 15 Apr 2011 12:46:47 +0000
Subject: [PATCH] Property sheets format changed

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@45505 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../PropertySheetTemplateItem/CheckDeposit.py | 40 -------------
 .../PropertySheetTemplateItem/CheckPayment.py | 41 -------------
 .../CheckbookReception.py                     | 39 ------------
 .../PropertySheetTemplateItem/StopPayment.py  | 40 -------------
 .../portal_property_sheets/CheckDeposit.xml   | 60 +++++++++++++++++++
 .../CheckDeposit/check_less_property.xml      | 53 ++++++++++++++++
 .../portal_property_sheets/CheckPayment.xml   | 60 +++++++++++++++++++
 .../unique_per_account_property.xml           | 57 ++++++++++++++++++
 .../CheckbookReception.xml                    | 60 +++++++++++++++++++
 .../CheckbookReception/imported_property.xml  | 53 ++++++++++++++++
 .../portal_property_sheets/StopPayment.xml    | 60 +++++++++++++++++++
 .../StopPayment/debit_required_property.xml   | 53 ++++++++++++++++
 12 files changed, 456 insertions(+), 160 deletions(-)
 delete mode 100644 bt5/erp5_banking_check/PropertySheetTemplateItem/CheckDeposit.py
 delete mode 100644 bt5/erp5_banking_check/PropertySheetTemplateItem/CheckPayment.py
 delete mode 100644 bt5/erp5_banking_check/PropertySheetTemplateItem/CheckbookReception.py
 delete mode 100644 bt5/erp5_banking_check/PropertySheetTemplateItem/StopPayment.py
 create mode 100644 bt5/erp5_banking_check/PropertySheetTemplateItem/portal_property_sheets/CheckDeposit.xml
 create mode 100644 bt5/erp5_banking_check/PropertySheetTemplateItem/portal_property_sheets/CheckDeposit/check_less_property.xml
 create mode 100644 bt5/erp5_banking_check/PropertySheetTemplateItem/portal_property_sheets/CheckPayment.xml
 create mode 100644 bt5/erp5_banking_check/PropertySheetTemplateItem/portal_property_sheets/CheckPayment/unique_per_account_property.xml
 create mode 100644 bt5/erp5_banking_check/PropertySheetTemplateItem/portal_property_sheets/CheckbookReception.xml
 create mode 100644 bt5/erp5_banking_check/PropertySheetTemplateItem/portal_property_sheets/CheckbookReception/imported_property.xml
 create mode 100644 bt5/erp5_banking_check/PropertySheetTemplateItem/portal_property_sheets/StopPayment.xml
 create mode 100644 bt5/erp5_banking_check/PropertySheetTemplateItem/portal_property_sheets/StopPayment/debit_required_property.xml

diff --git a/bt5/erp5_banking_check/PropertySheetTemplateItem/CheckDeposit.py b/bt5/erp5_banking_check/PropertySheetTemplateItem/CheckDeposit.py
deleted file mode 100644
index 2806f2131d..0000000000
--- a/bt5/erp5_banking_check/PropertySheetTemplateItem/CheckDeposit.py
+++ /dev/null
@@ -1,40 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 2002-2007 Nexedi SARL and Contributors. All Rights Reserved.
-#
-# WARNING: This program as such is intended to be used by professional
-# programmers who take the whole responsability of assessing all potential
-# consequences resulting from its eventual inadequacies and bugs
-# End users who are looking for a ready-to-use solution with commercial
-# garantees and support are strongly adviced to contract a Free Software
-# Service Company
-#
-# This program is Free Software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
-#
-##############################################################################
-
-class CheckDeposit:
-    """
-        CheckDeposit properties for all ERP5 objects
-    """
-
-    _properties = (
-        {   'id'          : 'check_less',
-            'description' : 'When true, disable check number verification on lines.',
-            'type'        : 'boolean',
-            'mode'        : 'w' },
-    )
-  
-
diff --git a/bt5/erp5_banking_check/PropertySheetTemplateItem/CheckPayment.py b/bt5/erp5_banking_check/PropertySheetTemplateItem/CheckPayment.py
deleted file mode 100644
index 3862ce71da..0000000000
--- a/bt5/erp5_banking_check/PropertySheetTemplateItem/CheckPayment.py
+++ /dev/null
@@ -1,41 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 2002-2007 Nexedi SARL and Contributors. All Rights Reserved.
-#
-# WARNING: This program as such is intended to be used by professional
-# programmers who take the whole responsability of assessing all potential
-# consequences resulting from its eventual inadequacies and bugs
-# End users who are looking for a ready-to-use solution with commercial
-# garantees and support are strongly adviced to contract a Free Software
-# Service Company
-#
-# This program is Free Software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
-#
-##############################################################################
-
-class CheckPayment:
-    """
-        CheckPayment properties for all ERP5 objects
-    """
-
-    _properties = (
-        {   'id'          : 'unique_per_account',
-            'description' : 'If the check has an number that must be unique per account',
-            'type'        : 'boolean',
-            'default'     : True,
-            'mode'        : 'w' },
-    )
-  
-
diff --git a/bt5/erp5_banking_check/PropertySheetTemplateItem/CheckbookReception.py b/bt5/erp5_banking_check/PropertySheetTemplateItem/CheckbookReception.py
deleted file mode 100644
index 361ea3568a..0000000000
--- a/bt5/erp5_banking_check/PropertySheetTemplateItem/CheckbookReception.py
+++ /dev/null
@@ -1,39 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 2006 Nexedi SARL and Contributors. All Rights Reserved.
-#
-# WARNING: This program as such is intended to be used by professional
-# programmers who take the whole responsability of assessing all potential
-# consequences resulting from its eventual inadequacies and bugs
-# End users who are looking for a ready-to-use solution with commercial
-# garantees and support are strongly adviced to contract a Free Software
-# Service Company
-#
-# This program is Free Software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
-#
-##############################################################################
-
-class CheckbookReception:
-  """
-      Properties for Baobab Bank Account Objects
-  """
-
-  _properties = (
-    {'id'          : 'imported',
-     'description' : 'Indicate if this document is used for an import',
-     'type'        : 'boolean',
-     'mode'        : 'w'
-    },
-    )
diff --git a/bt5/erp5_banking_check/PropertySheetTemplateItem/StopPayment.py b/bt5/erp5_banking_check/PropertySheetTemplateItem/StopPayment.py
deleted file mode 100644
index 78b183c323..0000000000
--- a/bt5/erp5_banking_check/PropertySheetTemplateItem/StopPayment.py
+++ /dev/null
@@ -1,40 +0,0 @@
-##############################################################################
-#
-# Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved.
-#
-# WARNING: This program as such is intended to be used by professional
-# programmers who take the whole responsability of assessing all potential
-# consequences resulting from its eventual inadequacies and bugs
-# End users who are looking for a ready-to-use solution with commercial
-# garantees and support are strongly adviced to contract a Free Software
-# Service Company
-#
-# This program is Free Software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
-#
-##############################################################################
-
-class StopPayment:
-    """
-        Specific properties for Check Payment
-    """
-
-    _properties = (
-        {   'id'          : 'debit_required',
-            'description' : 'If we must debit the bank account',
-            'type'        : 'boolean',
-            'mode'        : 'w' },
-    )
-  
-
diff --git a/bt5/erp5_banking_check/PropertySheetTemplateItem/portal_property_sheets/CheckDeposit.xml b/bt5/erp5_banking_check/PropertySheetTemplateItem/portal_property_sheets/CheckDeposit.xml
new file mode 100644
index 0000000000..1e17a3ae73
--- /dev/null
+++ b/bt5/erp5_banking_check/PropertySheetTemplateItem/portal_property_sheets/CheckDeposit.xml
@@ -0,0 +1,60 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <global name="Property Sheet" module="erp5.portal_type"/>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>_count</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>_mt_index</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>_tree</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>CheckDeposit</string> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Property Sheet</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <global name="Length" module="BTrees.Length"/>
+    </pickle>
+    <pickle> <int>0</int> </pickle>
+  </record>
+  <record id="3" aka="AAAAAAAAAAM=">
+    <pickle>
+      <global name="OOBTree" module="BTrees.OOBTree"/>
+    </pickle>
+    <pickle>
+      <none/>
+    </pickle>
+  </record>
+  <record id="4" aka="AAAAAAAAAAQ=">
+    <pickle>
+      <global name="OOBTree" module="BTrees.OOBTree"/>
+    </pickle>
+    <pickle>
+      <none/>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_banking_check/PropertySheetTemplateItem/portal_property_sheets/CheckDeposit/check_less_property.xml b/bt5/erp5_banking_check/PropertySheetTemplateItem/portal_property_sheets/CheckDeposit/check_less_property.xml
new file mode 100644
index 0000000000..35d1c6e6c8
--- /dev/null
+++ b/bt5/erp5_banking_check/PropertySheetTemplateItem/portal_property_sheets/CheckDeposit/check_less_property.xml
@@ -0,0 +1,53 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <global name="Standard Property" module="erp5.portal_type"/>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>_local_properties</string> </key>
+            <value>
+              <tuple>
+                <dictionary>
+                  <item>
+                      <key> <string>id</string> </key>
+                      <value> <string>mode</string> </value>
+                  </item>
+                  <item>
+                      <key> <string>type</string> </key>
+                      <value> <string>string</string> </value>
+                  </item>
+                </dictionary>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>categories</string> </key>
+            <value>
+              <tuple>
+                <string>elementary_type/boolean</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string>When true, disable check number verification on lines.</string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>check_less_property</string> </value>
+        </item>
+        <item>
+            <key> <string>mode</string> </key>
+            <value> <string>w</string> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Standard Property</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_banking_check/PropertySheetTemplateItem/portal_property_sheets/CheckPayment.xml b/bt5/erp5_banking_check/PropertySheetTemplateItem/portal_property_sheets/CheckPayment.xml
new file mode 100644
index 0000000000..ed48e91e59
--- /dev/null
+++ b/bt5/erp5_banking_check/PropertySheetTemplateItem/portal_property_sheets/CheckPayment.xml
@@ -0,0 +1,60 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <global name="Property Sheet" module="erp5.portal_type"/>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>_count</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>_mt_index</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>_tree</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>CheckPayment</string> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Property Sheet</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <global name="Length" module="BTrees.Length"/>
+    </pickle>
+    <pickle> <int>0</int> </pickle>
+  </record>
+  <record id="3" aka="AAAAAAAAAAM=">
+    <pickle>
+      <global name="OOBTree" module="BTrees.OOBTree"/>
+    </pickle>
+    <pickle>
+      <none/>
+    </pickle>
+  </record>
+  <record id="4" aka="AAAAAAAAAAQ=">
+    <pickle>
+      <global name="OOBTree" module="BTrees.OOBTree"/>
+    </pickle>
+    <pickle>
+      <none/>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_banking_check/PropertySheetTemplateItem/portal_property_sheets/CheckPayment/unique_per_account_property.xml b/bt5/erp5_banking_check/PropertySheetTemplateItem/portal_property_sheets/CheckPayment/unique_per_account_property.xml
new file mode 100644
index 0000000000..f03a7a0189
--- /dev/null
+++ b/bt5/erp5_banking_check/PropertySheetTemplateItem/portal_property_sheets/CheckPayment/unique_per_account_property.xml
@@ -0,0 +1,57 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <global name="Standard Property" module="erp5.portal_type"/>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>_local_properties</string> </key>
+            <value>
+              <tuple>
+                <dictionary>
+                  <item>
+                      <key> <string>id</string> </key>
+                      <value> <string>mode</string> </value>
+                  </item>
+                  <item>
+                      <key> <string>type</string> </key>
+                      <value> <string>string</string> </value>
+                  </item>
+                </dictionary>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>categories</string> </key>
+            <value>
+              <tuple>
+                <string>elementary_type/boolean</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string>If the check has an number that must be unique per account</string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>unique_per_account_property</string> </value>
+        </item>
+        <item>
+            <key> <string>mode</string> </key>
+            <value> <string>w</string> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Standard Property</string> </value>
+        </item>
+        <item>
+            <key> <string>property_default</string> </key>
+            <value> <string>python: True</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_banking_check/PropertySheetTemplateItem/portal_property_sheets/CheckbookReception.xml b/bt5/erp5_banking_check/PropertySheetTemplateItem/portal_property_sheets/CheckbookReception.xml
new file mode 100644
index 0000000000..7a02f04964
--- /dev/null
+++ b/bt5/erp5_banking_check/PropertySheetTemplateItem/portal_property_sheets/CheckbookReception.xml
@@ -0,0 +1,60 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <global name="Property Sheet" module="erp5.portal_type"/>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>_count</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>_mt_index</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>_tree</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>CheckbookReception</string> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Property Sheet</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <global name="Length" module="BTrees.Length"/>
+    </pickle>
+    <pickle> <int>0</int> </pickle>
+  </record>
+  <record id="3" aka="AAAAAAAAAAM=">
+    <pickle>
+      <global name="OOBTree" module="BTrees.OOBTree"/>
+    </pickle>
+    <pickle>
+      <none/>
+    </pickle>
+  </record>
+  <record id="4" aka="AAAAAAAAAAQ=">
+    <pickle>
+      <global name="OOBTree" module="BTrees.OOBTree"/>
+    </pickle>
+    <pickle>
+      <none/>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_banking_check/PropertySheetTemplateItem/portal_property_sheets/CheckbookReception/imported_property.xml b/bt5/erp5_banking_check/PropertySheetTemplateItem/portal_property_sheets/CheckbookReception/imported_property.xml
new file mode 100644
index 0000000000..850dee0b01
--- /dev/null
+++ b/bt5/erp5_banking_check/PropertySheetTemplateItem/portal_property_sheets/CheckbookReception/imported_property.xml
@@ -0,0 +1,53 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <global name="Standard Property" module="erp5.portal_type"/>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>_local_properties</string> </key>
+            <value>
+              <tuple>
+                <dictionary>
+                  <item>
+                      <key> <string>id</string> </key>
+                      <value> <string>mode</string> </value>
+                  </item>
+                  <item>
+                      <key> <string>type</string> </key>
+                      <value> <string>string</string> </value>
+                  </item>
+                </dictionary>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>categories</string> </key>
+            <value>
+              <tuple>
+                <string>elementary_type/boolean</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string>Indicate if this document is used for an import</string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>imported_property</string> </value>
+        </item>
+        <item>
+            <key> <string>mode</string> </key>
+            <value> <string>w</string> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Standard Property</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_banking_check/PropertySheetTemplateItem/portal_property_sheets/StopPayment.xml b/bt5/erp5_banking_check/PropertySheetTemplateItem/portal_property_sheets/StopPayment.xml
new file mode 100644
index 0000000000..6e93aa2158
--- /dev/null
+++ b/bt5/erp5_banking_check/PropertySheetTemplateItem/portal_property_sheets/StopPayment.xml
@@ -0,0 +1,60 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <global name="Property Sheet" module="erp5.portal_type"/>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>_count</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>_mt_index</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>_tree</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>StopPayment</string> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Property Sheet</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <global name="Length" module="BTrees.Length"/>
+    </pickle>
+    <pickle> <int>0</int> </pickle>
+  </record>
+  <record id="3" aka="AAAAAAAAAAM=">
+    <pickle>
+      <global name="OOBTree" module="BTrees.OOBTree"/>
+    </pickle>
+    <pickle>
+      <none/>
+    </pickle>
+  </record>
+  <record id="4" aka="AAAAAAAAAAQ=">
+    <pickle>
+      <global name="OOBTree" module="BTrees.OOBTree"/>
+    </pickle>
+    <pickle>
+      <none/>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_banking_check/PropertySheetTemplateItem/portal_property_sheets/StopPayment/debit_required_property.xml b/bt5/erp5_banking_check/PropertySheetTemplateItem/portal_property_sheets/StopPayment/debit_required_property.xml
new file mode 100644
index 0000000000..a46a6e9f5f
--- /dev/null
+++ b/bt5/erp5_banking_check/PropertySheetTemplateItem/portal_property_sheets/StopPayment/debit_required_property.xml
@@ -0,0 +1,53 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <global name="Standard Property" module="erp5.portal_type"/>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>_local_properties</string> </key>
+            <value>
+              <tuple>
+                <dictionary>
+                  <item>
+                      <key> <string>id</string> </key>
+                      <value> <string>mode</string> </value>
+                  </item>
+                  <item>
+                      <key> <string>type</string> </key>
+                      <value> <string>string</string> </value>
+                  </item>
+                </dictionary>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>categories</string> </key>
+            <value>
+              <tuple>
+                <string>elementary_type/boolean</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string>If we must debit the bank account</string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>debit_required_property</string> </value>
+        </item>
+        <item>
+            <key> <string>mode</string> </key>
+            <value> <string>w</string> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Standard Property</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
-- 
2.30.9