Name 08b126f0f9384e723b9fa7294438d3f72d191f25
Tree hash 3d2ed90a0dd8f6f44fdf11222e95ece5de017aa5
Repo ingadhoc-argentina-sale
Subject [FIX] l10n_ar_sale: Fix sale order line date. The _l10n_ar_add_taxes method of account.fiscal.position of the l10n_ar_tax module ( https://github.com/ingadhoc/odoo-argentina/blob/18.0/l10n_ar_tax/models/account_fiscal_position.py#L10 ) gets the date of the sale.order as datetime.datetime (from l10n_ar_sale module https://github.com/ingadhoc/argentina-sale/blob/18.0/l10n_ar_sale/models/sale_order_line.py#L130 ) but compares it with the from_date and to_date fields of l10n_ar.partner.tax model which are of type datetime.date then we convert the date of the sale.order.line as datetime.date to make a homogeneous comparison between date fields of the same type (datetime.date). Also we ensure to use the timezone of Argentina to avoid issues with timezones when comparing dates. Ticket adhoc side: 97262, 97292
Date 2025-07-31 19:51:06
Author Pablo Montenegro <pam@adhoc.com.ar>
Commiter Juan José Scarafía <jjs@adhoc.inc>

Last Status

2025-08-06 14:57:57 ci/runbot-oba   success build 1831
2025-08-06 14:36:50 ci/runbot-modified-modules   success build 1828
2025-08-01 14:03:23 Branch naming   failure build

Branch presence history

2025-07-31 19:51:08 ingadhoc/argentina-sale 18.0
2025-08-01 14:03:21 ingadhoc/argentina-sale tmp.18.0

Status history

2025-08-06 14:57:57 ci/runbot-oba   success build 1831
2025-08-06 14:36:36 ci/runbot-oba   pending build 1831
2025-08-06 14:36:50 ci/runbot-modified-modules   success build 1828
2025-08-06 14:30:36 ci/runbot-modified-modules   pending build 1828
2025-08-06 14:19:40 ci/runbot-oba   success build 1823
2025-08-06 14:14:21 ci/runbot-modified-modules   success build 1825
2025-08-06 14:08:39 ci/runbot-modified-modules   pending build 1825
2025-08-06 13:57:40 ci/runbot-oba   pending build 1823
2025-08-06 13:57:52 ci/runbot-modified-modules   success build 1818
2025-08-06 13:50:32 ci/runbot-modified-modules   pending build 1818
2025-08-06 13:35:15 ci/runbot-oba   success build 1795
2025-08-06 13:14:25 ci/runbot-oba   pending build 1795
2025-08-06 13:14:37 ci/runbot-modified-modules   success build 1789
2025-08-06 13:09:29 ci/runbot-modified-modules   failure build 1780
2025-08-06 13:09:09 ci/runbot-modified-modules   pending build 1789
2025-08-06 13:04:03 ci/runbot-oba   success build 1766
2025-08-06 13:00:05 ci/runbot-modified-modules   failure build 1780
2025-08-06 12:59:10 ci/runbot-modified-modules   pending build 1780
2025-08-06 12:43:19 ci/runbot-oba   pending build 1766
2025-08-06 12:43:31 ci/runbot-modified-modules   success build 1763
2025-08-06 12:24:10 ci/runbot-modified-modules   pending build 1763
2025-08-05 18:30:51 ci/runbot-oba   success build 1674
2025-08-05 18:17:40 ci/runbot-modified-modules   success build 1669
2025-08-05 18:17:10 ci/runbot-modified-modules   pending build 1686
2025-08-05 18:07:01 ci/runbot-oba   pending build 1674
2025-08-05 18:07:12 ci/runbot-modified-modules   success build 1665
2025-08-05 17:50:01 ci/runbot-modified-modules   pending build 1665
2025-08-05 16:57:48 ci/runbot-oba   success build 1618
2025-08-05 16:51:18 ci/runbot-modified-modules   success build 1620
2025-08-05 16:44:48 ci/runbot-modified-modules   pending build 1620
2025-08-05 16:35:56 ci/runbot-oba   pending build 1618
2025-08-05 16:36:09 ci/runbot-modified-modules   success build 1611
2025-08-05 16:29:58 ci/runbot-modified-modules   pending build 1611
2025-08-05 15:55:24 ci/runbot-oba   success build 1577
2025-08-05 15:31:39 ci/runbot-oba   pending build 1577
2025-08-05 15:31:51 ci/runbot-modified-modules   success build 1575
2025-08-05 15:30:00 ci/runbot-modified-modules   pending build 1575
2025-08-05 14:31:52 ci/runbot-oba   success build 1548
2025-08-05 14:11:39 ci/runbot-oba   pending build 1548
2025-08-05 14:11:52 ci/runbot-modified-modules   success build 1546
2025-08-05 13:54:20 ci/runbot-oba   success build 1545
2025-08-05 13:46:37 ci/runbot-modified-modules   pending build 1546
2025-08-05 13:34:13 ci/runbot-oba   pending build 1545
2025-08-05 13:34:25 ci/runbot-modified-modules   success build 1543
2025-08-05 13:24:35 ci/runbot-modified-modules   pending build 1543
2025-08-04 20:13:56 ci/runbot-oba   failure build 1507
2025-08-04 20:00:35 ci/runbot-oba   pending build 1507
2025-08-04 20:00:47 ci/runbot-modified-modules   success build 1502
2025-08-04 19:37:51 ci/runbot-oba   failure build 1492
2025-08-04 19:31:55 ci/runbot-modified-modules   pending build 1502
2025-08-04 19:21:22 ci/runbot-oba   pending build 1492
2025-08-04 19:21:33 ci/runbot-modified-modules   success build 1482
2025-08-04 19:14:54 ci/runbot-modified-modules   pending build 1482
2025-08-04 18:44:39 ci/runbot-oba   failure build 1462
2025-08-04 18:31:22 ci/runbot-oba   pending build 1462
2025-08-04 18:31:33 ci/runbot-modified-modules   success build 1460
2025-08-04 18:25:23 ci/runbot-modified-modules   pending build 1455
2025-08-04 18:20:35 ci/runbot-oba   success build 1449
2025-08-04 17:57:45 ci/runbot-oba   pending build 1449
2025-08-04 17:57:56 ci/runbot-modified-modules   success build 1445
2025-08-04 17:51:51 ci/runbot-modified-modules   pending build 1445
2025-08-04 17:26:54 ci/runbot-oba   success build 1432
2025-08-04 17:06:26 ci/runbot-oba   pending build 1432
2025-08-04 17:06:41 ci/runbot-modified-modules   success build 1424
2025-08-04 16:51:57 ci/runbot-modified-modules   pending build 1424
2025-08-04 15:18:15 ci/runbot-oba   success build 1392
2025-08-04 14:56:23 ci/runbot-oba   pending build 1392
2025-08-04 14:56:34 ci/runbot-modified-modules   success build 1377
2025-08-04 14:41:28 ci/runbot-modified-modules   pending build 1377
2025-08-04 14:20:30 ci/runbot-oba   success build 1362
2025-08-04 14:19:00 ci/runbot-modified-modules   success build 1366
2025-08-04 14:13:11 ci/runbot-modified-modules   pending build 1366
2025-08-04 13:59:58 ci/runbot-oba   pending build 1362
2025-08-04 14:00:10 ci/runbot-modified-modules   success build 1360
2025-08-04 13:53:56 ci/runbot-modified-modules   pending build 1360
2025-08-04 13:06:09 ci/runbot-oba   success build 1341
2025-08-04 13:05:14 ci/runbot-modified-modules   success build 1344
2025-08-04 13:03:42 ci/runbot-modified-modules   pending build 1344
2025-08-04 12:46:00 ci/runbot-oba   pending build 1341
2025-08-04 12:46:11 ci/runbot-modified-modules   success build 1339
2025-08-04 12:40:06 ci/runbot-modified-modules   pending build 1339
2025-08-02 19:33:21 ci/runbot-oba   success build 1306
2025-08-02 19:20:26 ci/runbot-modified-modules   success build 1307
2025-08-02 19:14:18 ci/runbot-modified-modules   pending build 1307
2025-08-02 19:12:52 ci/runbot-oba   pending build 1306
2025-08-02 19:13:02 ci/runbot-modified-modules   success build 1303
2025-08-02 19:04:50 ci/runbot-modified-modules   pending build 1303
2025-08-02 18:36:28 ci/runbot-oba   success build 1302
2025-08-02 18:16:23 ci/runbot-oba   pending build 1302
2025-08-02 18:16:33 ci/runbot-modified-modules   success build 1299
2025-08-02 18:14:15 ci/runbot-modified-modules   pending build 1299
2025-08-02 18:09:39 ci/runbot-oba   success build 1298
2025-08-02 17:49:37 ci/runbot-oba   pending build 1298
2025-08-02 17:49:47 ci/runbot-modified-modules   success build 1296
2025-08-02 17:44:19 ci/runbot-modified-modules   pending build 1296
2025-08-02 17:00:46 ci/runbot-oba   success build 1295
2025-08-02 16:40:45 ci/runbot-oba   pending build 1295
2025-08-02 16:40:55 ci/runbot-modified-modules   success build 1293
2025-08-02 16:34:33 ci/runbot-modified-modules   pending build 1293
2025-08-01 17:13:42 ci/runbot-oba   success build 1217
2025-08-01 17:10:24 ci/runbot-modified-modules   success build 1220
2025-08-01 17:04:45 ci/runbot-modified-modules   pending build 1220
2025-08-01 16:52:59 ci/runbot-oba   pending build 1217
2025-08-01 16:53:09 ci/runbot-modified-modules   success build 1211
2025-08-01 16:46:41 ci/runbot-modified-modules   pending build 1211
2025-08-01 14:38:22 ci/runbot-oba   success build 1164
2025-08-01 14:16:45 ci/runbot-oba   pending build 1164
2025-08-01 14:16:56 ci/runbot-modified-modules   success build 1158
2025-08-01 14:07:53 ci/runbot-modified-modules   pending build 1158
2025-08-01 14:03:23 Branch naming   failure build
2025-08-01 13:41:44 ci/runbot-oba   success build 1147
2025-08-01 13:20:31 ci/runbot-oba   pending build 1147
2025-08-01 13:20:43 ci/runbot-modified-modules   success build 1124
2025-08-01 13:01:37 ci/runbot-modified-modules   pending build 1124
2025-07-31 20:22:59 ci/runbot-oba   success build 1097
2025-07-31 20:02:35 ci/runbot-oba   pending build 1097
2025-07-31 20:02:46 ci/runbot-modified-modules   success build 1095
2025-07-31 19:52:13 ci/runbot-modified-modules   pending build 1095