OCA / margin-analysis

Odoo Financial Controlling (margin, costs, ...)
https://odoo-community.org/project/9
GNU Affero General Public License v3.0
71 stars 161 forks source link

[16.0] sale_margin_security: error creating invoices #194

Closed dreispt closed 8 months ago

dreispt commented 8 months ago

Module

sale_margin_security

Describe the bug

A user without the "Show Sale Margin" access group can't create invoices.

image

To Reproduce

Create an Invoice from a Sale Order, found in 16.0.

Expected behavior A user without the "Show Sale Margin" access group can't see the margin fields, but should still be able to create Invoices as usual.