Hi,
To restrict user X to only see the "Customer Invoices"
and "Vendor Bills" journals on the Accounting dashboard, you can create a
record rule on the account.journal model. First, create a security
group: go to Settings > Users & Companies > Groups, create a
new group, and give it a name. Under the Users tab, add user X to this
group.
Next, create a record rule: go to Settings > Technical >
Security > Record Rules, click Create, and fill in the details. Set
the Model to Journal, and use a domain filter like:
[('code', 'in', ['INV', 'BILL'])]
Alternatively, you can use the name field:
[('name', 'in', ['Customer Invoices', 'Vendor Bills'])]
Using
the type field (e.g., [('type', 'in', ['sale', 'purchase'])]) is also
possible, but it may include other journals like Expenses. Make sure
Global is unchecked, and assign the rule to the group you created
earlier. Save the rule. After refreshing, the accounting dashboard for
user X will now only display the specified journals.

Hope it helps
Thanks a lot