summaryrefslogtreecommitdiff
path: root/addons/web
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2015-04-17 17:33:13 +0200
committerChristophe Simonis <chs@odoo.com>2015-04-17 17:33:13 +0200
commit8846dcb179bd5a3f2451a69f9e1eac5073799788 (patch)
tree0a4bb1936a23009b8a52bafeacd7bc4a928e276e /addons/web
parentcfb47fc0123ca7374365cb7e6500dfc400e10fb0 (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')
0 files changed, 0 insertions, 0 deletions