Commit 8a3fba8a authored by Romain Courteaud's avatar Romain Courteaud

Correct encoding.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4392 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a8378f7d
############################################################################## ##############################################################################
# #
# Copyright (c) 2002-2005 Nexedi SARL and Contributors. All Rights Reserved. # Copyright (c) 2002-2005 Nexedi SARL and Contributors. All Rights Reserved.
# Sébastien Robin <seb@nexedi.com> # Sebastien Robin <seb@nexedi.com>
# Kevin Deldycke <kevin@nexedi.com> # Kevin Deldycke <kevin@nexedi.com>
# #
# WARNING: This program as such is intended to be used by professional # WARNING: This program as such is intended to be used by professional
......
...@@ -32,10 +32,8 @@ from AccessControl import ClassSecurityInfo ...@@ -32,10 +32,8 @@ from AccessControl import ClassSecurityInfo
from Products.ERP5Type import Permissions, PropertySheet, Constraint, Interface from Products.ERP5Type import Permissions, PropertySheet, Constraint, Interface
from Products.ERP5Type.Document.Folder import Folder from Products.ERP5Type.Document.Folder import Folder
from Products.ERP5.Document.Coordinate import Coordinate from Products.ERP5.Document.Coordinate import Coordinate
import string import string
class BankAccount(Folder, Coordinate): class BankAccount(Folder, Coordinate):
""" """
A bank account number holds a collection of numbers and codes A bank account number holds a collection of numbers and codes
...@@ -207,4 +205,4 @@ class BankAccount(Folder, Coordinate): ...@@ -207,4 +205,4 @@ class BankAccount(Folder, Coordinate):
s = (bank + branch + ban).upper() s = (bank + branch + ban).upper()
key = str(97 - ((transcode(s) * 100) % 97)) key = str(97 - ((transcode(s) * 100) % 97))
return key.zfill(2) return key.zfill(2)
\ No newline at end of file
...@@ -52,7 +52,7 @@ class Coordinate(Base): ...@@ -52,7 +52,7 @@ class Coordinate(Base):
- naf:722Z - naf:722Z
- smail://Nexedi/Jean-Paul Smets/943, av de la Rpublique/59700 - smail://Nexedi/Jean-Paul Smets/943, av de la Republique/59700
Marcq-en-Baroeul/France Marcq-en-Baroeul/France
Coordinates are stored as content within an Entity. Coordinate ids Coordinates are stored as content within an Entity. Coordinate ids
......
...@@ -71,7 +71,7 @@ class InteractionWorkflowDefinition (DCWorkflowDefinition, ActiveObject): ...@@ -71,7 +71,7 @@ class InteractionWorkflowDefinition (DCWorkflowDefinition, ActiveObject):
ERP5 main application: specialize behaviour of classes "on the fly". ERP5 main application: specialize behaviour of classes "on the fly".
Make the architecture as modular as possible. Implement connections Make the architecture as modular as possible. Implement connections
la Qt. a la Qt.
Try to mimic: Workflow... Try to mimic: Workflow...
......
############################################################################## ##############################################################################
# #
# Copyright (c) 2005 Nexedi SARL and Contributors. All Rights Reserved. # Copyright (c) 2005 Nexedi SARL and Contributors. All Rights Reserved.
# Sébastien Robin <seb@nexedi.com> # Sebastien Robin <seb@nexedi.com>
# Kevin Deldycke <kevin@nexedi.com> # Kevin Deldycke <kevin@nexedi.com>
# #
# WARNING: This program as such is intended to be used by professional # WARNING: This program as such is intended to be used by professional
......
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