prye-odoo
c4dc4735c4
[FIX] delivery: prevent trace back while partner has no zip
...
In delivery address, `country name` and in shipping method, `country name`
will be same and no zip in delivery address. While creating new sale order
along with product and clicking on "Add shipping", error will be generated.
Steps to Reproduce
-Install `sale_management' and 'delivery' modules
-Go to the settings and enable the 'Customer Address'.
-Go to the settings and enable 'Shipping Methods' and configure it.
-Select a shipping method and go to the 'Destination Availability' tab and
set to the 'Countries' and set to 'Zip Prefixes'.
-Create a new customer and add the delivery address of the customer in
res.partner.
-The delivery address and shipping method of the 'Countries" or 'Country'
name should be the same.
-Set the 'Zip Prefixes'
-Set the delivery address of zip code null.
-Create a new quotation and add to the customer and delivery address
-Add to the product in the sale order line.
-Click on the 'Add Shipping' or 'Update Shipping Cost' button.
A trace back will be generated.
Applying this commit will resolve this issue.
sentry-4147077852
closes odoo/odoo#120968
X-original-commit: 60d5c7d5668da542e251d7d6fb8774043cfddea8
Signed-off-by: Tiffany Chang <tic@odoo.com >
2023-05-10 20:15:38 +02:00
..
2023-05-10 20:15:30 +02:00
2023-04-06 18:18:06 +02:00
2023-04-19 21:58:27 +02:00
2023-04-27 13:36:19 +02:00
2023-04-17 16:34:44 +02:00
2023-05-04 12:15:18 +02:00
2023-04-19 21:58:27 +02:00
2023-05-03 12:39:08 +02:00
2023-03-31 11:58:47 +02:00
2023-03-20 16:51:30 +01:00
2023-03-24 12:50:13 +01:00
2023-04-19 21:58:27 +02:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-05-08 23:39:42 +02:00
2023-04-25 20:06:43 +02:00
2023-04-24 10:20:12 +02:00
2023-04-04 13:35:18 +02:00
2023-04-03 17:07:24 +02:00
2023-03-07 11:11:51 +01:00
2023-04-20 11:57:29 +02:00
2023-05-03 12:39:40 +02:00
2023-05-03 12:39:40 +02:00
2023-03-20 16:51:30 +01:00
2023-03-30 16:22:51 +02:00
2023-04-20 19:30:37 +02:00
2023-03-20 16:51:30 +01:00
2023-05-10 13:21:44 +02:00
2023-03-20 16:51:30 +01:00
2023-03-14 15:52:10 +01:00
2023-05-03 07:20:55 +02:00
2023-03-20 16:51:30 +01:00
2023-04-25 14:06:57 +02:00
2023-04-20 11:57:29 +02:00
2023-05-10 02:00:45 +02:00
2023-05-10 19:16:52 +02:00
2023-03-20 16:51:30 +01:00
2023-04-03 17:07:24 +02:00
2023-05-10 10:18:46 +02:00
2023-05-05 12:43:58 +02:00
2023-05-05 12:43:58 +02:00
2023-04-21 02:21:53 +02:00
2023-04-18 08:26:23 +02:00
2023-05-05 12:43:59 +02:00
2023-04-25 15:20:43 +02:00
2023-05-10 20:15:38 +02:00
2023-03-23 09:06:52 +01:00
2023-03-14 12:23:45 +01:00
2023-04-19 21:58:27 +02:00
2023-05-05 17:06:23 +02:00
2023-05-05 17:06:23 +02:00
2023-04-27 08:09:44 +02:00
2023-05-05 17:06:23 +02:00
2023-04-19 21:58:27 +02:00
2023-04-28 16:04:27 +02:00
2023-05-09 11:57:44 +02:00
2023-04-24 10:20:12 +02:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-04-28 11:18:26 +02:00
2023-04-24 18:25:53 +02:00
2023-05-09 06:07:53 +02:00
2023-05-05 14:55:00 +02:00
2023-05-03 17:24:58 +02:00
2023-05-08 22:39:52 +02:00
2023-04-19 21:58:27 +02:00
2023-03-20 16:51:30 +01:00
2023-05-05 13:52:22 +02:00
2023-03-22 00:53:57 +01:00
2023-03-20 16:51:30 +01:00
2023-04-19 11:01:13 +02:00
2023-05-09 18:27:13 +02:00
2023-05-09 14:29:06 +02:00
2023-05-09 18:27:13 +02:00
2023-04-25 18:25:50 +02:00
2023-05-04 19:09:49 +02:00
2023-05-09 00:41:05 +02:00
2023-04-19 21:58:27 +02:00
2023-05-09 09:54:02 +02:00
2023-04-13 15:25:46 +02:00
2023-05-10 13:21:07 +02:00
2023-04-14 10:45:09 +02:00
2023-03-20 16:51:30 +01:00
2023-03-27 12:47:20 +02:00
2023-04-13 16:40:38 +02:00
2023-05-10 02:00:45 +02:00
2023-05-10 02:00:45 +02:00
2023-04-13 16:39:48 +02:00
2023-05-04 12:15:18 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 13:21:21 +02:00
2023-05-10 19:16:47 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 18:16:24 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 18:16:14 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 13:21:32 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 18:16:08 +02:00
2023-05-10 18:16:08 +02:00
2023-03-30 15:09:36 +02:00
2023-03-17 23:24:11 +01:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 18:16:21 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 20:15:02 +02:00
2023-03-30 16:23:10 +02:00
2023-05-10 20:14:51 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-04-13 09:31:31 +02:00
2023-05-08 15:18:30 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 13:21:34 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 20:15:04 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 19:16:49 +02:00
2023-05-10 13:21:16 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 20:15:07 +02:00
2023-05-10 20:15:29 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 18:16:16 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 20:14:59 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 20:15:23 +02:00
2023-03-24 12:50:13 +01:00
2023-05-02 14:47:10 +02:00
2023-03-31 15:52:18 +02:00
2023-05-10 20:14:56 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 13:21:13 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 18:16:06 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 13:21:24 +02:00
2023-05-10 20:15:12 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 13:21:19 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 20:14:48 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 18:16:19 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 13:21:29 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 13:21:42 +02:00
2023-05-10 20:15:14 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 13:21:39 +02:00
2023-05-10 20:15:17 +02:00
2023-05-10 04:14:50 +02:00
2023-05-10 20:15:20 +02:00
2023-04-19 21:58:27 +02:00
2023-05-02 20:01:41 +02:00
2023-03-27 20:06:54 +02:00
2023-04-27 16:10:30 +02:00
2023-05-10 16:36:45 +02:00
2023-04-21 02:21:53 +02:00
2023-04-25 15:20:43 +02:00
2023-03-20 07:58:46 +01:00
2023-04-28 16:04:27 +02:00
2023-05-10 13:21:07 +02:00
2023-04-19 21:58:27 +02:00
2023-03-20 16:51:30 +01:00
2023-03-20 16:51:30 +01:00
2023-04-19 21:58:27 +02:00
2023-05-04 19:09:49 +02:00
2023-05-05 17:06:23 +02:00
2023-03-24 12:50:13 +01:00
2023-03-20 16:51:30 +01:00
2023-03-14 15:52:10 +01:00
2023-03-14 15:52:10 +01:00
2023-05-10 19:17:15 +02:00
2023-05-10 15:19:32 +02:00
2023-03-14 15:52:10 +01:00
2023-05-08 23:39:47 +02:00
2023-05-10 15:19:32 +02:00
2023-05-10 15:19:32 +02:00
2023-03-09 10:51:43 +01:00
2023-05-05 13:52:22 +02:00
2023-04-19 21:58:27 +02:00
2023-04-17 15:19:06 +02:00
2023-05-04 16:53:57 +02:00
2023-05-03 22:09:42 +02:00
2023-05-03 13:56:52 +02:00
2023-04-03 17:07:24 +02:00
2023-03-20 16:51:30 +01:00
2023-04-03 17:07:24 +02:00
2023-05-05 17:06:13 +02:00
2023-03-16 20:37:59 +01:00
2023-03-20 16:51:30 +01:00
2023-03-07 16:56:40 +01:00
2023-03-20 16:51:30 +01:00
2023-03-09 10:51:29 +01:00
2023-05-03 11:16:43 +02:00
2023-05-05 17:06:23 +02:00
2023-05-10 20:15:26 +02:00
2023-05-10 13:21:07 +02:00
2023-04-25 14:07:09 +02:00
2023-05-05 17:06:38 +02:00
2023-05-05 17:06:38 +02:00
2023-05-05 17:06:38 +02:00
2023-05-05 17:06:38 +02:00
2023-05-05 17:06:38 +02:00
2023-05-09 11:57:23 +02:00
2023-05-05 17:06:38 +02:00
2023-05-10 20:15:26 +02:00
2023-05-05 17:06:38 +02:00
2023-05-05 17:06:38 +02:00
2023-05-10 16:36:49 +02:00
2023-05-05 17:06:38 +02:00
2023-05-08 15:18:30 +02:00
2023-04-13 04:08:08 +02:00
2023-05-05 17:06:38 +02:00
2023-05-05 17:06:38 +02:00
2023-04-21 02:21:53 +02:00
2023-05-09 21:04:03 +02:00
2023-03-20 16:51:30 +01:00
2023-05-10 04:14:55 +02:00
2023-04-19 21:58:27 +02:00
2023-05-10 19:17:07 +02:00
2023-04-11 09:21:00 +02:00
2023-04-06 17:20:44 +02:00
2023-04-18 08:26:23 +02:00
2023-04-19 21:58:27 +02:00
2023-04-06 17:20:44 +02:00
2023-04-19 21:58:27 +02:00
2023-04-13 05:07:55 +02:00
2023-04-19 21:58:27 +02:00
2023-05-09 21:04:01 +02:00
2023-05-08 22:40:00 +02:00
2023-05-09 21:04:01 +02:00
2023-05-09 21:04:01 +02:00
2023-05-09 19:26:48 +02:00
2023-05-04 19:10:20 +02:00
2023-04-18 09:24:33 +02:00
2023-04-17 11:47:01 +02:00
2023-05-09 15:40:56 +02:00
2023-03-30 10:53:48 +02:00
2023-04-28 16:04:27 +02:00
2023-05-04 12:15:15 +02:00
2023-05-09 00:41:08 +02:00
2023-05-02 14:47:23 +02:00
2023-04-19 21:58:27 +02:00
2023-05-02 19:07:06 +02:00
2023-04-24 08:38:11 +02:00
2023-04-24 08:38:11 +02:00
2023-04-25 09:38:12 +02:00
2023-04-19 21:58:27 +02:00
2023-04-19 21:58:27 +02:00
2023-04-22 00:51:59 +02:00
2023-04-25 09:38:10 +02:00
2023-05-09 21:04:03 +02:00
2023-05-05 13:52:22 +02:00
2023-04-19 21:58:27 +02:00
2023-05-05 12:43:59 +02:00
2023-04-27 11:21:09 +02:00
2023-04-26 13:53:54 +02:00
2023-04-27 00:52:20 +02:00
2023-05-05 17:06:45 +02:00
2023-05-03 15:04:53 +02:00
2023-05-08 08:04:43 +02:00
2023-05-02 19:07:09 +02:00
2023-03-30 15:09:33 +02:00
2023-04-20 22:09:57 +02:00
2023-03-30 15:09:33 +02:00
2023-03-30 15:09:33 +02:00
2023-03-30 15:09:33 +02:00
2023-03-30 15:09:33 +02:00
2023-03-30 15:09:33 +02:00
2023-05-09 00:40:59 +02:00
2023-03-30 15:09:33 +02:00
2023-05-03 13:56:54 +02:00
2023-03-30 15:09:33 +02:00
2023-05-10 16:36:59 +02:00
2023-05-10 15:19:32 +02:00
2023-04-19 21:58:27 +02:00
2023-05-09 21:04:02 +02:00
2023-04-26 17:06:13 +02:00
2023-05-09 21:04:03 +02:00
2023-05-10 02:00:43 +02:00
2023-03-24 12:50:13 +01:00
2023-04-14 17:38:04 +02:00
2023-04-21 02:21:53 +02:00
2023-04-14 17:38:04 +02:00
2023-05-10 13:21:07 +02:00
2023-05-10 13:21:07 +02:00
2023-04-04 20:08:37 +02:00
2023-04-13 17:57:56 +02:00
2023-04-24 08:38:11 +02:00
2023-05-04 20:33:55 +02:00
2023-04-03 17:07:24 +02:00
2023-04-03 17:07:24 +02:00
2023-04-17 09:28:03 +02:00
2023-03-08 17:33:37 +01:00
2023-04-25 15:20:43 +02:00
2023-05-10 19:17:17 +02:00
2023-05-09 19:26:45 +02:00
2023-04-27 16:10:30 +02:00
2023-05-09 19:26:45 +02:00
2023-05-10 16:37:05 +02:00
2023-05-09 11:57:31 +02:00
2023-04-24 18:25:53 +02:00
2023-05-04 20:33:55 +02:00
2023-04-20 13:03:32 +02:00
2023-04-21 02:21:53 +02:00
2023-04-26 17:06:09 +02:00
2023-04-19 21:58:27 +02:00
2023-05-05 13:52:22 +02:00
2023-04-18 11:33:46 +02:00
2023-04-03 17:07:24 +02:00
2023-05-09 15:40:59 +02:00
2023-04-03 17:07:24 +02:00
2023-04-20 11:57:29 +02:00
2023-05-05 17:06:23 +02:00
2023-04-03 17:07:24 +02:00
2023-04-03 17:07:24 +02:00
2023-05-05 17:06:23 +02:00
2023-05-05 17:06:23 +02:00
2023-04-05 12:50:43 +02:00
2023-04-19 21:58:27 +02:00
2023-04-06 17:20:44 +02:00
2023-04-20 11:57:29 +02:00
2023-05-04 20:33:55 +02:00
2023-04-18 11:33:46 +02:00
2023-04-20 11:57:29 +02:00
2023-05-10 02:00:45 +02:00
2023-04-19 21:58:27 +02:00
2023-04-17 08:24:47 +02:00
2023-05-04 20:33:55 +02:00
2023-04-19 21:58:27 +02:00
2023-03-20 16:51:30 +01:00
2023-04-18 15:38:54 +02:00
2023-05-03 13:57:27 +02:00
2023-05-09 00:41:02 +02:00
2023-03-15 13:19:45 +01:00
2023-04-24 08:38:11 +02:00
2023-04-05 12:50:43 +02:00
2023-05-05 11:37:31 +02:00
2023-05-09 02:49:51 +02:00
2023-04-05 12:50:43 +02:00
2023-03-27 20:06:54 +02:00
2023-04-24 08:38:11 +02:00
2023-05-04 19:09:49 +02:00
2023-05-02 14:47:34 +02:00
2023-04-24 08:38:11 +02:00
2023-05-04 20:33:55 +02:00
2023-05-10 13:21:07 +02:00
2023-05-04 19:09:49 +02:00
2023-05-04 19:09:49 +02:00
2023-04-20 11:57:29 +02:00