Fixtures

I. I made my app and i have some custom_field's and custom_script's and i run: bench frappe --export_fixtures.

It works perfectly well.

I made my app in site2.local and i installed in my site1.local. 

Now i made some changes and i have to run again, bench frappe --export_fixtures in site2.local and i want to update my app in site1.local.

The problems as i see is that fixtures work if i install the app but how to updated?


Thanks.



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    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/c255607a-19c0-4690-aa61-d1f434d17f95%40googlegroups.com.

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

On 19-Sep-2014, at 5:38 pm, Luis Fernandes <lu...@gmail.com> wrote:

I. I made my app and i have some custom_field's and custom_script's and i run: bench frappe --export_fixtures.

It works perfectly well.

I made my app in site2.local and i installed in my site1.local. 

Now i made some changes and i have to run again, bench frappe --export_fixtures in site2.local and i want to update my app in site1.local.

The problems as i see is that fixtures work if i install the app but how to updated?

Fixtures get updated when you do

frappe --latest



Thanks.




Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    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/c255607a-19c0-4690-aa61-d1f434d17f95%40googlegroups.com.

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



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    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/90EA2237-34C2-4988-B59E-9007A4D0379B%40gmail.com.

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

Thanks  rushabh.

Sexta-feira, 19 de Setembro de 2014 13:56:38 UTC+1, rushabh escreveu:


On 19-Sep-2014, at 5:38 pm, Luis Fernandes <lu…@gmail.com> wrote:

I. I made my app and i have some custom_field’s and custom_script’s and i run: bench frappe --export_fixtures.

It works perfectly well.

I made my app in site2.local and i installed in my site1.local. 

Now i made some changes and i have to run again, bench frappe --export_fixtures in site2.local and i want to update my app in site1.local.

The problems as i see is that fixtures work if i install the app but how to updated?

Fixtures get updated when you do

frappe --latest



Thanks.




Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    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/c255607a-19c0-4690-aa61-d1f434d17f95%40googlegroups.com.

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



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    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/b3f12454-8b90-4339-b68c-b21d6282fde2%40googlegroups.com.

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