Commit 2e6aabd9 authored by Alexandre Boeglin's avatar Alexandre Boeglin

priced_quantity on supply cells should be acquired from lines

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19789 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 155dba14
......@@ -47,10 +47,16 @@ class Price:
'acquisition_accessor_id' : 'getPrice',
'acquisition_depends' : None,
'mode' : 'w' },
# priced_quantity should be acquired from cells to lines
{ 'id' : 'priced_quantity',
'description' : 'Number of units involved in base prices',
'type' : 'float',
'default' : 1.0,
'acquisition_base_category' : ('parent',),
'acquisition_portal_type' : Expression('portal/getPortalSupplyPathTypeList'),
'acquisition_copy_value' : 0,
'acquisition_mask_value' : 1,
'acquisition_accessor_id' : 'getPricedQuantity',
'mode' : 'w' },
# Asset Value Pricing
{ 'id' : 'source_total_asset_price',
......
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