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