Commit 1acaa3cb authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

make precision of base_price in Resource_viewDefaultSaleSupplyLine same as...

make precision of base_price in Resource_viewDefaultSaleSupplyLine same as SaleSupplyLine_view's one, and same for Internal Supply Line and Purchase Supply Line.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34934 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5ee84ff7
...@@ -122,7 +122,7 @@ ...@@ -122,7 +122,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python: here.getQuantityPrecisionFromResource(here.getInternalSupplyLinePriceCurrency())</string> </value> <value> <string>here/getInternalSupplyLinePricePrecision</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -122,7 +122,7 @@ ...@@ -122,7 +122,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python: here.getQuantityPrecisionFromResource(here.getPurchaseSupplyLinePriceCurrency())</string> </value> <value> <string>here/getPurchaseSupplyLinePricePrecision</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
...@@ -122,7 +122,7 @@ ...@@ -122,7 +122,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python: here.getQuantityPrecisionFromResource(here.getSaleSupplyLinePriceCurrency())</string> </value> <value> <string>here/getSaleSupplyLinePricePrecision</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
2010-05-03 kazuhiko
* make precision of base_price in Resource_viewDefaultSaleSupplyLine same as SaleSupplyLine_view's one, and same for Internal Supply Line and Purchase Supply Line.
2010-04-22 yusei 2010-04-22 yusei
* Fix Measure_reindexResource in conversion_interaction_workflow. Reindex resource only when measure is unindexed but resource is not. * Fix Measure_reindexResource in conversion_interaction_workflow. Reindex resource only when measure is unindexed but resource is not.
......
495 496
\ No newline at end of file \ No newline at end of file
...@@ -57,6 +57,7 @@ class DefaultSupply: ...@@ -57,6 +57,7 @@ class DefaultSupply:
'portal_type' : ('Internal Supply Line',), 'portal_type' : ('Internal Supply Line',),
'acquired_property_id' : ('base_price', 'id', 'priced_quantity', 'acquired_property_id' : ('base_price', 'id', 'priced_quantity',
'price_currency', 'price_currency_title', 'price_currency', 'price_currency_title',
'price_precision',
'source', 'destination', 'source', 'destination',
'source_title', 'destination_title', 'source_title', 'destination_title',
'source_value', 'destination_value', 'source_value', 'destination_value',
...@@ -79,6 +80,7 @@ class DefaultSupply: ...@@ -79,6 +80,7 @@ class DefaultSupply:
'portal_type' : ('Purchase Supply Line',), 'portal_type' : ('Purchase Supply Line',),
'acquired_property_id' : ('base_price', 'id', 'priced_quantity', 'acquired_property_id' : ('base_price', 'id', 'priced_quantity',
'price_currency', 'price_currency_title', 'price_currency', 'price_currency_title',
'price_precision',
'source', 'destination', 'source', 'destination',
'source_title', 'destination_title', 'source_title', 'destination_title',
'source_value', 'destination_value', 'source_value', 'destination_value',
...@@ -101,6 +103,7 @@ class DefaultSupply: ...@@ -101,6 +103,7 @@ class DefaultSupply:
'portal_type' : ('Sale Supply Line',), 'portal_type' : ('Sale Supply Line',),
'acquired_property_id' : ('base_price', 'id', 'priced_quantity', 'acquired_property_id' : ('base_price', 'id', 'priced_quantity',
'price_currency', 'price_currency_title', 'price_currency', 'price_currency_title',
'price_precision',
'source', 'destination', 'source', 'destination',
'source_title', 'destination_title', 'source_title', 'destination_title',
'source_value', 'destination_value', 'source_value', 'destination_value',
......
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