I am trying to modify a method in an existing module to adapt functionality. What does + operator do in this line?
for line in payment.move_line_ids + expense_sheet.account_move_id.line_ids:
On
It concatenates account.move.line records from payment.move_line_ids and expense_sheet.account_move_id.line_ids into a single recordset, which is then iterated over. Please note that the result of the __add__ (+) operation might contain duplicates if the same account.move.line is present in both operands. If you want to avoid duplicates, use the | (OR) operator.
Hello M.E.,
Solution
List/String/Tupple.Example
Plus(+) Operator use with two
List+operator use with twoString+operator use with two tupple