diff options
| author | Nasreddin (bon) <bon@odoo.com> | 2021-01-15 14:21:12 +0000 |
|---|---|---|
| committer | Nasreddin (bon) <bon@odoo.com> | 2021-01-15 14:21:12 +0000 |
| commit | 31bc04afc3ed4ea74cd20f71ea10943b1026629c (patch) | |
| tree | ad23e06ee7d6438670eb4568216bbaee42df4ae9 /addons/mail/static/src/models/thread_cache/thread_cache.js | |
| parent | 69cadbe1be6320d96fe9bc5bf8dd808f87d735c0 (diff) | |
[FIX] account: Set memo to ref if not payment_reference
Issue
- Install "Accounting" module
- Create a new bill :
- Set vendor
- Set no payment reference
- Set a bill reference
- Add products to bill
- Confirm and click on Register Payment
Memo field has no value.
Cause
The memo field is based on lines name.
Lines name is computed in `_onchange_payment_reference`
and depends only on payment_referecence.
Solution
If no `payment_reference`, fallback on `ref` to set line name.
opw-2440389
closes odoo/odoo#64618
Signed-off-by: bon-odoo <nboulif@users.noreply.github.com>
Diffstat (limited to 'addons/mail/static/src/models/thread_cache/thread_cache.js')
0 files changed, 0 insertions, 0 deletions
