Commit 140f72a5 authored by Nicolas Dumazet's avatar Nicolas Dumazet

Right key is supposed to be quantity_unit_uid, sorry.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33355 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0e74d63f
...@@ -78,7 +78,7 @@ getQuantityUnitConversionDefinitionRowList\r\n ...@@ -78,7 +78,7 @@ getQuantityUnitConversionDefinitionRowList\r\n
Make sure that we get no duplicates, and also aggregate the uids of the modified resources for deletion\n Make sure that we get no duplicates, and also aggregate the uids of the modified resources for deletion\n
</dtml-comment>\n </dtml-comment>\n
<dtml-in loop_item prefix="inner">\n <dtml-in loop_item prefix="inner">\n
<dtml-call expr="quantity_unit_conversion_dict.setdefault(inner_item[\'resource_uid\'], {}).setdefault(inner_item[\'quantity_unit\'], inner_item)">\n <dtml-call expr="quantity_unit_conversion_dict.setdefault(inner_item[\'resource_uid\'], {}).setdefault(inner_item[\'quantity_unit_uid\'], inner_item)">\n
</dtml-in>\n </dtml-in>\n
</dtml-if>\n </dtml-if>\n
</dtml-in>\n </dtml-in>\n
...@@ -155,7 +155,7 @@ VALUES\n ...@@ -155,7 +155,7 @@ VALUES\n
Make sure that we get no duplicates, and also aggregate the uids of the modified resources for deletion\n Make sure that we get no duplicates, and also aggregate the uids of the modified resources for deletion\n
</dtml-comment>\n </dtml-comment>\n
<dtml-in loop_item prefix="inner">\n <dtml-in loop_item prefix="inner">\n
<dtml-call expr="quantity_unit_conversion_dict.setdefault(inner_item[\'resource_uid\'], {}).setdefault(inner_item[\'quantity_unit\'], inner_item)">\n <dtml-call expr="quantity_unit_conversion_dict.setdefault(inner_item[\'resource_uid\'], {}).setdefault(inner_item[\'quantity_unit_uid\'], inner_item)">\n
</dtml-in>\n </dtml-in>\n
</dtml-if>\n </dtml-if>\n
</dtml-in>\n </dtml-in>\n
......
182 183
\ No newline at end of file \ 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