summaryrefslogtreecommitdiff
path: root/addons/project/models/project.py
diff options
context:
space:
mode:
authorLaurent Smet <las@odoo.com>2021-02-12 09:13:40 +0000
committerLaurent Smet <las@odoo.com>2021-02-18 11:53:42 +0000
commit7a7dc212af7279544cffba362bce7daa4fc00865 (patch)
tree9db73d64a7882e18e820de47c9632102fb19a320 /addons/project/models/project.py
parentd3854dbf7a6e0c0f9ac00c11716908bc175808d7 (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#66158 Co-author: nboulif <bon@odoo.com> X-original-commit: 1027490318f3baa9bef382b3e54b20d05a40aa03 Signed-off-by: oco-odoo <oco-odoo@users.noreply.github.com> Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
Diffstat (limited to 'addons/project/models/project.py')
0 files changed, 0 insertions, 0 deletions