Is it possible to copy a doctyp and have it active

I need to have a copy of the stock entry doctyp so I can change the fields in the copied document for special users, is it possible to do this from the (New==>Doctyp==>…) and make it active and appears in the menu ???



You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

To post to this group, send email to er...@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/ZSHiPwNKGikJ.

For more options, visit https://groups.google.com/groups/opt_out.

 

 

Its possible, but it won't do any good if you are unable to create "Stock Ledger Entries" -> that are the basis of all stock calculation, via code. You can see the file erpnext/stock/doctype/stock_entry/stock_entry.py for more info.


W: https://erpnext.com
T: @rushabh_mehta

On 26-Aug-2012, at 2:34 PM, HF <h....@gmail.com> wrote:

I need to have a copy of the stock entry doctyp so I can change the fields in the copied document for special users, is it possible to do this from the (New==>Doctyp==>...) and make it active and appears in the menu ???



You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

To post to this group, send email to er…@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/ZSHiPwNKGikJ.

For more options, visit https://groups.google.com/groups/opt_out.

 

 




You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

To post to this group, send email to er...@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

 

 

So There is no way to that with stock ledger calculation ?

I need to replicate the form but I will hide some fields from it , can I copy the .py file or its nonsence 
If you can take this in consideration in the next version it would be very good way for administrators to customize special forms for users based on their function.



You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

To post to this group, send email to er...@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/v45Pug4kE4EJ.

For more options, visit https://groups.google.com/groups/opt_out.

 

 

Hi HF,

Can you describe the scenario in detail, like how do you want different users to use stock entry?

Are you aiming to just hide the fields based on some criteria? You can use custom script for this.

thanks,
Anand.

On 26-Aug-2012, at 7:08 PM, HF <h....@gmail.com> wrote:

So There is no way to that with stock ledger calculation ?
I need to replicate the form but I will hide some fields from it , can I copy the .py file or its nonsence 
If you can take this in consideration in the next version it would be very good way for administrators to customize special forms for users based on their function.




You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

To post to this group, send email to er…@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/v45Pug4kE4EJ.

For more options, visit https://groups.google.com/groups/opt_out.

 

 




You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

To post to this group, send email to er...@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

 

 

How can I use the custom scripts ?? I don’t know the syntax and field names in forms ? is there any reference for this???

Also if I need to add a custom field which will get its value from another table depending on the user selected field who can I do it ?

If I know these I think it will be solved.



You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

To post to this group, send email to er...@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/4frB6SgKe7EJ.

For more options, visit https://groups.google.com/groups/opt_out.

 

 

Hi HF,

It will be helpful if you can describe what exactly you want to do. We can give an example based on your scenario to make it easier for you to understand.

Thanks,
Anand.

On 26-Aug-2012, at 7:42 PM, HF <h....@gmail.com> wrote:

How can I use the custom scripts ?? I don't know the syntax and field names in forms ? is there any reference for this???
Also if I need to add a custom field which will get its value from another table depending on the user selected field who can I do it ?

If I know these I think it will be solved.




You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

To post to this group, send email to er…@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un…@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/4frB6SgKe7EJ.

For more options, visit https://groups.google.com/groups/opt_out.

 

 




You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

To post to this group, send email to er...@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

 

 

I have added a custom field (barcode) for Items, and I need this field to appear in the stock_entry_items with the barcode of the item selected, also I need to let the field item rate hidden for special users and appears for another users.


Also if the rate is changed by users to more than 20% of the standard rate the system does not accept.



You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

To post to this group, send email to er...@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/unI0IDsbovYJ.

For more options, visit https://groups.google.com/groups/opt_out.

 

 

Hi HF,

"Barcode" field is already there in the item master, you can pull items based on "Barcode" in Delivery Note and Sales Invoice. The feature is hidden by default, you can activate it from Setup –> Disable Features.

Currently, Barcode field is not exists in Stock Entry, we will add it soon, so that users can pull item based on barcode while issue or transfer items from one warehouse to another.

You can hide Rate column for a particular Role, by modifying permlevel of the Rate field and assigning different access restriction against that permlevel. But currently there is a bug in the system, column is not hiding based on permlevel, we will fix this soon. It has been discussed in detail on a previous thread (https://groups.google.com/forum/?fromgroups=#!searchin/erpnext-user-forum/permission/erpnext-user-forum/nKDgysdrwpk/MXzp4qGxBQgJ).


About Rate validation, it is difficult to implement by custom code by yourself. Please create an issue in Github, we will try to add the feature in the future.


Thanks,
Nabin Hait




On Sun, Aug 26, 2012 at 8:00 PM, HF <h…@gmail.com> wrote:

I have added a custom field (barcode) for Items, and I need this field to appear in the stock_entry_items with the barcode of the item selected, also I need to let the field item rate hidden for special users and appears for another users.


Also if the rate is changed by users to more than 20% of the standard rate the system does not accept.



You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

To post to this group, send email to er…@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un…@googlegroups.com.


To view this discussion on the web visit https://groups.google.com/d/msg/erpnext-developer-forum/-/unI0IDsbovYJ.


For more options, visit https://groups.google.com/groups/opt_out.





--
Regards,
Nabin Hait



You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

To post to this group, send email to er...@googlegroups.com.

To unsubscribe from this group, send email to erpnext-developer-forum+un...@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.