Commit 208c7cb6 authored by Rafael Monnerat's avatar Rafael Monnerat

Added interaction workflow to Packing Lists and orders. The behavior is set...

Added interaction workflow to Packing Lists and orders. The behavior is set resource and quantity at [Order | Packing List] lines when you aggregate items.

To prevent inconvenient edits the resource is only set if the items use the same resource and if resource in the line is empty.
Quantity only changes or are set if the order quantity < items quantity.

Maybe this behavior is inconvenient for some cases, let me know all cases to improve it. Tests      will be added soon.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21334 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e718319f
<workflow_chain>
<chain>
<type>Internal Packing List Line</type>
<workflow>aggregate_interaction_workflow</workflow>
</chain>
<chain>
<type>Item</type>
<workflow>edit_workflow, item_workflow</workflow>
</chain>
<chain>
<type>Purchase Order Line</type>
<workflow>aggregate_interaction_workflow</workflow>
</chain>
<chain>
<type>Purchase Packing List Line</type>
<workflow>aggregate_interaction_workflow</workflow>
</chain>
<chain>
<type>Returned Sale Packing List Line</type>
<workflow>aggregate_interaction_workflow</workflow>
</chain>
<chain>
<type>Sale Order Line</type>
<workflow>aggregate_interaction_workflow</workflow>
</chain>
<chain>
<type>Sale Packing List Line</type>
<workflow>aggregate_interaction_workflow</workflow>
</chain>
<chain>
<type>Service Report</type>
<workflow>edit_workflow, item_workflow</workflow>
......
45
\ No newline at end of file
49
\ No newline at end of file
Internal Packing List Line | aggregate_interaction_workflow
Item | edit_workflow
Item | item_workflow
Purchase Order Line | aggregate_interaction_workflow
Purchase Packing List Line | aggregate_interaction_workflow
Returned Sale Packing List Line | aggregate_interaction_workflow
Sale Order Line | aggregate_interaction_workflow
Sale Packing List Line | aggregate_interaction_workflow
Service Report | edit_workflow
Service Report | item_workflow
\ 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