diff options
| author | Goffin Simon <sig@odoo.com> | 2020-02-05 10:19:48 +0000 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2020-02-06 17:25:20 +0000 |
| commit | a4d46ec55c09b0d54260dacfe756bbb78b40b44e (patch) | |
| tree | 723948f01c278b7fb6f1a8f953fb1f5a980d221c /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | d657a9c29ae8c41a5a7ce934415fcc679158bb8f (diff) | |
[FIX] account, sale: Default payment term when creating an invoice
Steps to reproduce the bug:
- Let's consider a partner P without property_payment_term_id
- Create a SO for P, confirm it and create an invoice I
- In debug mode, on the SO click on the smart button 'invoice'
- On I, click on the 'Set Default' in the debug menu
- Set a payment term PT as default value (ir.default) for all users
- From this view, create a new invoice
Bug:
The default payment term PT was not set on the new invoice
opw:2184367
closes odoo/odoo#44781
X-original-commit: c258b8a0427bd5aface891ed1f4420174f4afde4
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
