Commit 2822bf61 authored by Romain Courteaud's avatar Romain Courteaud

Rename Transfert to Transfer.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5056 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent de786dc3
......@@ -34,7 +34,7 @@ from zLOG import LOG
class BudgetTransaction( DeliveryLine ):
"""
BudgetTransaction an order or transfert of budget.
BudgetTransaction an order or transfer of budget.
"""
# Default Properties
......
......@@ -34,9 +34,9 @@ from Products.ERP5Type import Permissions, PropertySheet, Constraint, Interface
from Products.ERP5Type.XMLObject import XMLObject
class BudgetTransfert( Supply ):
class BudgetTransfer( Supply ):
"""
BudgetTransfert ...
BudgetTransfer ...
"""
# Default Properties
......@@ -52,7 +52,7 @@ class BudgetTransfert( Supply ):
# CMF Type Definition
meta_type='ERP5 Folder'
portal_type='Budget Transfert'
portal_type='Budget Transfer'
add_permission = Permissions.AddPortalContent
isPortalContent = 1
isRADContent = 1
......
......@@ -36,9 +36,9 @@ from Products.ERP5.Document.SupplyLine import SupplyLine
from Products.ERP5.Document.Amount import Amount
from zLOG import LOG
class BudgetTransfertLine( SupplyLine ):
class BudgetTransferLine( SupplyLine ):
"""
BudgetTransfertLine ...
BudgetTransferLine ...
"""
# Default Properties
......@@ -51,7 +51,7 @@ class BudgetTransfertLine( SupplyLine ):
# CMF Type Definition
meta_type='ERP5 Document'
portal_type='Budget Transfert Line'
portal_type='Budget Transfer Line'
add_permission = Permissions.AddPortalContent
isPortalContent = 1
isRADContent = 1
......
<allowed_content_type_list>
<portal_type id="Budget">
<item>Budget Transfer Line</item>
<item>Budget Line</item>
<item>Budget Transfert Line</item>
</portal_type>
<portal_type id="Budget Line">
<item>Budget Cell</item>
......@@ -12,7 +12,7 @@
<portal_type id="Budget Transaction Module">
<item>Budget Transaction</item>
</portal_type>
<portal_type id="Budget Transfert">
<item>Budget Transfert Line</item>
<portal_type id="Budget Transfer">
<item>Budget Transfer Line</item>
</portal_type>
</allowed_content_type_list>
\ No newline at end of file
......@@ -13,7 +13,7 @@
<portal_type id="Budget Transaction">
<item>group</item>
</portal_type>
<portal_type id="Budget Transfert Line">
<portal_type id="Budget Transfer Line">
<item>group</item>
</portal_type>
</base_category_list>
\ No newline at end of file
......@@ -101,7 +101,7 @@
<pickle>
<tuple>
<tuple>
<string>Products.ERP5Type.CMFCorePatch</string>
<string>Products.ERP5Type.patches.ActionInformation</string>
<string>PatchedActionInformation</string>
</tuple>
<none/>
......@@ -149,11 +149,11 @@
</item>
<item>
<key> <string>priority</string> </key>
<value> <int>10</int> </value>
<value> <float>10.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Budget Initial</string> </value>
<value> <string>Initial Budget</string> </value>
</item>
<item>
<key> <string>visible</string> </key>
......@@ -166,7 +166,7 @@
<pickle>
<tuple>
<tuple>
<string>Products.ERP5Type.CMFCorePatch</string>
<string>Products.ERP5Type.patches.ActionInformation</string>
<string>PatchedActionInformation</string>
</tuple>
<none/>
......@@ -214,11 +214,11 @@
</item>
<item>
<key> <string>priority</string> </key>
<value> <int>10</int> </value>
<value> <float>10.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string encoding="base64">QnVkZ2V0IFLDqWVs</string> </value>
<value> <string>Actual Budget</string> </value>
</item>
<item>
<key> <string>visible</string> </key>
......@@ -231,7 +231,7 @@
<pickle>
<tuple>
<tuple>
<string>Products.ERP5Type.CMFCorePatch</string>
<string>Products.ERP5Type.patches.ActionInformation</string>
<string>PatchedActionInformation</string>
</tuple>
<none/>
......@@ -279,11 +279,11 @@
</item>
<item>
<key> <string>priority</string> </key>
<value> <int>10</int> </value>
<value> <float>10.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Budget Consomm\xc3\xa9</string> </value>
<value> <string>Consumed Budget</string> </value>
</item>
<item>
<key> <string>visible</string> </key>
......@@ -296,7 +296,7 @@
<pickle>
<tuple>
<tuple>
<string>Products.ERP5Type.CMFCorePatch</string>
<string>Products.ERP5Type.patches.ActionInformation</string>
<string>PatchedActionInformation</string>
</tuple>
<none/>
......@@ -344,11 +344,11 @@
</item>
<item>
<key> <string>priority</string> </key>
<value> <int>10</int> </value>
<value> <float>10.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Budget Restant</string> </value>
<value> <string>Available Budget</string> </value>
</item>
<item>
<key> <string>visible</string> </key>
......@@ -361,7 +361,7 @@
<pickle>
<tuple>
<tuple>
<string>Products.ERP5Type.CMFCorePatch</string>
<string>Products.ERP5Type.patches.ActionInformation</string>
<string>PatchedActionInformation</string>
</tuple>
<none/>
......@@ -409,7 +409,7 @@
</item>
<item>
<key> <string>priority</string> </key>
<value> <int>10</int> </value>
<value> <float>10.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
......@@ -426,7 +426,7 @@
<pickle>
<tuple>
<tuple>
<string>Products.ERP5Type.CMFCorePatch</string>
<string>Products.ERP5Type.patches.ActionInformation</string>
<string>PatchedActionInformation</string>
</tuple>
<none/>
......@@ -474,7 +474,7 @@
</item>
<item>
<key> <string>priority</string> </key>
<value> <int>10</int> </value>
<value> <float>10.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
......
......@@ -33,6 +33,10 @@
<none/>
</value>
</item>
<item>
<key> <string>acquire_local_roles</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>allowed_content_types</string> </key>
<value>
......@@ -55,17 +59,23 @@
</item>
<item>
<key> <string>description</string> </key>
<value> <string> Budget Transfert Line ...\n
<value> <string> Budget Transfer Line ...\n
</string> </value>
</item>
<item>
<key> <string>factory</string> </key>
<value> <string>addBudgetTransfert</string> </value>
<value> <string>addBudgetTransfer</string> </value>
</item>
<item>
<key> <string>filter_content_types</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>group_list</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>hidden_content_type_list</string> </key>
<value>
......@@ -74,7 +84,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Budget Transfert Line</string> </value>
<value> <string>Budget Transfer Line</string> </value>
</item>
<item>
<key> <string>init_script</string> </key>
......@@ -88,7 +98,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Budget Transfert Line</string> </value>
<value> <string>Budget Transfer Line</string> </value>
</item>
</dictionary>
</pickle>
......@@ -97,7 +107,7 @@
<pickle>
<tuple>
<tuple>
<string>Products.ERP5Type.CMFCorePatch</string>
<string>Products.ERP5Type.patches.ActionInformation</string>
<string>PatchedActionInformation</string>
</tuple>
<none/>
......@@ -145,7 +155,7 @@
</item>
<item>
<key> <string>priority</string> </key>
<value> <int>10</int> </value>
<value> <float>10.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
......@@ -162,7 +172,7 @@
<pickle>
<tuple>
<tuple>
<string>Products.ERP5Type.CMFCorePatch</string>
<string>Products.ERP5Type.patches.ActionInformation</string>
<string>PatchedActionInformation</string>
</tuple>
<none/>
......@@ -210,7 +220,7 @@
</item>
<item>
<key> <string>priority</string> </key>
<value> <int>10</int> </value>
<value> <float>10.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
......@@ -237,7 +247,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/BudgetTransfertLine_view</string> </value>
<value> <string>string:${object_url}/BudgetTransferLine_view</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -32,6 +32,10 @@
<none/>
</value>
</item>
<item>
<key> <string>acquire_local_roles</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>allowed_content_types</string> </key>
<value>
......@@ -54,7 +58,7 @@
</item>
<item>
<key> <string>description</string> </key>
<value> <string>Budget Transfert ....</string> </value>
<value> <string>Budget Transfer ....</string> </value>
</item>
<item>
<key> <string>factory</string> </key>
......@@ -64,6 +68,12 @@
<key> <string>filter_content_types</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>group_list</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>hidden_content_type_list</string> </key>
<value>
......@@ -72,7 +82,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>Budget Transfert</string> </value>
<value> <string>Budget Transfer</string> </value>
</item>
<item>
<key> <string>init_script</string> </key>
......@@ -86,7 +96,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Budget Transfert</string> </value>
<value> <string>Budget Transfer</string> </value>
</item>
</dictionary>
</pickle>
......@@ -95,7 +105,7 @@
<pickle>
<tuple>
<tuple>
<string>Products.ERP5Type.CMFCorePatch</string>
<string>Products.ERP5Type.patches.ActionInformation</string>
<string>PatchedActionInformation</string>
</tuple>
<none/>
......@@ -143,7 +153,7 @@
</item>
<item>
<key> <string>priority</string> </key>
<value> <int>10</int> </value>
<value> <float>10.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
......@@ -170,7 +180,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/BudgetTransfert_viewBudgetTransfertLine</string> </value>
<value> <string>string:${object_url}/BudgetTransfer_viewBudgetTransferLine</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -38,6 +38,10 @@
<none/>
</value>
</item>
<item>
<key> <string>acquire_local_roles</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>allowed_content_types</string> </key>
<value>
......@@ -70,6 +74,12 @@
<key> <string>filter_content_types</string> </key>
<value> <int>1</int> </value>
</item>
<item>
<key> <string>group_list</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>hidden_content_type_list</string> </key>
<value>
......@@ -101,7 +111,7 @@
<pickle>
<tuple>
<tuple>
<string>Products.ERP5Type.CMFCorePatch</string>
<string>Products.ERP5Type.patches.ActionInformation</string>
<string>PatchedActionInformation</string>
</tuple>
<none/>
......@@ -149,7 +159,7 @@
</item>
<item>
<key> <string>priority</string> </key>
<value> <int>10</int> </value>
<value> <float>10.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
......@@ -166,7 +176,7 @@
<pickle>
<tuple>
<tuple>
<string>Products.ERP5Type.CMFCorePatch</string>
<string>Products.ERP5Type.patches.ActionInformation</string>
<string>PatchedActionInformation</string>
</tuple>
<none/>
......@@ -214,11 +224,11 @@
</item>
<item>
<key> <string>priority</string> </key>
<value> <int>10</int> </value>
<value> <float>10.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Budget Transfert</string> </value>
<value> <string>Budget Transfer</string> </value>
</item>
<item>
<key> <string>visible</string> </key>
......@@ -231,7 +241,7 @@
<pickle>
<tuple>
<tuple>
<string>Products.ERP5Type.CMFCorePatch</string>
<string>Products.ERP5Type.patches.ActionInformation</string>
<string>PatchedActionInformation</string>
</tuple>
<none/>
......@@ -279,7 +289,7 @@
</item>
<item>
<key> <string>priority</string> </key>
<value> <int>10</int> </value>
<value> <float>10.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
......@@ -296,7 +306,7 @@
<pickle>
<tuple>
<tuple>
<string>Products.ERP5Type.CMFCorePatch</string>
<string>Products.ERP5Type.patches.ActionInformation</string>
<string>PatchedActionInformation</string>
</tuple>
<none/>
......@@ -344,7 +354,7 @@
</item>
<item>
<key> <string>priority</string> </key>
<value> <int>10</int> </value>
<value> <float>10.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
......@@ -361,7 +371,7 @@
<pickle>
<tuple>
<tuple>
<string>Products.ERP5Type.CMFCorePatch</string>
<string>Products.ERP5Type.patches.ActionInformation</string>
<string>PatchedActionInformation</string>
</tuple>
<none/>
......@@ -409,7 +419,7 @@
</item>
<item>
<key> <string>priority</string> </key>
<value> <int>10</int> </value>
<value> <float>10.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
......@@ -426,7 +436,7 @@
<pickle>
<tuple>
<tuple>
<string>Products.ERP5Type.CMFCorePatch</string>
<string>Products.ERP5Type.patches.ActionInformation</string>
<string>PatchedActionInformation</string>
</tuple>
<none/>
......@@ -474,7 +484,7 @@
</item>
<item>
<key> <string>priority</string> </key>
<value> <int>10</int> </value>
<value> <float>10.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
......@@ -491,7 +501,7 @@
<pickle>
<tuple>
<tuple>
<string>Products.ERP5Type.CMFCorePatch</string>
<string>Products.ERP5Type.patches.ActionInformation</string>
<string>PatchedActionInformation</string>
</tuple>
<none/>
......@@ -539,7 +549,7 @@
</item>
<item>
<key> <string>priority</string> </key>
<value> <int>10</int> </value>
<value> <float>10.0</float> </value>
</item>
<item>
<key> <string>title</string> </key>
......@@ -585,7 +595,7 @@
<dictionary>
<item>
<key> <string>text</string> </key>
<value> <string>string:${object_url}/BudgetTransfert_viewBudgetTransfertLine</string> </value>
<value> <string>string:${object_url}/BudgetTransfer_viewBudgetTransferLine</string> </value>
</item>
</dictionary>
</pickle>
......
......@@ -28,11 +28,11 @@
<workflow></workflow>
</chain>
<chain>
<type>Budget Transfert</type>
<workflow></workflow>
<type>Budget Transfer</type>
<workflow>(Default)</workflow>
</chain>
<chain>
<type>Budget Transfert Line</type>
<workflow></workflow>
<type>Budget Transfer Line</type>
<workflow>(Default)</workflow>
</chain>
</workflow_chain>
\ No newline at end of file
......@@ -114,7 +114,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>BudgetTransfertLine_view</string> </value>
<value> <string>BudgetTransferLine_view</string> </value>
</item>
<item>
<key> <string>method</string> </key>
......@@ -122,7 +122,7 @@
</item>
<item>
<key> <string>name</string> </key>
<value> <string>BudgetTransfertLine_view</string> </value>
<value> <string>BudgetTransferLine_view</string> </value>
</item>
<item>
<key> <string>pt</string> </key>
......@@ -138,7 +138,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Budget Transfert Line</string> </value>
<value> <string>Budget Transfer Line</string> </value>
</item>
<item>
<key> <string>unicode_mode</string> </key>
......
......@@ -118,7 +118,7 @@
</item>
<item>
<key> <string>id</string> </key>
<value> <string>BudgetTransfert_viewBudgetTransfertLine</string> </value>
<value> <string>BudgetTransfer_viewBudgetTransferLine</string> </value>
</item>
<item>
<key> <string>method</string> </key>
......@@ -126,7 +126,7 @@
</item>
<item>
<key> <string>name</string> </key>
<value> <string>BudgetTransfert_viewBudgetTransfertLine</string> </value>
<value> <string>BudgetTransfer_viewBudgetTransferLine</string> </value>
</item>
<item>
<key> <string>pt</string> </key>
......@@ -142,7 +142,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Budget Transfert Line</string> </value>
<value> <string>Budget Transfer Line</string> </value>
</item>
<item>
<key> <string>unicode_mode</string> </key>
......
......@@ -342,10 +342,6 @@
<string>Destination</string>
</tuple>
<tuple>
<string></string>
<string></string>
</tuple>
<tuple>
<string>quantity</string>
<string>Quantity</string>
</tuple>
......@@ -434,7 +430,7 @@
</item>
<item>
<key> <string>list_action</string> </key>
<value> <string>BudgetTransfert_viewBudgetTransfertLine</string> </value>
<value> <string>BudgetTransfer_viewBudgetTransferLine</string> </value>
</item>
<item>
<key> <string>list_method</string> </key>
......@@ -457,8 +453,8 @@
<value>
<list>
<tuple>
<string>Budget Transfert Line</string>
<string>Budget Transfert Line</string>
<string>Budget Transfer Line</string>
<string>Budget Transfer Line</string>
</tuple>
</list>
</value>
......@@ -493,7 +489,7 @@
</item>
<item>
<key> <string>selection_name</string> </key>
<value> <string>budget_transfert_selection</string> </value>
<value> <string>budget_transfer_selection</string> </value>
</item>
<item>
<key> <string>sort</string> </key>
......@@ -519,7 +515,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Budget Transfert</string> </value>
<value> <string>Budget Transfer</string> </value>
</item>
<item>
<key> <string>url_columns</string> </key>
......
......@@ -127,7 +127,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>D\xc3\xa9finition Budget</string> </value>
<value> <string>Budget Definition</string> </value>
</item>
<item>
<key> <string>unicode_mode</string> </key>
......
......@@ -97,7 +97,7 @@ budget_list = context.getPortalObject().budget_module.objectValues()\n
max_quantity = 0\n
for obj in budget_list:\n
for item in obj.objectValues(): \n
if item.getPortalType() == \'Budget Transfert Line\' and item.getSourceValue() == source_cell and item.getDestinationValue() == destination_cell:\n
if item.getPortalType() == \'Budget Transfer Line\' and item.getSourceValue() == source_cell and item.getDestinationValue() == destination_cell:\n
max_quantity = item.getQuantity()\n
if quantity > max_quantity:\n
raise ValidationFailed, \'Action impossible : the quantity of the transaction is greater than the transferable maximum quantity (TMQ): TMQ = %.2f\' % max_quantity\n
......
2005-01-09 Romain
* rename Transfert to Transfer
2005-10-15 Kevin
* first "as is" public release (thanks to Mayoro, the author of the whole module)
* rename skin folder 'erp5_accounting' to 'erp5_accounting_for_budget' to avoid confusion
......
BudgetLine
BudgetTransfer
BudgetCell
Budget
BudgetTransfertLine
BudgetTransaction
BudgetTransfert
\ No newline at end of file
BudgetTransferLine
BudgetTransaction
\ No newline at end of file
Budget Line | Budget Cell
Budget Module | Budget
Budget Transaction Module | Budget Transaction
Budget Transfert | Budget Transfert Line
Budget Transfer | Budget Transfer Line
Budget | Budget Line
Budget | Budget Transfert Line
\ No newline at end of file
Budget | Budget Transfer Line
\ No newline at end of file
......@@ -3,5 +3,5 @@ Accounting Transaction Line | function
Accounting Transaction Line | group
Budget Line | group
Budget Transaction | group
Budget Transfert Line | group
Budget Transfer Line | group
Budget | group
\ No newline at end of file
......@@ -5,5 +5,5 @@ Budget Line
Budget Module
Budget Transaction
Budget Transaction Module
Budget Transfert
Budget Transfert Line
\ No newline at end of file
Budget Transfer
Budget Transfer Line
\ No newline at end of file
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