oco-odoo
d8c4332c8d
[IMP] account: allow mixing cash basis and non-cash basis taxes on the same line
...
The tax_exigible field of account.move.line made it impossible to mix 'on_payment' and 'on_invoice' taxes on the same invoice line, as the base line couldn't be be tax exigible and non-tax exigible at the same time. However, this use case is needed by some countries in order to implement withholding taxes.
To solve that, we totally remove the tax_exigible field from account.move.line and instead compute it on the fly with a domain (also passed to the query_get for SQL queries). An 'always_tax_exigible' stored computed field is also added on account.move, in order to still allow (like before) putting cash basis taxes on a miscellaneous operation without any payable/receivable line and still see it become exigible without needing any payment.
[IMP] account: improve cash basis traceability
A smart button is now available on invoices generating cash basis entries, so see them all at once. The move originally creating cash basis entries is also shown as a field on them.
Task: 2457374
Part-of: odoo/odoo#74138
2021-09-02 14:15:12 +00:00
..
2021-09-02 14:15:12 +00:00
2021-08-17 08:21:57 +00:00
2021-08-17 09:39:57 +00:00
2021-08-27 18:46:02 +00:00
2021-09-02 14:15:12 +00:00
2021-08-27 16:40:49 +00:00
2021-08-30 21:05:12 +00:00
2021-08-31 08:47:27 +00:00
2021-08-30 21:05:12 +00:00
2021-08-30 21:05:12 +00:00
2021-08-24 15:23:51 +00:00
2021-08-24 15:23:51 +00:00
2021-09-02 12:57:13 +00:00
2021-08-30 21:05:12 +00:00
2021-08-20 15:03:32 +00:00
2021-08-11 14:01:02 +00:00
2021-09-02 00:43:09 +00:00
2021-08-17 14:06:29 +00:00
2021-08-18 13:35:07 +00:00
2021-09-02 00:43:09 +00:00
2021-08-25 13:09:58 +00:00
2021-08-25 13:10:52 +00:00
2021-09-02 00:43:34 +00:00
2021-09-02 14:14:09 +00:00
2021-08-31 08:47:14 +00:00
2021-09-02 03:42:54 +00:00
2021-09-02 14:14:32 +00:00
2021-09-02 14:14:32 +00:00
2021-09-02 14:14:33 +00:00
2021-08-17 08:43:57 +00:00
2021-08-23 14:59:00 +00:00
2021-08-25 12:20:39 +00:00
2021-08-26 10:21:01 +00:00
2021-08-31 10:01:10 +00:00
2021-08-10 13:49:05 +02:00
2021-08-10 13:49:05 +02:00
2021-09-02 00:43:34 +00:00
2021-08-23 16:49:10 +00:00
2021-08-30 16:47:49 +00:00
2021-08-31 23:35:17 +00:00
2021-08-25 12:20:39 +00:00
2021-09-02 12:57:03 +00:00
2021-09-02 12:57:03 +00:00
2021-08-30 10:59:01 +00:00
2021-09-01 07:17:40 +00:00
2021-09-02 12:57:03 +00:00
2021-09-02 12:57:03 +00:00
2021-09-02 12:57:03 +00:00
2021-08-25 13:10:31 +00:00
2021-09-02 00:43:34 +00:00
2021-09-02 00:43:27 +00:00
2021-08-23 08:56:13 +00:00
2021-09-02 08:39:08 +00:00
2021-08-24 15:48:43 +00:00
2021-08-19 06:48:34 +00:00
2021-09-01 09:38:51 +00:00
2021-08-24 15:48:43 +00:00
2021-08-13 07:04:07 +00:00
2021-08-13 07:04:07 +00:00
2021-08-06 15:01:51 +00:00
2021-08-06 15:19:29 +00:00
2021-08-10 14:24:11 +02:00
2021-08-24 15:48:43 +00:00
2021-09-02 11:47:49 +00:00
2021-08-20 15:04:58 +00:00
2021-08-24 15:48:43 +00:00
2021-08-06 10:33:17 +00:00
2021-09-01 09:38:51 +00:00
2021-09-01 20:57:07 +00:00
2021-08-17 09:39:57 +00:00
2021-08-17 09:39:57 +00:00
2021-08-17 09:39:57 +00:00
2021-08-13 09:53:00 +00:00
2021-08-25 06:03:39 +00:00
2021-09-02 03:42:54 +00:00
2021-09-02 00:43:34 +00:00
2021-09-01 19:07:48 +00:00
2021-08-30 10:58:57 +00:00
2021-08-23 06:56:00 +00:00
2021-09-02 03:42:54 +00:00
2021-09-02 01:55:27 +00:00
2021-08-31 10:01:10 +00:00
2021-09-02 10:41:46 +00:00
2021-08-27 16:40:49 +00:00
2021-09-02 12:57:33 +00:00
2021-09-02 10:41:46 +00:00
2021-08-24 14:31:55 +00:00
2021-08-06 12:13:23 +00:00
2021-09-01 11:05:44 +00:00
2021-08-23 10:54:17 +00:00
2021-08-23 10:54:17 +00:00
2021-08-23 10:54:17 +00:00
2021-08-23 10:54:17 +00:00
2021-09-01 11:05:44 +00:00
2021-08-23 10:54:17 +00:00
2021-08-23 10:54:17 +00:00
2021-08-23 10:54:17 +00:00
2021-08-23 10:54:17 +00:00
2021-08-23 10:54:17 +00:00
2021-08-23 10:54:17 +00:00
2021-08-23 10:54:17 +00:00
2021-08-23 10:54:17 +00:00
2021-08-23 10:54:17 +00:00
2021-08-20 13:11:03 +00:00
2021-09-02 12:57:51 +00:00
2021-09-02 03:42:54 +00:00
2021-08-27 18:46:06 +00:00
2021-08-31 17:11:56 +00:00
2021-08-27 17:43:09 +00:00
2021-08-31 17:11:56 +00:00
2021-09-01 08:26:10 +00:00
2021-08-24 11:57:40 +00:00
2021-09-02 12:57:09 +00:00
2021-09-02 12:57:33 +00:00
2021-08-19 08:39:06 +00:00
2021-08-10 13:49:05 +02:00
2021-08-30 13:27:44 +00:00
2021-09-01 07:17:40 +00:00
2021-08-27 16:40:49 +00:00
2021-08-27 16:40:50 +00:00
2021-09-02 12:57:03 +00:00
2021-09-02 10:41:46 +00:00
2021-08-10 13:49:04 +02:00
2021-09-02 10:41:46 +00:00
2021-09-02 10:41:46 +00:00
2021-08-19 04:32:46 +00:00
2021-08-30 17:53:11 +00:00
2021-09-02 12:57:03 +00:00
2021-08-30 13:27:44 +00:00
2021-08-16 11:35:55 +00:00
2021-08-25 10:27:05 +00:00
2021-09-02 12:57:47 +00:00
2021-08-30 13:27:44 +00:00
2021-09-01 07:17:40 +00:00
2021-08-06 12:31:20 +00:00
2021-08-25 13:50:20 +00:00
2021-08-27 19:49:01 +00:00
2021-09-01 07:17:49 +00:00
2021-08-23 06:56:00 +00:00
2021-09-02 03:42:54 +00:00
2021-09-02 00:43:34 +00:00
2021-09-02 14:14:10 +00:00
2021-09-01 09:38:58 +00:00
2021-09-02 10:41:46 +00:00
2021-08-27 09:33:58 +00:00
2021-09-02 14:14:10 +00:00
2021-09-02 03:42:54 +00:00
2021-09-02 12:57:03 +00:00
2021-09-02 14:14:34 +00:00
2021-09-02 03:42:54 +00:00
2021-09-02 01:55:27 +00:00
2021-08-18 13:38:08 +00:00
2021-08-26 10:21:38 +00:00
2021-08-31 23:35:41 +00:00
2021-08-20 13:11:03 +00:00
2021-09-02 12:57:03 +00:00
2021-09-02 14:14:51 +00:00
2021-08-26 13:56:14 +00:00
2021-09-02 14:14:56 +00:00
2021-08-10 13:49:04 +02:00
2021-08-31 02:33:48 +00:00
2021-08-25 13:10:44 +00:00
2021-08-13 16:17:15 +00:00
2021-08-23 14:59:00 +00:00
2021-09-02 14:14:33 +00:00
2021-09-02 14:14:34 +00:00
2021-09-02 14:14:33 +00:00
2021-09-02 14:14:34 +00:00
2021-09-02 07:32:24 +00:00
2021-07-30 07:45:49 +00:00
2021-09-02 14:14:31 +00:00
2021-09-02 07:32:25 +00:00
2021-09-02 07:32:25 +00:00
2021-09-02 07:32:24 +00:00
2021-08-17 18:16:22 +00:00
2021-08-10 13:49:05 +02:00
2021-08-10 14:24:11 +02:00
2021-09-02 00:43:34 +00:00
2021-09-01 19:07:48 +00:00
2021-08-20 12:05:23 +00:00
2021-09-02 14:14:31 +00:00
2021-09-02 10:41:51 +00:00
2021-08-20 06:22:21 +00:00
2021-08-09 14:16:54 +00:00
2021-08-26 10:21:16 +00:00
2021-08-26 10:21:16 +00:00
2021-08-30 13:27:44 +00:00
2021-09-02 07:32:32 +00:00
2021-09-02 14:14:31 +00:00
2021-08-09 14:13:58 +00:00
2021-08-20 06:22:21 +00:00
2021-09-02 10:41:51 +00:00
2021-09-02 04:41:54 +00:00
2021-08-24 14:31:55 +00:00