OCA / l10n-argentina

Odoo modules for Argentina
GNU Affero General Public License v3.0
22 stars 51 forks source link

Make l10n_ar_account_check.view_partner_check_form inherit from account module #42

Closed gabrielo77 closed 8 years ago

gabrielo77 commented 8 years ago

Hi,

I've been facing an issue with this view:

When an user that hasn't any of the Account groups assign to him/her wants to access to the partner form view, the view fails to render because it can't find the field 'acc_number' in the parent view. This happens because non-accountant users don't have read perms on the account related views.

So, since 'acc_number' field is added in the account module, it made sense to me to change the inherit_id of l10n_ar_account_check.view_partner_check_form view to that in the account module.

Hope this helps!

Thank you for your effort and time!

sebastiken commented 8 years ago

Thanks @gabrielo77 it was an old bug. Thanks for your fix!! Cheers.