Commit d6f1cb30 authored by Kevin Deldycke's avatar Kevin Deldycke

Change some properties from int to float.

Add owner_account_id and billing_address properties.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1479 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent eb4f0d87
############################################################################## ##############################################################################
# #
# Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved. # Copyright (c) 2002 Nexedi SARL and Contributors. All Rights Reserved.
# Jean-Paul Smets-Solanes <jp@nexedi.com> # Jean-Paul Smets-Solanes <jp@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
# programmers who take the whole responsability of assessing all potential # programmers who take the whole responsability of assessing all potential
...@@ -50,11 +50,11 @@ class ShopOrder: ...@@ -50,11 +50,11 @@ class ShopOrder:
'mode' : 'w' }, 'mode' : 'w' },
{ 'id' : 'exchange_fee', { 'id' : 'exchange_fee',
'description' : 'Exchange Fee', 'description' : 'Exchange Fee',
'type' : 'int', 'type' : 'float',
'mode' : 'w' }, 'mode' : 'w' },
{ 'id' : 'extra_fee', { 'id' : 'extra_fee',
'description' : 'Extra Fee', 'description' : 'Extra Fee',
'type' : 'int', 'type' : 'float',
'mode' : 'w' }, 'mode' : 'w' },
{ 'id' : 'name', { 'id' : 'name',
'description' : 'Name', 'description' : 'Name',
...@@ -74,7 +74,7 @@ class ShopOrder: ...@@ -74,7 +74,7 @@ class ShopOrder:
'mode' : 'w' }, 'mode' : 'w' },
{ 'id' : 'send_fee', { 'id' : 'send_fee',
'description' : 'Send Fee', 'description' : 'Send Fee',
'type' : 'int', 'type' : 'float',
'mode' : 'w' }, 'mode' : 'w' },
{ 'id' : 'send_fee_title', { 'id' : 'send_fee_title',
'description' : 'Send Fee Title', 'description' : 'Send Fee Title',
...@@ -82,24 +82,37 @@ class ShopOrder: ...@@ -82,24 +82,37 @@ class ShopOrder:
'mode' : 'w' }, 'mode' : 'w' },
{ 'id' : 'price', { 'id' : 'price',
'description' : 'Price', 'description' : 'Price',
'type' : 'int', 'type' : 'float',
'mode' : 'w' }, 'mode' : 'w' },
{ 'id' : 'total_price', { 'id' : 'total_price',
'description' : 'Total Price', 'description' : 'Total Price',
'type' : 'int', 'type' : 'float',
'mode' : 'w' }, 'mode' : 'w' },
{ 'id' : 'vat', { 'id' : 'vat',
'description' : 'Vat', 'description' : 'Vat',
'type' : 'int', 'type' : 'float',
'mode' : 'w' }, 'mode' : 'w' },
{ 'id' : 'euvat', { 'id' : 'euvat',
'description' : 'Euvat', 'description' : 'Euvat',
'type' : 'int', 'type' : 'float',
'mode' : 'w' }, 'mode' : 'w' },
{ 'id' : 'zip_code', { 'id' : 'eu_vat',
'description' : 'The eu vat code',
'type' : 'string',
'mode' : 'w' },
{ 'id' : 'zipcode',
'description' : 'Zip Code', 'description' : 'Zip Code',
'type' : 'string', 'type' : 'string',
'mode' : 'w' }, 'mode' : 'w' },
{ 'id' : 'billing_address',
'description' : 'Billing Address',
'type' : 'string',
'mode' : 'w' },
{ 'id' : 'owner_account_id',
'description' : 'The id of the member account that own the Shop Order. This property is only used for the synchronisation process with ERP5 Sales Order.',
'type' : 'string',
'mode' : 'w' },
) )
_categories = ( ) _categories = ( )
\ 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