diff --git a/product/ERP5/Document/Organisation.py b/product/ERP5/Document/Organisation.py index 9c0f928b39726679f565b844ca624ff93f16f865..99b8e12bcbf84ac487b104e6ac7f24b25f9d85db 100644 --- a/product/ERP5/Document/Organisation.py +++ b/product/ERP5/Document/Organisation.py @@ -69,6 +69,7 @@ class Organisation(XMLObject): , PropertySheet.Organisation , PropertySheet.Mapping , PropertySheet.Task + , PropertySheet.Reference ) diff --git a/product/ERP5/PropertySheet/Organisation.py b/product/ERP5/PropertySheet/Organisation.py index 74c4eee8424c4f236a640eb0fea5f7bf7dcdb776..1db06b6ec5b3c669fb045f9f1fa9869a5ca65478 100644 --- a/product/ERP5/PropertySheet/Organisation.py +++ b/product/ERP5/PropertySheet/Organisation.py @@ -72,10 +72,6 @@ class Organisation: 'description' : 'The geographic incorporate code of this organisation, sometimes derivated from corporate code', 'type' : 'string', 'mode' : 'w' }, - { 'id' : 'ean13_code', - 'description' : 'The EAN 13 code of this organisation', - 'type' : 'string', - 'mode' : 'w' }, { 'id' : 'vat_code', 'description' : 'The VAT (Value Added Tax) code of this organisation', 'type' : 'string', diff --git a/product/ERP5/PropertySheet/Reference.py b/product/ERP5/PropertySheet/Reference.py index 10ca2e41d81e695927771c84de568a0eb65c5957..0fb308b7ebea87a04e5b1b7e951fb8a4d79b78e7 100644 --- a/product/ERP5/PropertySheet/Reference.py +++ b/product/ERP5/PropertySheet/Reference.py @@ -39,6 +39,10 @@ class Reference: 'type' : 'string', 'range' : True, '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 # which returns the reference of the source. Must be renamed as # source_specific_reference