diff options
| author | Christophe Simonis <chs@odoo.com> | 2015-04-17 17:33:13 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2015-04-17 17:33:13 +0200 |
| commit | 8846dcb179bd5a3f2451a69f9e1eac5073799788 (patch) | |
| tree | 0a4bb1936a23009b8a52bafeacd7bc4a928e276e /addons/web/static/src/js/framework/session.js | |
| parent | cfb47fc0123ca7374365cb7e6500dfc400e10fb0 (diff) | |
[FIX] account: correct `price_subtotal_signed` computation
When computing default values, `self.company_id` may not be set. Use
explictly `self.invoice_id.company_id` to compute the signed subtotal.
Also, only do it when there is an invoice.
Diffstat (limited to 'addons/web/static/src/js/framework/session.js')
0 files changed, 0 insertions, 0 deletions
