Saturday, May 3, 2025
2 changes · 18.0
Miscellaneous changes
Steps to reproduce the bug: - install Inventory app - remove any access rights from the logged in user to the inventory app - copy any product Traceback is thrown that the user doesn't have any access on the field create_repair on the product.template model. The user still can create a product normally, but he can't copy it anymore. The field has group scope to stock.group_stock_user so the user can't set the field on creating a product, but with default copy=True on the field, the copy op
Original PR description
Steps to reproduce the bug: - install Inventory app - remove any access rights from the logged in user to the inventory app - copy any product Traceback is thrown that the user doesn't have any access on the field create_repair on the product.template model. The user still can create a product normally, but he can't copy it anymore. The field has group scope to stock.group_stock_user so the user can't set the field on creating a product, but with default copy=True on the field, the copy operation fails. opw-4563733 Description of the issue/feature this PR addresses: Current behavior before PR: Desired behavior after PR is merged: --- I confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr Forward-Port-Of: odoo/odoo#208089 Forward-Port-Of: odoo/odoo#200685
Steps to reproduce the bug: - install sales - install subscription - remove any access right to sale from the logged in user - copy a product Traceback is thrown because the product_subscription_pricings have a problem in the access rules as they require sales app access. The user with no sales app can still create a product but not copy it. This is a bug because the user when creating can't set the pricings, so he can create without them but even without them being set he can't copy.
Original PR description
Steps to reproduce the bug: - install sales - install subscription - remove any access right to sale from the logged in user - copy a product Traceback is thrown because the product_subscription_pricings have a problem in the access rules as they require sales app access. The user with no sales app can still create a product but not copy it. This is a bug because the user when creating can't set the pricings, so he can create without them but even without them being set he can't copy. opw-4563733 Forward-Port-Of: odoo/enterprise#84502 Forward-Port-Of: odoo/enterprise#80938