I need to export Item Group Tree

Add an after-install hook:

https://github.com/frappe/erpnext/blob/develop/erpnext/hooks.py#L15

https://github.com/frappe/erpnext/blob/develop/erpnext/setup/install.py#L13


On 23-Sep-2014, at 1:23 pm, Luis Fernandes <[email protected]> wrote:

I Rushabh. I want to add one more category (Variant) but this category i want to add only when my module is installed.

So like the image show i added but know i want to exported like fixtures to package with my module.

Like this:




Thanks.

Terça-feira, 23 de Setembro de 2014 6:10:45 UTC+1, rushabh escreveu:
Can you explain the use case? do you want a different Item Group tree by default?

On 22-Sep-2014, at 11:13 pm, Luis Fernandes <[email protected]> wrote:

I. 

I add a child to Item Group Tree and now, like fixtures, i want to export. 

I want when install my module that this child show in Item Group Tree.


Thanks.


  1. Please be kind and don’t send large attachments
  2. For issues, features requests use https://github.com/frappe/erpnext/issues



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

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/72d6fb3b-8070-43c1-bcde-fd25deed96b1%40googlegroups.com.

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



  1. Please be kind and don’t send large attachments
  2. For issues, features requests use https://github.com/frappe/erpnext/issues



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

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/b83300fd-ed53-40eb-96e6-20ac549e4727%40googlegroups.com.

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


  1. Please be kind and don't send large attachments
  2. For issues, features requests use https://github.com/frappe/erpnext/issues



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

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/5901B607-524D-41F0-949D-B28D3EBE0FB3%40gmail.com.

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