diff options
| author | Juan Jose Scarafia <jjs@adhoc.com.ar> | 2020-04-11 18:29:56 +0000 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2020-08-07 13:36:06 +0000 |
| commit | 6d52f3646c7cf389ce76445cd16aa570f90e07e0 (patch) | |
| tree | 8a5dcdcef0c681c5d2ea741c261e5de22452ebc4 /addons/mail/static/src/models/thread_cache/thread_cache.js | |
| parent | 1ca3a590f7399f1379eea02c83eaa6046856a795 (diff) | |
[FIX] account: update account and payment term
- Create 2 customers A & B
- On A, set a Payment Term for Sales and Purchases
- Create a customer invoice
- Add a line
- Set Partner A
=> the payment term is selected
- Set Partner B
=> the payment term is kept
Moreover, the term account is set only if the customer has a payment
term set, which is not logical.
Since the partner is not mandatory, we keep an intermediate behavior: we
set the info of the partner only if there is a partner defined.
opw-2304436
closes odoo/odoo#55632
X-original-commit: 68d470ee832ea7999ebcb58109d249d7d463c83d
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
Diffstat (limited to 'addons/mail/static/src/models/thread_cache/thread_cache.js')
0 files changed, 0 insertions, 0 deletions
