access to Invoicing menu

access to Invoicing menu

Postby pjstevns » Thu Oct 15, 2009 1:59 pm

I can't seem to provide access to Invoicing to anyone except the admin user. Through Administration/Security/Grant access to menus I can get the Invoicing menu itself to show up, but none of the submenus are shown

Any clues?

Btw, I'm using bzr revision 10 on openerp-5.0.6

thanks,

Paul
pjstevns
 
Posts: 8
Joined: Thu Oct 15, 2009 12:38 pm

Re: access to Invoicing menu

Postby sraps » Thu Oct 15, 2009 4:02 pm

Hello,
problem confirmed, and is scheduled for correction.

Kaspars
sraps
 
Posts: 403
Joined: Mon May 04, 2009 10:04 pm

Re: access to Invoicing menu

Postby sraps » Fri Oct 16, 2009 11:56 am

Bugfix incorporated in a new release.
sraps
 
Posts: 403
Joined: Mon May 04, 2009 10:04 pm

Re: access to Invoicing menu

Postby pjstevns » Fri Oct 16, 2009 3:02 pm

Hmm, not quite there yet it seems. I can access all menus now, except
Invoicing/Configuration/Methodology.

I've granted access to all groups to that menuitem, but I keep getting:

AccessError

You can not read this document! (inv.method)
pjstevns
 
Posts: 8
Joined: Thu Oct 15, 2009 12:38 pm

Re: access to Invoicing menu

Postby pjstevns » Fri Oct 16, 2009 3:04 pm

Oops, disregard my previous message. Turns out the problem was caused by a methodology I created earlier as the admin user.

I'll investigate a bit more.
pjstevns
 
Posts: 8
Joined: Thu Oct 15, 2009 12:38 pm

Re: access to Invoicing menu

Postby pjstevns » Fri Oct 16, 2009 5:10 pm

Ok, the main problem was missing entries on the access control list.

I have a patch to fix this. It also contains a few minor cleanups in the code.
Attachments
001-fix-access-on-invoicing-module.diff.gz
patch
(1.42 KiB) Downloaded 1116 times
pjstevns
 
Posts: 8
Joined: Thu Oct 15, 2009 12:38 pm

Re: access to Invoicing menu

Postby sraps » Fri Oct 16, 2009 7:13 pm

Thanks,
tried to open gziped file, but it seems it has been corrupted in some way. Please re-post it, or send us directly to e-mail. I will give it a look on Monday.

Kaspars
sraps
 
Posts: 403
Joined: Mon May 04, 2009 10:04 pm

Re: access to Invoicing menu

Postby pjstevns » Mon Oct 19, 2009 11:16 am

How can I send you a message without using phpbb?

I've posted my tree on github:

http://github.com/pjstevns/account_invoicing
pjstevns
 
Posts: 8
Joined: Thu Oct 15, 2009 12:38 pm

Re: access to Invoicing menu

Postby sraps » Wed Oct 21, 2009 10:54 am

Hi,
you can contact me on e-mail about problems specific to you.

We will prepare ACLs also for other invoicing modules and then add them to distribution. Now it will be a bit misleading to have ACL only for one module.

Kaspars
sraps
 
Posts: 403
Joined: Mon May 04, 2009 10:04 pm

Re: access to Invoicing menu

Postby pjstevns » Fri Dec 18, 2009 1:40 pm

Kaspars,

I've added access controls to account_invoicing_template which was still missing them.

It's just a basic set giving normal users who are member of Finance/Invoicing access to all the menu-items. Perhaps a more finegrained set would be preferable, but this should get people going.

as before:

http://github.com/pjstevns/account_invoicing

Paul.
pjstevns
 
Posts: 8
Joined: Thu Oct 15, 2009 12:38 pm


Return to Invoicing

cron
Copyright © 2001 Alistek Ltd., ALL RIGHTS RESERVED