From ba1dfb7a5cf52dedaffdc515836e182102bcf206 Mon Sep 17 00:00:00 2001
From: Jean-Paul Smets <jp@nexedi.com>
Date: Tue, 6 Dec 2005 15:47:54 +0000
Subject: [PATCH] changed property ids for asset price to total asset price

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4507 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/PropertySheet/Price.py | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/product/ERP5/PropertySheet/Price.py b/product/ERP5/PropertySheet/Price.py
index 9d0a30e088..4e61f83cc7 100755
--- a/product/ERP5/PropertySheet/Price.py
+++ b/product/ERP5/PropertySheet/Price.py
@@ -53,17 +53,18 @@ class Price:
             'default'     : 1.0,
             'mode'        : 'w' },
         # Asset Value Pricing
-        {   'id'          : 'source_asset_price',
-            'description' : 'Asset price from the source point of view',
+        {   'id'          : 'source_total_asset_price',
+            'description' : 'Total asset price from the source point of view',
             'type'        : 'float',
             'mode'        : 'w' },
-        {   'id'          : 'destination_asset_price',
-            'description' : 'Asset price from the source point of view',
+        {   'id'          : 'destination_total_asset_price',
+            'description' : 'Total asset price from the destination point of view',
             'type'        : 'float',
             'mode'        : 'w' },
         # Pricing properties related to sourcing
         # Such price should be used very carefully since
         # They are incompatible with the multi company model
+        # WARNING: dangerous naming (like we had with source_reference)
         {   'id'          : 'source_base_price',
             'description' : 'A typical per unit price at which this ' \
                             'resource can be sourced (bought)',
-- 
2.30.9