jem-odoo
a9658d5bf5
[IMP] sale: untaxed amount to invoice/invoiced on sale line
...
Similar fields were introduced at d2e33ba57c
but their computation were not totally exact, so someone removed them.
Also, for performance sake, they were replaced by a (too) simpler
calculation at 39d0613187d36f16c541734e80925e9d.
Turns out, those fields were usefull !
Neither of those 2 implementations were 100% correct, so this commit
reintroduced thoses 2 fields on sale.order.line object:
1/ untaxed_amount_invoiced: will contain the amount (money without
taxes) invoiced
from the sale line, taking refund linked to the same SO line into
account. The formula is
SUM(inv_line.price_subtotal) - SUM(ref_line.price_subtotal)
where
`inv_line` is a customer invoice line linked to the SO line
`ref_line` is a customer credit note (refund) line linked to the SO
line
2/ untaxed_amount_to_invoice: will contain the amount (taxes excluded)
of the money to invoice from this sale line. The formula is
SOL.total - SOL.untaxed_amount_invoiced
Those numbers are interesting in reporting, and to manage the billing
part for salespersons.
Task #1857652
2018-08-02 16:12:39 +02:00
..
2018-08-02 16:12:39 +02:00
2018-07-29 04:03:32 +02:00
2018-07-29 07:17:30 +02:00
2018-07-29 04:03:32 +02:00
2018-07-29 04:03:32 +02:00
2018-07-29 00:26:54 +02:00
2018-07-29 00:26:54 +02:00
2018-07-26 02:18:37 +02:00
2018-06-04 18:06:44 +02:00
2018-07-31 13:07:48 +02:00
2018-07-29 00:26:54 +02:00
2018-07-29 00:26:54 +02:00
2018-07-29 00:26:54 +02:00
2018-07-29 00:26:54 +02:00
2018-07-29 00:26:54 +02:00
2018-07-29 00:26:54 +02:00
2018-07-29 00:26:54 +02:00
2018-07-29 00:26:54 +02:00
2018-07-31 12:37:50 +02:00
2018-07-29 00:26:54 +02:00
2018-07-24 18:10:32 +02:00
2018-07-30 17:02:28 +02:00
2018-07-25 15:41:31 +02:00
2018-07-29 00:26:54 +02:00
2018-07-29 00:26:54 +02:00
2018-07-29 07:17:30 +02:00
2018-08-02 09:55:20 +02:00
2018-07-29 00:26:54 +02:00
2018-07-29 07:17:30 +02:00
2018-07-29 07:17:30 +02:00
2018-07-27 12:36:54 +02:00
2018-07-30 17:02:28 +02:00
2018-07-29 07:17:30 +02:00
2018-07-29 00:26:54 +02:00
2018-07-29 07:17:30 +02:00
2018-07-29 07:17:30 +02:00
2018-07-22 04:09:21 +02:00
2018-07-31 13:23:38 +02:00
2018-07-22 04:09:21 +02:00
2018-07-22 04:09:21 +02:00
2018-07-27 12:36:54 +02:00
2018-07-24 18:10:32 +02:00
2018-07-30 14:57:04 +02:00
2018-07-27 12:36:54 +02:00
2018-07-22 04:09:21 +02:00
2018-08-01 18:02:29 +02:00
2018-07-27 12:36:54 +02:00
2018-07-29 00:26:54 +02:00
2018-07-29 07:17:30 +02:00
2018-07-29 00:26:54 +02:00
2018-07-29 00:26:54 +02:00
2018-07-24 18:10:32 +02:00
2018-07-29 00:26:54 +02:00
2018-07-29 00:26:54 +02:00
2018-07-22 04:09:21 +02:00
2018-07-29 07:17:30 +02:00
2018-07-29 00:26:54 +02:00
2018-07-29 00:26:54 +02:00
2018-07-29 07:17:30 +02:00
2018-07-22 04:09:21 +02:00
2018-07-29 00:26:54 +02:00
2018-08-01 18:33:34 +02:00
2018-07-29 00:26:54 +02:00
2018-08-02 09:55:20 +02:00
2018-07-27 12:36:54 +02:00
2018-07-27 14:02:35 +02:00
2018-07-29 00:26:54 +02:00
2018-07-22 04:09:21 +02:00
2018-08-01 18:02:29 +02:00
2018-07-24 18:10:32 +02:00
2018-07-24 18:10:32 +02:00
2018-07-13 17:46:12 +02:00
2018-07-13 15:10:12 +02:00
2018-07-18 17:59:23 +02:00
2018-07-18 17:59:23 +02:00
2018-07-27 12:36:54 +02:00
2018-07-27 12:36:54 +02:00
2018-08-01 18:02:29 +02:00
2018-08-01 18:02:29 +02:00
2018-07-24 16:43:26 +02:00
2018-07-24 16:43:26 +02:00
2018-07-24 16:43:26 +02:00
2018-07-27 12:36:54 +02:00
2018-07-26 22:45:41 +02:00
2018-07-24 16:43:26 +02:00
2018-07-24 16:43:26 +02:00
2018-08-01 18:02:29 +02:00
2018-07-24 16:43:26 +02:00
2018-06-13 10:24:14 +02:00
2018-07-24 18:10:32 +02:00
2018-08-01 18:02:29 +02:00
2018-07-30 17:02:28 +02:00
2018-07-30 17:02:28 +02:00
2018-07-24 16:43:26 +02:00
2018-07-30 17:02:28 +02:00
2018-07-27 12:36:54 +02:00
2018-07-27 12:36:54 +02:00
2018-06-05 16:27:49 +02:00
2018-07-27 12:36:54 +02:00
2018-07-27 12:36:54 +02:00
2018-07-26 22:45:41 +02:00
2018-07-17 11:50:35 +02:00
2018-07-27 12:36:54 +02:00
2018-07-24 17:33:05 +02:00
2018-07-29 00:26:54 +02:00
2018-07-27 12:36:54 +02:00
2018-07-19 14:30:55 +02:00
2018-07-24 16:43:26 +02:00
2018-07-24 16:43:26 +02:00
2018-07-24 16:43:26 +02:00
2018-07-24 16:43:26 +02:00
2018-07-24 16:43:26 +02:00
2018-06-07 11:43:07 +02:00
2018-07-29 00:26:54 +02:00
2018-07-27 12:36:54 +02:00
2018-08-02 09:55:20 +02:00
2018-07-29 07:17:30 +02:00
2018-07-31 11:08:11 +02:00
2018-07-22 04:09:21 +02:00
2018-07-22 04:09:21 +02:00
2018-07-27 12:36:54 +02:00
2018-07-29 07:17:30 +02:00
2018-07-29 07:17:30 +02:00
2018-07-29 00:26:54 +02:00
2018-07-29 07:17:30 +02:00
2018-07-22 04:09:21 +02:00
2018-07-29 00:26:54 +02:00
2018-07-27 12:36:54 +02:00
2018-07-31 17:12:58 +02:00
2018-07-27 12:36:54 +02:00
2018-07-27 12:36:54 +02:00
2018-07-27 12:36:54 +02:00
2018-07-27 12:36:54 +02:00
2018-07-27 12:36:54 +02:00
2018-07-22 04:09:21 +02:00
2018-07-24 18:10:32 +02:00
2018-07-31 13:07:48 +02:00
2018-07-27 12:36:54 +02:00
2018-07-22 04:09:21 +02:00
2018-08-01 18:02:29 +02:00
2018-07-29 07:17:30 +02:00
2018-07-29 00:26:54 +02:00
2018-07-29 07:17:30 +02:00
2018-07-29 00:26:54 +02:00
2018-07-22 04:09:21 +02:00
2018-07-29 07:17:30 +02:00
2018-07-31 17:12:58 +02:00
2018-07-22 04:09:21 +02:00
2018-08-01 18:02:29 +02:00
2018-07-29 00:26:54 +02:00
2018-07-27 12:36:54 +02:00
2018-07-29 00:26:54 +02:00
2018-08-01 18:02:29 +02:00
2018-07-27 12:36:54 +02:00
2018-08-01 18:02:29 +02:00
2018-07-29 00:26:54 +02:00
2018-07-29 00:26:54 +02:00
2018-08-01 19:06:17 +02:00
2018-07-27 12:36:54 +02:00
2018-07-27 12:36:54 +02:00
2018-07-29 00:26:54 +02:00
2018-08-02 16:12:39 +02:00
2018-07-31 08:02:05 +02:00
2018-07-22 04:09:21 +02:00
2018-07-31 12:34:18 +02:00
2018-07-31 17:12:58 +02:00
2018-07-26 15:21:32 +02:00
2018-07-24 18:10:32 +02:00
2018-07-27 14:02:35 +02:00
2018-07-31 17:12:58 +02:00
2018-08-01 18:02:29 +02:00
2018-07-29 00:26:54 +02:00
2018-07-27 12:36:54 +02:00
2018-07-27 12:36:54 +02:00
2018-07-11 10:16:33 +02:00
2018-08-01 18:02:29 +02:00
2018-07-29 00:26:54 +02:00
2018-07-24 18:10:32 +02:00
2018-08-01 18:02:29 +02:00
2018-08-01 11:20:03 +02:00
2018-08-01 18:02:29 +02:00
2018-07-24 18:10:32 +02:00
2018-08-01 10:24:36 +02:00
2018-07-31 13:07:48 +02:00
2018-07-27 12:36:54 +02:00
2018-07-22 04:09:21 +02:00
2018-07-29 07:17:30 +02:00
2018-07-29 00:26:54 +02:00
2018-08-02 11:41:42 +02:00
2018-07-29 00:26:54 +02:00
2018-08-02 09:55:20 +02:00
2018-07-22 04:09:21 +02:00
2018-07-29 07:17:30 +02:00
2018-07-29 00:26:54 +02:00
2018-08-02 09:55:20 +02:00
2018-07-29 07:17:30 +02:00
2018-07-29 00:26:54 +02:00
2018-07-31 13:23:38 +02:00
2018-07-31 13:07:48 +02:00
2018-07-31 13:07:48 +02:00
2018-07-29 00:26:54 +02:00
2018-07-27 12:36:54 +02:00
2018-07-29 00:26:54 +02:00
2018-07-29 00:26:54 +02:00
2018-07-31 13:07:48 +02:00
2018-07-29 00:26:54 +02:00
2018-07-31 13:07:48 +02:00
2018-07-27 12:36:54 +02:00
2018-08-01 18:02:29 +02:00
2018-07-29 00:26:54 +02:00
2018-07-29 00:26:54 +02:00
2018-07-29 00:26:54 +02:00
2018-07-29 00:26:54 +02:00
2018-07-27 12:36:54 +02:00
2018-07-31 13:07:48 +02:00
2018-07-29 00:26:54 +02:00
2018-07-29 00:26:54 +02:00
2018-07-31 13:07:48 +02:00
2018-07-27 12:36:54 +02:00
2018-08-02 09:55:20 +02:00
2018-08-02 09:55:20 +02:00
2018-08-01 18:02:29 +02:00
2018-07-27 12:36:54 +02:00
2018-08-01 11:18:03 +02:00
2018-07-22 04:09:21 +02:00
2018-07-31 13:07:48 +02:00
2018-07-27 12:36:54 +02:00
2018-08-01 18:02:29 +02:00
2018-08-02 09:55:20 +02:00
2018-07-27 12:36:54 +02:00
2018-07-29 00:26:54 +02:00