diff options
| author | Laurent Smet <las@odoo.com> | 2021-03-17 08:40:22 +0000 |
|---|---|---|
| committer | Laurent Smet <las@odoo.com> | 2021-03-17 09:11:01 +0000 |
| commit | 92ceb86d58f4d78c8a4256f29d101d3730517b93 (patch) | |
| tree | 98424f985d132bfbbc71586cbd5ded88ed8f4683 /addons/mail/static/src/models | |
| parent | b6c37754532ae6a7cc1f68a345fde6258abdc893 (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')
0 files changed, 0 insertions, 0 deletions
