Commit c9be3089 authored by Xiaowu Zhang's avatar Xiaowu Zhang Committed by Xiaowu Zhang

rtia_test: return source_section in destination&source method

changed caused by : nexedi/erp5@9e530f6a
parent 5f5bea1a
return ['source/account_module/variation_cars'] result = []
source_section = movement.getSourceSection()
if source_section:
result.append('source_section/%s' %source_section)
result.append('source/account_module/variation_cars')
return result
result = []
source_section = movement.getSourceSection()
if source_section:
result.append('source_section/%s' %source_section)
if movement.getSource() == 'organisation_module/workshop': if movement.getSource() == 'organisation_module/workshop':
return ['source/account_module/stock_car_workshop'] result.append('source/account_module/stock_car_workshop')
return [] return result
result = []
source_section = movement.getSourceSection()
if source_section:
result.append('source_section/%s' % source_section)
if movement.getSource() == 'organisation_module/hoge': if movement.getSource() == 'organisation_module/hoge':
return ['source/account_module/variation_cars'] result.append('source/account_module/variation_cars')
return [] return result
result = []
source_section = movement.getSourceSection()
if source_section:
result.append('source_section/%s' % source_section)
if movement.getSource() == 'organisation_module/hoge': if movement.getSource() == 'organisation_module/hoge':
return ['source/account_module/stock_car_park'] result.append('source/account_module/stock_car_park')
return [] return result
result = []
source_section = movement.getSourceSection()
if source_section:
result.append('source_section/%s' % source_section)
if movement.getSource() == 'organisation_module/hoge': if movement.getSource() == 'organisation_module/hoge':
return ['source/account_module/variation_cars'] result.append('source/account_module/variation_cars')
return [] return result
result = []
source_section = movement.getSourceSection()
if source_section:
result.append('source_section/%s' % source_section)
if movement.getSource() == 'organisation_module/hoge': if movement.getSource() == 'organisation_module/hoge':
return ['source/account_module/stock_car_transit'] result.append('source/account_module/stock_car_transit')
return [] return result
result = []
source_section = movement.getSourceSection()
if source_section:
result.append('source_section/%s' % source_section)
if movement.getSource() == 'organisation_module/hoge': if movement.getSource() == 'organisation_module/hoge':
return ['source/account_module/stock_car_transit'] result.append('source/account_module/stock_car_transit')
return [] return result
result = []
source_section = movement.getSourceSection()
if source_section:
result.append('source_section/%s' % source_section)
if movement.getSource() == 'organisation_module/hoge': if movement.getSource() == 'organisation_module/hoge':
return ['source/account_module/variation_cars'] result.append('source/account_module/variation_cars')
return [] return result
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