diff options
| author | Olivier Dony <odo@openerp.com> | 2017-08-23 02:58:48 +0200 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2017-08-23 03:03:49 +0200 |
| commit | dbdf994df8e0a618c78de2bb0d383a23f401e67e (patch) | |
| tree | 37025cc4adca5544e878e7513e8bc637f9ce3cd3 /odoo/models.py | |
| parent | 2850612d37cdb59c056554ba3bc3e5973c68070e (diff) | |
[FIX] account: do not show payment data to non-billing users
Users will generally not have the right to read Journal Items unless
they are members of one of the Accounting/Invoicing groups.
Removing the payment-related fields & widgets from the view should let
those users view relevant customer invoices (e.g. for Salesmen) without
getting an AccessError, due to the underlying access to Journal Items.
Diffstat (limited to 'odoo/models.py')
0 files changed, 0 insertions, 0 deletions
