Denis Ledoux
39a8b39a28
[FIX] product: variant name_get for specific providers
...
This is related to revision
b65c67a259
The field `seller_ids` is a field which is set
on the `product.template`, and this is why
the condition `(x.product_id == product)` is being applied
in the list comprehension searching the current seller
of the product sellers.
The `variant` variable is a string containing
the attribute name of a variant.
Therefore, if a product tempalte has only one variant, without
any attribute (e.g. when you don't use variants),
`variant` will be empty, and therefore the condition
`if variant:` will be `False`, and therefore it won't search
in the product sellers with a specific `product.product`, while it
should, as, even if there are no attributes, there could be a
seller line with this specific `product.product`.
Besides, as we are in the `name_get` of `product.product`, and
not the `name_get` of `product.template`, we are always in the case
of a `variant`, this test is therefore pointless.
opw-682390
2016-10-24 12:04:19 +02:00
..
2016-10-24 09:01:21 +02:00
2016-08-19 12:07:14 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-10-16 00:34:35 +02:00
2016-10-19 14:09:22 +02:00
2016-10-02 00:35:04 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-09-08 10:46:46 +02:00
2016-10-23 00:35:59 +02:00
2016-10-16 00:34:35 +02:00
2016-09-09 10:52:34 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-09-01 15:46:03 +02:00
2016-10-16 00:34:35 +02:00
2016-09-30 15:37:25 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-10-02 00:35:04 +02:00
2016-10-16 00:34:35 +02:00
2016-10-10 14:57:18 +02:00
2016-10-09 00:34:56 +02:00
2016-10-23 00:35:59 +02:00
2016-09-04 00:36:28 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-10-17 13:01:20 +02:00
2016-10-23 00:35:59 +02:00
2016-10-16 00:34:35 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-09-11 00:35:15 +02:00
2016-10-23 00:35:59 +02:00
2016-10-12 15:27:07 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-10-17 13:01:20 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-10-09 00:34:56 +02:00
2016-09-09 10:52:34 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-09-01 15:46:03 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-10-16 00:34:35 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-10-10 11:22:55 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-10-03 10:36:56 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-10-17 13:01:20 +02:00
2016-10-16 00:34:35 +02:00
2016-10-23 00:35:59 +02:00
2016-09-09 10:52:34 +02:00
2016-08-21 00:40:51 +02:00
2016-10-03 11:06:37 +02:00
2016-10-03 11:06:37 +02:00
2016-08-03 10:57:54 +02:00
2016-10-17 13:01:20 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-10-16 00:34:35 +02:00
2016-10-03 11:06:37 +02:00
2016-10-03 11:06:37 +02:00
2016-10-03 11:06:37 +02:00
2016-10-03 11:06:37 +02:00
2016-09-25 00:40:39 +02:00
2016-08-19 12:07:14 +02:00
2016-09-26 13:32:09 +02:00
2016-10-03 11:06:37 +02:00
2016-10-03 11:06:37 +02:00
2016-08-21 00:40:51 +02:00
2016-08-01 00:33:47 +02:00
2016-09-25 00:40:39 +02:00
2016-10-03 11:06:37 +02:00
2016-10-09 00:34:56 +02:00
2016-09-22 19:50:53 +02:00
2016-07-27 19:41:50 +02:00
2016-10-03 11:06:37 +02:00
2016-08-21 00:40:51 +02:00
2016-08-21 00:40:51 +02:00
2016-10-03 11:06:37 +02:00
2016-10-03 11:06:37 +02:00
2016-10-20 15:36:36 +02:00
2016-10-23 00:35:59 +02:00
2016-10-03 11:06:37 +02:00
2016-09-20 17:46:13 +02:00
2016-09-25 00:40:39 +02:00
2016-10-23 00:35:59 +02:00
2016-08-29 11:14:01 +02:00
2016-10-03 11:06:37 +02:00
2016-08-21 00:40:51 +02:00
2016-08-03 10:57:54 +02:00
2016-08-29 11:14:01 +02:00
2016-08-19 12:07:14 +02:00
2016-09-04 00:36:28 +02:00
2016-08-21 00:40:51 +02:00
2016-09-04 00:36:28 +02:00
2016-08-21 00:40:51 +02:00
2016-09-25 00:40:39 +02:00
2016-09-25 00:40:39 +02:00
2016-08-01 00:33:47 +02:00
2016-09-25 00:40:39 +02:00
2016-08-21 00:40:51 +02:00
2016-09-25 00:40:39 +02:00
2016-09-25 00:40:39 +02:00
2016-08-21 00:40:51 +02:00
2016-09-25 00:40:39 +02:00
2016-10-23 00:35:59 +02:00
2016-10-17 13:01:20 +02:00
2016-10-23 00:35:59 +02:00
2016-09-09 10:52:34 +02:00
2016-10-23 00:35:59 +02:00
2016-10-10 11:22:55 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-09-09 10:52:34 +02:00
2016-10-17 13:01:20 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-09-09 10:52:34 +02:00
2016-10-09 00:34:56 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-10-02 00:35:04 +02:00
2016-10-23 00:35:59 +02:00
2016-10-03 10:36:56 +02:00
2016-10-16 00:34:35 +02:00
2016-10-23 00:35:59 +02:00
2016-10-02 00:35:04 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-10-16 00:34:35 +02:00
2016-10-23 00:35:59 +02:00
2016-10-16 00:34:35 +02:00
2016-10-16 00:34:35 +02:00
2016-10-16 00:34:35 +02:00
2016-09-25 00:40:39 +02:00
2016-10-23 00:35:59 +02:00
2016-10-16 00:34:35 +02:00
2016-10-23 00:35:59 +02:00
2016-10-24 12:04:19 +02:00
2016-10-23 00:35:59 +02:00
2016-10-17 13:01:20 +02:00
2016-09-09 10:52:34 +02:00
2016-10-23 00:35:59 +02:00
2016-09-04 00:36:28 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-09-09 10:52:34 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-10-16 00:34:35 +02:00
2016-10-23 00:35:59 +02:00
2016-10-09 00:34:56 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-10-10 11:22:55 +02:00
2016-10-16 00:34:35 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-10-09 00:34:56 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-09-09 10:52:34 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-10-17 13:01:20 +02:00
2016-10-23 00:35:59 +02:00
2016-10-03 10:36:56 +02:00
2016-10-23 00:35:59 +02:00
2016-10-17 13:01:20 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-10-16 00:34:35 +02:00
2016-08-29 11:14:01 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-10-17 13:01:20 +02:00
2016-10-19 18:31:37 +02:00
2016-10-23 00:35:59 +02:00
2016-10-09 00:34:56 +02:00
2016-10-09 00:34:56 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-10-16 00:34:35 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-10-17 13:01:20 +02:00
2016-10-16 00:34:35 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-10-16 00:34:35 +02:00
2016-09-18 00:34:39 +02:00
2016-10-23 00:35:59 +02:00
2016-10-16 00:34:35 +02:00
2016-10-16 00:34:35 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-10-17 13:01:20 +02:00
2016-09-22 12:46:30 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-10-13 16:30:03 +02:00
2016-10-23 00:35:59 +02:00
2016-10-16 00:34:35 +02:00
2016-10-23 00:35:59 +02:00
2016-10-23 00:35:59 +02:00
2016-10-16 00:34:35 +02:00
2016-10-23 00:35:59 +02:00
2016-10-16 00:34:35 +02:00
2016-10-23 00:35:59 +02:00
2016-10-17 13:01:20 +02:00