diff --git a/bt5/erp5_banking_core/PropertySheetTemplateItem/RenderingPreference.py b/bt5/erp5_banking_core/PropertySheetTemplateItem/RenderingPreference.py new file mode 100644 index 0000000000000000000000000000000000000000..16b20602ae7a644be2e863338728749de6017db5 --- /dev/null +++ b/bt5/erp5_banking_core/PropertySheetTemplateItem/RenderingPreference.py @@ -0,0 +1,41 @@ +############################################################################## +# +# 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 RenderingPreference: + """ + PropertySheetTemplate properties for all ERP5 objects + """ + + _properties = ( + { 'id' : 'preferred_usual_cash_max_rendering_price', + 'description' : 'The max quantity allowed in the usual cash', + 'type' : 'int', + 'preference' : 1, + 'mode' : 'w' }, + ) + + diff --git a/bt5/erp5_banking_core/bt/revision b/bt5/erp5_banking_core/bt/revision index 9d1ce53f8cc2ee2d55094091042b3fd02f9bd1ce..3ca9062a11783e80eeffeb9613eb9e38b528bfab 100644 --- a/bt5/erp5_banking_core/bt/revision +++ b/bt5/erp5_banking_core/bt/revision @@ -1 +1 @@ -82 \ No newline at end of file +84 \ No newline at end of file diff --git a/bt5/erp5_banking_core/bt/template_property_sheet_id_list b/bt5/erp5_banking_core/bt/template_property_sheet_id_list index efac6c94dab479dc4dae9e8dea7263f4a09b1860..43c4b11a624f35c656f42d4c239a903c981ac308 100644 --- a/bt5/erp5_banking_core/bt/template_property_sheet_id_list +++ b/bt5/erp5_banking_core/bt/template_property_sheet_id_list @@ -1 +1,2 @@ -CheckModel \ No newline at end of file +CheckModel +RenderingPreference \ No newline at end of file