Commit 5df66044 authored by Jean-Paul Smets's avatar Jean-Paul Smets

added deliverable interface


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@605 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d8fe83d7
......@@ -130,7 +130,6 @@ An ERP5 Rule..."""
An applied rule can be expanded only if its parent movement
is expanded.
"""
delivery_type = 'Samples Packing List'
delivery_line_type = 'Simulation Movement'
# Get the order when we come from
......
......@@ -229,7 +229,7 @@ An ERP5 Rule..."""
quantity_unit = my_context_movement.getQuantityUnit(),
destination_section = production_section,
destination = production_node,
deliverable = 0
deliverable = 1
)
# Mising quantity unit conversion for my_quantity !!!! XXXX
produced_resource.setVariationCategoryList(my_context_movement.getVariationCategoryList())
......@@ -267,7 +267,7 @@ An ERP5 Rule..."""
source = production_node,
source_section = production_section,
destination_list = (),
deliverable = 0
deliverable = 1
)
#LOG('RESOURCE', 0, str(amount_line['resource'].getRelativeUrl()))
#LOG('VC List', 0, str(amount_line['variation_category_list']))
......
......@@ -196,7 +196,7 @@ An ERP5 Rule..."""
quantity_unit = my_context_movement.getQuantityUnit(),
destination = my_context_movement.getSource(),
destination_section = my_context_movement.getSourceSection(),
deliverable = 1
deliverable = 0 # We do not need to source explicitely operations
)
transformation_source.setVariationCategoryList(
my_context_movement.getVariationCategoryList())
......
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