summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/models/messaging_initializer/messaging_initializer.js
diff options
context:
space:
mode:
authorLaurent Smet <las@odoo.com>2021-03-17 08:40:22 +0000
committerLaurent Smet <las@odoo.com>2021-03-17 09:11:01 +0000
commit92ceb86d58f4d78c8a4256f29d101d3730517b93 (patch)
tree98424f985d132bfbbc71586cbd5ded88ed8f4683 /addons/mail/static/src/models/messaging_initializer/messaging_initializer.js
parentb6c37754532ae6a7cc1f68a345fde6258abdc893 (diff)
[FIX] account: Set 'move_id.ref' as payment memo with vendor bill
The current behavior was to set the label as memo in the payment register wizard. However, this is to restrictive when a vendor bill hasn't any payment reference but a bill reference. In that case, the user is expecting to have the bill 'ref' in the payment 'memo'. Since the matching rules in the reconciliation widget are matching line.name, then line.move_id.ref and then line.move_id.name, the same logic is applied here to construct the payment 'memo'. closes odoo/odoo#67997 Opw: 2440389 Signed-off-by: oco-odoo <oco-odoo@users.noreply.github.com>
Diffstat (limited to 'addons/mail/static/src/models/messaging_initializer/messaging_initializer.js')
0 files changed, 0 insertions, 0 deletions