Comments (1)
I want to clarify that this only applies to Odoo 16+ because it was in this version that Odoo added the credit limit feature in odoo/odoo#83205. In previous versions there might still be some inconsistency, but we didn't check.
Views should be managed with standard permission: billing, full accounting and accounting manager
I agree.
Indeed this permission level seems to be completely useless now:
credit-control/account_financial_risk/security/security.xml
Lines 7 to 11 in 2836567
By removing it, we'd be able to undo the inconsistency. This way, also, installing other modules that used that core Odoo feature would be able to follow core permissions model without having to deal with the fact that there's an OCA module that introduces a separate permissions model.
Approve or not a sale or invoice which is blocked by exceded risk should be manager with a special security group as is in this moment with Financial Risk Manager
This also seems a good solution to me. It's about this permission, and it is still useful:
credit-control/account_financial_risk/security/security.xml
Lines 12 to 22 in 2836567
These users will be able to:
- Set up specific limits (not warnings, like upstream Odoo does (although they call them limits)).
- Skip those limits in specific occasions.
However, be warned that any other billing/full-accounting user would still be able to edit the global limit, just like with upstream Odoo. This is a bit inconsistent too, but at least it seems the lesser evil, given the current situation.
The module account_financial_risk
would be adding that group and at the same time giving it some functionality, so it makes sense in that regard too.
Thanks for the analyisis and detailed explanation @rafaelbn.
from credit-control.
Related Issues (20)
- account_invoice_overdue_reminder - requires admin rights to send mail HOT 5
- Migration to version 16.0 HOT 2
- [15.0] Over-risk warning requires that user belongs to group: Administration/Access Rights HOT 1
- [15.0] account_financial_risk - Error in auto_post scheduled action: Expected singleton: res.company(1,2,3,4) HOT 3
- [sale_financial_risk] Sales orders not confirmed, but nobody is notified HOT 1
- Module account_invoice_overdue_reminder V16 not translatable? HOT 3
- [14.0]account_invoice_overdue_reminder : When i remove invoice from list in wizard, the residual become 0 HOT 3
- sale_financial_risk - incorrect currency taken when computing amount HOT 1
- account_financial_risk, +related modules - Make stored all fields related to risk information HOT 1
- [16.0]account_invoice_overdue_reminder. Incorrect overdue info on formview customer invoice HOT 1
- [16.0]account_invoice_overdue_reminder: Partialy paid invoices not reminded HOT 3
- [16.0] account_invoice_overdue_reminder HOT 1
- Migration to version 17.0 HOT 5
- [12.0]Return to the letter channel while an email exists in the invoiced contact HOT 1
- [15.0] partner_risk_insurance: Storing computed values of account.move HOT 2
- [14.0] account_invoice_overdue_reminder : Billing Manager can't edit the sent overdeue remider email
- Missing a required positional argument res_ids
- account_invoice_overdue_reminder: set an action type by count
- account_invoice_overdue_reminder : modifiing "invoicing contact" resets to zero the Total Residual in (currency) (BUG) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from credit-control.