From fd81920f1fc7977f05c62ea4639582be48397d0c Mon Sep 17 00:00:00 2001 From: Goffin Simon Date: Tue, 12 Nov 2019 07:49:44 +0000 Subject: [PATCH] [FIX] stock_dropshipping: Creating a quotation without purchase permission Fine tuning of this commit: f93fcaffb5287bc6ff52e33e3cc9edecb50058c4 Steps to reproduce the bug: - Open runbot v11 - Restrict Demo's access to Sales Manager for sales and employee for Employee - Try to create a new quotation Bug: - You got Odoo server Error Sorry, you are not allowed to access this document. Only users with the following access level are currently allowed to do that: - Inventory/User - Accounting & Finance/Billing - Purchases/User - Purchases/Manager - Other Extra Rights/Portal (Document model: purchase.order.line) - (Operation: read, User: 5) opw:2120692 closes odoo/odoo#40153 X-original-commit: 1b14af28fec3cae0efc4438e77e6e0925e487b89 Signed-off-by: Simon Goffin (sig) --- addons/stock_dropshipping/views/sale_order_views.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/stock_dropshipping/views/sale_order_views.xml b/addons/stock_dropshipping/views/sale_order_views.xml index b06b48ccab9..1cb225c3a30 100644 --- a/addons/stock_dropshipping/views/sale_order_views.xml +++ b/addons/stock_dropshipping/views/sale_order_views.xml @@ -5,6 +5,7 @@ sale.order.form.sale.dropshipping sale.order +