diff --git a/master/bt5/vifib_slapos_accounting/WorkflowTemplateItem/portal_workflow/instance_accounting_slap_interaction_workflow/scripts/Instance_changePromiseState.xml b/master/bt5/vifib_slapos_accounting/WorkflowTemplateItem/portal_workflow/instance_accounting_slap_interaction_workflow/scripts/Instance_changePromiseState.xml index 25e1281ae5a042cce3d25830a8c54c80e58a06d7..79f84fce0c85e95c6fcdf164c6ff671ef8795f69 100644 --- a/master/bt5/vifib_slapos_accounting/WorkflowTemplateItem/portal_workflow/instance_accounting_slap_interaction_workflow/scripts/Instance_changePromiseState.xml +++ b/master/bt5/vifib_slapos_accounting/WorkflowTemplateItem/portal_workflow/instance_accounting_slap_interaction_workflow/scripts/Instance_changePromiseState.xml @@ -151,6 +151,7 @@ else:\n source=delivery.getSource(),\n source_section=delivery.getSourceSection(),\n price_currency=delivery.getPriceCurrency(),\n + quantity_unit=delivery.getQuantityUnit(),\n start_date=DateTime())\n \n if (state == started):\n @@ -163,7 +164,7 @@ else:\n packing_list_line = packing_list.newContent(\n portal_type=\'Sale Packing List Line\',\n resource=service_relative_url,\n - quantity=service.getQuantity(),\n + quantity=1,\n aggregate_list=delivery.getAggregateList(),\n # XXX Hardcode price on service\n price=service.getSaleSupplyLineBasePrice(),\n diff --git a/master/bt5/vifib_slapos_accounting/bt/revision b/master/bt5/vifib_slapos_accounting/bt/revision index 7813681f5b41c028345ca62a2be376bae70b7f61..62f9457511f879886bb7728c986fe10b0ece6bcb 100644 --- a/master/bt5/vifib_slapos_accounting/bt/revision +++ b/master/bt5/vifib_slapos_accounting/bt/revision @@ -1 +1 @@ -5 \ No newline at end of file +6 \ No newline at end of file