Commit 0f9f3498 authored by Jérome Perrin's avatar Jérome Perrin

new system preference to configure which uses are expressed as "base * rate"...

new system preference to configure which uses are expressed as "base * rate" and not "quantity * unit price"


git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/amount_generator@37517 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent bb479206
...@@ -70,6 +70,14 @@ class TradePreference: ...@@ -70,6 +70,14 @@ class TradePreference:
'default' : [], 'default' : [],
'write_permission': 'Manage properties', 'write_permission': 'Manage properties',
'mode' : '' }, 'mode' : '' },
{ 'id' : 'preferred_price_ratio_use',
'description' : 'Uses of movements for which the price will be a ratio'
' applied to the base instead of an unit price',
'type' : 'lines',
'preference' : 1,
'default' : [],
'write_permission': 'Manage properties',
'mode' : '' },
# base_amount # base_amount
{ 'id' : 'preferred_trade_base_amount', { 'id' : 'preferred_trade_base_amount',
......
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