OCA / operating-unit

Manage Operating Units in Odoo
GNU Affero General Public License v3.0
72 stars 237 forks source link

[15.0][FIX] sale_operating_unit: permission update OU in invoices #601

Closed Saran440 closed 1 year ago

Saran440 commented 1 year ago

Step to error

  1. Create user permission 'User: Own Documents Only'
  2. login user sale and create sale order
  3. when sale create invoice and select not Regular invoice (after create product already), it will error permission Selection_012

Selection_011

Sale don't allow to write field in invoice. I add sudo() for write OU in invoice

AaronHForgeFlow commented 1 year ago

fasttrack

/ocabot merge patch

OCA-git-bot commented 1 year ago

This PR looks fantastic, let's merge it! Prepared branch 15.0-ocabot-merge-pr-601-by-AaronHForgeFlow-bump-patch, awaiting test results.

OCA-git-bot commented 1 year ago

Congratulations, your PR was merged at b4b7a7b0185e361b9f8acd68e82d844b74daedba. Thanks a lot for contributing to OCA. ❤️