<html><head></head><body>Would you mind open sourcing your extension? I would love to see it and eventually contribute, I can see good potential in my team for this.<br>
<br>
I'm thinking how this could be hardened to make it a not just Javascript solution, so that if the js is manipulated there is still a php backup implementation which prevents changes. Triggers probably... Before save... <br>
<br>
<br><br><div class="gmail_quote">On April 17, 2016 2:00:16 AM GMT+08:00, Ranieri <rslemer@gmail.com> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div dir="ltr"><div>The code does the following</div><div><br /></div><div>If the opportunity is closed it inhibits change of the data, allowing only the administrator.</div><div><br /></div></div><div class="gmail_extra"><br /><div class="gmail_quote">2016-04-16 14:18 GMT-03:00 Kiran Raju <span dir="ltr"><<a href="mailto:kiranraju.jakka@gmail.com" target="_blank">kiranraju.jakka@gmail.com</a>></span>:<br /><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">is that a module like based on status record privilege?<div><br /></div><div>i checked with <b>oppurtunities</b> module but it is not having by default!</div><div><br /></div><div>My question is concern with your example what you stated earlier.(<b>oppurtunities</b>)</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br /><div class="gmail_quote">On 16 April 2016 at 22:34, Ranieri <span dir="ltr"><<a href="mailto:rslemer@gmail.com"
target="_blank">rslemer@gmail.com</a>></span> wrote:<br /><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I'm happy to help</div><div><br /></div><div>sent to your email</div></div><div class="gmail_extra"><br /><div class="gmail_quote"><div><div>2016-04-16 13:56 GMT-03:00 Kiran Raju <span dir="ltr"><<a href="mailto:kiranraju.jakka@gmail.com" target="_blank">kiranraju.jakka@gmail.com</a>></span>:<br /></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">I was so glad to here this type of solution, even it is hard code process.. right now no problem for me, later i will update with generic.... <b>A big thanks to </b><span style="font-size:12.8px;font-weight:bold;white-space:nowrap">Ranieri.<br /></span><br /><div>Let me code in that way,</div><div><br /></div><div>Thanks & Best
Regards</div></div><div><div><div class="gmail_extra"><br /><div class="gmail_quote">On 16 April 2016 at 21:17, Ranieri <span dir="ltr"><<a href="mailto:rslemer@gmail.com" target="_blank">rslemer@gmail.com</a>></span> wrote:<br /><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>But the idea is the same.</div><div><br /></div><div>See, the proposed solution is that if a particular list field, contains a specific value, disable this record edit button.</div><div><br /></div><div>For example, an opportunity is the closed status, even if this user's profile allows editing could not be edited.</div><div><br /></div><div>The javascript consult this status and would disable the button to edit and / or delete.</div><div><br /></div><div>Hard code, is bad solution. My idea would be to include this feature in the pick list editor.</div><div><br /></div><div>You could mark status which enables "locks"
the record does not allow editing or deletion.</div><div><br /></div><div>In your case, when you save the quotation  the first time, would you change thru workflow to a status of these.</div><div><br /></div><div>Also the user is allowed to edit, could no longer edit this particular record.</div><div><br /></div><div>I ordered a change so for the opportunity when it is closed does not allow more change. The problem is that is hard code ....</div></div><div class="gmail_extra"><br /><div class="gmail_quote"><div><div>2016-04-16 11:59 GMT-03:00 Kiran Raju <span dir="ltr"><<a href="mailto:kiranraju.jakka@gmail.com" target="_blank">kiranraju.jakka@gmail.com</a>></span>:<br /></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Appreciates your concern,<div><br /></div><div>But as per my requirement its not about a single field like status pick list. Once Sales order is generated from quote and
saved "it must be freeze". It means that Order generated person might not have an edit option again.</div><div><br /></div><div>If i tried to give only read option to that user then it is not showing "Generate Sales Order". So a record level privilege was needed.</div><div><br /></div><div>Thanks & Regards</div></div><div><div><div class="gmail_extra"><br /><div class="gmail_quote">On 16 April 2016 at 19:21, Ranieri <span dir="ltr"><<a href="mailto:rslemer@gmail.com" target="_blank">rslemer@gmail.com</a>></span> wrote:<br /><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><span></span></div></div><div><div> </div> </div> <div><div dir="ltr" style="zoom:1"><span lang="en"><span>A good</span> <span>solution to the</span> <span>vtiger</span> <span>would</span> <span>have</span> <span>status that does not</span> <span>allow</span> <span>changes</span>
<span>(</span><span>admin</span> <span>only).</span><br /><br /><span>Thus</span> <span>an opportunity</span> <span>already closed</span> <span>/</span> <span>lost, a</span> <span>closed</span> <span>quotation,</span> <span>a completed project</span> <span>or</span> <span>a service contract</span> <span>ended</span><span>,</span> <span>could no longer be</span> <span>changed.</span><br /><br /><span>At</span> <span>pick</span> <span>list</span> <span>editor</span> <span>could</span> <span>mark</span> <span>that</span> <span>can not</span> <span>be changed.</span><br /><br /><span>With</span> <span>this,</span> <span>I</span> <span>also</span> <span>attend</span><span>,</span> <span>a workflow that</span> <span>would be enough</span> <span>to change</span> <span>the status to</span> <span>one of these</span> <span>indicating that</span> <span>the process</span> <span>has been completed.</span></span></div></div></div><div class="gmail_extra"><br /><div
class="gmail_quote"><div><div>2016-04-16 3:34 GMT-03:00 Kiran Raju <span dir="ltr"><<a href="mailto:kiranraju.jakka@gmail.com" target="_blank">kiranraju.jakka@gmail.com</a>></span>:<br /></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Thanks for your reply.<div><br /></div><div>I just keep searching for alternatives...!</div></div><div class="gmail_extra"><div><div><br /><div class="gmail_quote">On 15 April 2016 at 19:21, Alan Lord <span dir="ltr"><<a href="mailto:alanslists@gmail.com" target="_blank">alanslists@gmail.com</a>></span> wrote:<br /><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On 15/04/16 14:03, jacs wrote:<br />
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br />
<br />
       After generating SalesOrder from Quotation upon first save, can i make<br />
the same user as "read only" after first save on that record?<br />
</blockquote>
<br /></span>
Not without fairly major customisation. vtiger doesn't support record level access controls.<br />
<br />
See <a href="http://code.vtiger.com/vtiger/vtigercrm/issues/141" rel="noreferrer" target="_blank">http://code.vtiger.com/vtiger/vtigercrm/issues/141</a><br />
<br />
Al<br />
<br />
<br />
_______________________________________________<br />
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br />
</blockquote></div><br /><br clear="all" /><div><br /></div></div></div><span><font color="#888888">-- <br /></font><div><font color="#888888"></font><div dir="ltr"><font color="#888888"></font><div><font color="#888888"></font><div dir="ltr"><font color="#888888"></font><div><font color="#888888"><img src="http://i120.photobucket.com/albums/o197/dheeraj111/bestregards.gif?t=1183534675" height="104" width="200" /></font></div><div><b><font face="comic sans ms, sans-serif" color="#783f04">       kiranraj</font></b></div></div></div></div></div>
</span></div>
<br /></div></div>_______________________________________________<br />
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br /></blockquote></div><br /></div>
<br />_______________________________________________<br />
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br /></blockquote></div><br /><br clear="all" /><div><br /></div>-- <br /><div><div dir="ltr"><div><div dir="ltr"><div><img src="http://i120.photobucket.com/albums/o197/dheeraj111/bestregards.gif?t=1183534675" width="200" height="104" /></div><div><b><font color="#783f04" face="comic sans ms, sans-serif">       kiranraj</font></b></div></div></div></div></div>
</div>
</div></div><br /></div></div>_______________________________________________<br />
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br /></blockquote></div><br /></div>
<br />_______________________________________________<br />
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br /></blockquote></div><br /><br clear="all" /><div><br /></div>-- <br /><div><div dir="ltr"><div><div dir="ltr"><div><img src="http://i120.photobucket.com/albums/o197/dheeraj111/bestregards.gif?t=1183534675" width="200" height="104" /></div><div><b><font color="#783f04" face="comic sans ms, sans-serif">       kiranraj</font></b></div></div></div></div></div>
</div>
</div></div><br /></div></div>_______________________________________________<br />
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br /></blockquote></div><br /></div>
<br />_______________________________________________<br />
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br /></blockquote></div><br /><br clear="all" /><div><br /></div>-- <br /><div><div dir="ltr"><div><div dir="ltr"><div><img src="http://i120.photobucket.com/albums/o197/dheeraj111/bestregards.gif?t=1183534675" width="200" height="104" /></div><div><b><font color="#783f04" face="comic sans ms, sans-serif">       kiranraj</font></b></div></div></div></div></div>
</div>
</div></div><br />_______________________________________________<br />
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br /></blockquote></div><br /></div>
<p style="margin-top: 2.5em; margin-bottom: 1em; border-bottom: 1px solid #000"></p><pre class="k9mail"><hr /><br /><a href="http://www.vtiger.com/">http://www.vtiger.com/</a></pre></blockquote></div><br>
-- <br>
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.</body></html>