On Monday, December 8, 2014 12:50:05 AM UTC+1, Cédric Krier wrote:
>
> On 07 Dec 05:32, Simon Klemenc wrote: 
> > hi there, 
> > 
> > Is there a way in trytond to disable the ability to create a new record? 
>
> Yes if you remove to the user the access right to "create" [1] 
>
>  
perfect, thanks.. i think i tried that with 3.2 and it complained about 
missing rights when creating a invoice from a sale then

> for example i want to allow the creation of invoices from sales but not 
> > directly from the invoice-list... 
> > can i disable the button completely (with a domain?) or only raise an 
> error 
> > on validation? 
> > or, has this changed with the fact that access rights are checked only 
> on 
> > rpc-calls in 3.4? 
>
> It don't think it is realy a good idea. Maybe what you want is something 
> similar to what we implemented on shipment which is that you can not 
> ship out/in products if it doesn't have an origin set. 
> And indeed it is a warning because you can not know that you will never 
> have to create invoice with origin. For example, to correct a mistake or 
> make a credit note etc. 
>
> [1] 
>
> http://doc.tryton.org/3.4/trytond/doc/topics/access_rights.html#topics-access-rights
>  
>
>
true that, but we'd like to separate in 2 groups here, those messing things 
up and those who correct things ;)
thanks for the help!

> -- 
> Cédric Krier - B2CK SPRL 
> Email/Jabber: [email protected] <javascript:> 
> Tel: +32 472 54 46 59 
> Website: http://www.b2ck.com/ 
>

Reply via email to