Commit 2ae629b0 authored by Romain Courteaud's avatar Romain Courteaud

Comment LOG

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15426 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 333814a7
...@@ -105,11 +105,11 @@ class DuplicateInventory(Constraint): ...@@ -105,11 +105,11 @@ class DuplicateInventory(Constraint):
variation_text=variation_text, variation_text=variation_text,
from_date=date, at_date=date, from_date=date, at_date=date,
node=node) node=node)
LOG('inventory_list sql src', 0, getCurrentInventoryList(resource=resource, # LOG('inventory_list sql src', 0, getCurrentInventoryList(resource=resource,
variation_text=variation_text, # variation_text=variation_text,
from_date=date, at_date=date, # from_date=date, at_date=date,
node=node, src__=1)) # node=node, src__=1))
LOG('len inventory_list',0,len(inventory_list)) # LOG('len inventory_list',0,len(inventory_list))
for inventory in inventory_list: for inventory in inventory_list:
movement = getObjectFromUid(inventory.stock_uid) movement = getObjectFromUid(inventory.stock_uid)
if movement.getPortalType().find('Inventory') >= 0: if movement.getPortalType().find('Inventory') >= 0:
......
88 89
\ 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