summaryrefslogtreecommitdiff
path: root/addons/procurement_jit
diff options
context:
space:
mode:
authorRomain Derie <rde@odoo.com>2018-10-12 12:51:32 +0000
committerRomain Derie <rde@odoo.com>2018-10-12 12:57:03 +0000
commit53f72dcab154376190d71cd21f3d5d75e5960776 (patch)
tree570a24ee77d4dde842bdb71319b6fe4c67b0b8ee /addons/procurement_jit
parent9649920987115f9f71dc871b099cd571add6507a (diff)
[FIX] website_sale: /shop 500 error if category is not model converter
The /shop route can take a `category` argument (a model converter). `/shop/category/<model("product.public.category"[..]):category>` But if that `category` argument is passed through URL query string (?category=9), it will raise an error when doing `category.can_access_from_current_website()` as it is an integer since it did not went through the model converter Note: Among probably others, that type of route is used when changing product order on shop Closes #27490, closes #27724
Diffstat (limited to 'addons/procurement_jit')
0 files changed, 0 insertions, 0 deletions