Commit bb5e0e5d authored by Alexandre Boeglin's avatar Alexandre Boeglin

* move ean13_code property from PropertySheet/Organisation.py to

  PropertySheet/Reference.py
* add PropertySheet.Organisation to Document/Organisation.py


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19576 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 55bbef9d
...@@ -69,6 +69,7 @@ class Organisation(XMLObject): ...@@ -69,6 +69,7 @@ class Organisation(XMLObject):
, PropertySheet.Organisation , PropertySheet.Organisation
, PropertySheet.Mapping , PropertySheet.Mapping
, PropertySheet.Task , PropertySheet.Task
, PropertySheet.Reference
) )
...@@ -72,10 +72,6 @@ class Organisation: ...@@ -72,10 +72,6 @@ class Organisation:
'description' : 'The geographic incorporate code of this organisation, sometimes derivated from corporate code', 'description' : 'The geographic incorporate code of this organisation, sometimes derivated from corporate code',
'type' : 'string', 'type' : 'string',
'mode' : 'w' }, 'mode' : 'w' },
{ 'id' : 'ean13_code',
'description' : 'The EAN 13 code of this organisation',
'type' : 'string',
'mode' : 'w' },
{ 'id' : 'vat_code', { 'id' : 'vat_code',
'description' : 'The VAT (Value Added Tax) code of this organisation', 'description' : 'The VAT (Value Added Tax) code of this organisation',
'type' : 'string', 'type' : 'string',
......
...@@ -39,6 +39,10 @@ class Reference: ...@@ -39,6 +39,10 @@ class Reference:
'type' : 'string', 'type' : 'string',
'range' : True, 'range' : True,
'mode' : 'w' }, 'mode' : 'w' },
{ 'id' : 'ean13_code',
'description' : 'The EAN 13 code of this document',
'type' : 'string',
'mode' : 'w' },
# WARNING: the naming is wrong because it conflicts with getSourceReference # WARNING: the naming is wrong because it conflicts with getSourceReference
# which returns the reference of the source. Must be renamed as # which returns the reference of the source. Must be renamed as
# source_specific_reference # source_specific_reference
......
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