Bởi: Cybrosys Techno Solutions
Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies | • Invoicing (account) • Discuss (mail) |
Lines of code | 201 |
Technical Name | account_restrict_journal |
License | LGPL-3 |
Website | https://www.cybrosys.com |
Versions | 15.0 16.0 17.0 18.0 |
Go to Settings -> Users -> Restrict Journals You can see a checkbox to enable Restrict Journals, after enabling this a page will be visible.
Go to Settings -> Users You can see new page Restricted Journal, where you can select Restricted Journals.
Log in with the user. We have already restricted access to Customer Invoices for this user, so will get a validation error while invoice creation. Without using any journal entry, we cannot create any records here.
Also have other journal related to the journal type as Sale on Journals, so we can select it from the selection field and create new record.
We can Confirm the order and can do the Register Payment. On the popup window, the Bank Journal is hidden and only see the Cash Journal here.
On the list view we can see the all invoices.A Validation Error will be shown for the records with restricted journals.
Go to Account -> Vendors/Customers -> Payment restricted journals can't access for that user.