diff --git a/bt5/erp5_budget/PropertySheetTemplateItem/BudgetConsumptionConstraint.py b/bt5/erp5_budget/PropertySheetTemplateItem/BudgetConsumptionConstraint.py deleted file mode 100644 index 493d6a311663375e96a482ad43cd1e902f4d11fe..0000000000000000000000000000000000000000 --- a/bt5/erp5_budget/PropertySheetTemplateItem/BudgetConsumptionConstraint.py +++ /dev/null @@ -1,39 +0,0 @@ -############################################################################## -# -# Copyright (c) 2006 Nexedi SARL and Contributors. All Rights Reserved. -# Courteaud Romain <romain@nexedi.com> -# -# 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 BudgetConsumptionConstraint: - """ - Budget consumption constraints. - """ - - _constraints = ( - { 'id' : 'budget_validity', - 'type' : 'BudgetConsumptionFeasability', - 'description' : 'Does not fit in the budget.' - }, - ) diff --git a/bt5/erp5_budget/bt/change_log b/bt5/erp5_budget/bt/change_log index 861fc4216c65c54c87fb88f9a8c645b7f525acc6..24a7b6e4986e2f66fd63aa19a9a2e11a48a6af76 100644 --- a/bt5/erp5_budget/bt/change_log +++ b/bt5/erp5_budget/bt/change_log @@ -1,3 +1,6 @@ +2008-05-23 jerome +* Move documents, constraints and propertysheets to ERP5 product + 2007-10-30 yo * Set pricing_interaction_workflow to Budget Transaction. diff --git a/bt5/erp5_budget/bt/revision b/bt5/erp5_budget/bt/revision index 8fdd954df9831dfd29ceec0d74829b02f3f5d8c3..b39356075901abfb43d27aef2ae5b76b6aee19c4 100644 --- a/bt5/erp5_budget/bt/revision +++ b/bt5/erp5_budget/bt/revision @@ -1 +1 @@ -22 \ No newline at end of file +23 \ No newline at end of file diff --git a/bt5/erp5_budget/bt/template_constraint_id_list b/bt5/erp5_budget/bt/template_constraint_id_list index 0940c194cc557a8ad818b4712f62aecc0d296e67..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 --- a/bt5/erp5_budget/bt/template_constraint_id_list +++ b/bt5/erp5_budget/bt/template_constraint_id_list @@ -1,3 +0,0 @@ -BudgetConsumptionFeasability -TransactionQuantityValueFeasability -TransactionQuantityValueValidity \ No newline at end of file diff --git a/bt5/erp5_budget/bt/template_document_id_list b/bt5/erp5_budget/bt/template_document_id_list index 34c75d77ddee1ec4628d0657e04d5a0a33d2681f..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 --- a/bt5/erp5_budget/bt/template_document_id_list +++ b/bt5/erp5_budget/bt/template_document_id_list @@ -1,6 +0,0 @@ -BudgetLine -BudgetTransfer -BudgetCell -Budget -BudgetTransferLine -BudgetTransaction \ No newline at end of file diff --git a/bt5/erp5_budget/bt/template_property_sheet_id_list b/bt5/erp5_budget/bt/template_property_sheet_id_list index c90a009b81e3f01646e8e8575f483b2c50e88774..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 --- a/bt5/erp5_budget/bt/template_property_sheet_id_list +++ b/bt5/erp5_budget/bt/template_property_sheet_id_list @@ -1,4 +0,0 @@ -Budget -BudgetConstraint -BudgetConsumptionConstraint -BudgetTransactionConstraint \ No newline at end of file diff --git a/bt5/erp5_budget/ConstraintTemplateItem/BudgetConsumptionFeasability.py b/product/ERP5/Constraint/BudgetConsumptionFeasability.py similarity index 100% rename from bt5/erp5_budget/ConstraintTemplateItem/BudgetConsumptionFeasability.py rename to product/ERP5/Constraint/BudgetConsumptionFeasability.py diff --git a/bt5/erp5_budget/ConstraintTemplateItem/TransactionQuantityValueFeasability.py b/product/ERP5/Constraint/TransactionQuantityValueFeasability.py similarity index 100% rename from bt5/erp5_budget/ConstraintTemplateItem/TransactionQuantityValueFeasability.py rename to product/ERP5/Constraint/TransactionQuantityValueFeasability.py diff --git a/bt5/erp5_budget/ConstraintTemplateItem/TransactionQuantityValueValidity.py b/product/ERP5/Constraint/TransactionQuantityValueValidity.py similarity index 100% rename from bt5/erp5_budget/ConstraintTemplateItem/TransactionQuantityValueValidity.py rename to product/ERP5/Constraint/TransactionQuantityValueValidity.py diff --git a/bt5/erp5_budget/DocumentTemplateItem/Budget.py b/product/ERP5/Document/Budget.py similarity index 100% rename from bt5/erp5_budget/DocumentTemplateItem/Budget.py rename to product/ERP5/Document/Budget.py diff --git a/bt5/erp5_budget/DocumentTemplateItem/BudgetCell.py b/product/ERP5/Document/BudgetCell.py similarity index 100% rename from bt5/erp5_budget/DocumentTemplateItem/BudgetCell.py rename to product/ERP5/Document/BudgetCell.py diff --git a/bt5/erp5_budget/DocumentTemplateItem/BudgetLine.py b/product/ERP5/Document/BudgetLine.py similarity index 100% rename from bt5/erp5_budget/DocumentTemplateItem/BudgetLine.py rename to product/ERP5/Document/BudgetLine.py diff --git a/bt5/erp5_budget/DocumentTemplateItem/BudgetTransaction.py b/product/ERP5/Document/BudgetTransaction.py similarity index 100% rename from bt5/erp5_budget/DocumentTemplateItem/BudgetTransaction.py rename to product/ERP5/Document/BudgetTransaction.py diff --git a/bt5/erp5_budget/DocumentTemplateItem/BudgetTransfer.py b/product/ERP5/Document/BudgetTransfer.py similarity index 100% rename from bt5/erp5_budget/DocumentTemplateItem/BudgetTransfer.py rename to product/ERP5/Document/BudgetTransfer.py diff --git a/bt5/erp5_budget/DocumentTemplateItem/BudgetTransferLine.py b/product/ERP5/Document/BudgetTransferLine.py similarity index 100% rename from bt5/erp5_budget/DocumentTemplateItem/BudgetTransferLine.py rename to product/ERP5/Document/BudgetTransferLine.py diff --git a/bt5/erp5_budget/PropertySheetTemplateItem/Budget.py b/product/ERP5/PropertySheet/Budget.py similarity index 100% rename from bt5/erp5_budget/PropertySheetTemplateItem/Budget.py rename to product/ERP5/PropertySheet/Budget.py diff --git a/bt5/erp5_budget/PropertySheetTemplateItem/BudgetConstraint.py b/product/ERP5/PropertySheet/BudgetConstraint.py similarity index 100% rename from bt5/erp5_budget/PropertySheetTemplateItem/BudgetConstraint.py rename to product/ERP5/PropertySheet/BudgetConstraint.py diff --git a/bt5/erp5_budget/PropertySheetTemplateItem/BudgetTransactionConstraint.py b/product/ERP5/PropertySheet/BudgetTransactionConstraint.py similarity index 100% rename from bt5/erp5_budget/PropertySheetTemplateItem/BudgetTransactionConstraint.py rename to product/ERP5/PropertySheet/BudgetTransactionConstraint.py