Error after ./scripts/update.sh

After running ./scripts/update.sh

I get this error, Please Help

on web " Updating. We will be back in few moments..." 
on console i get this.

na...@debian:~/frappe-bench$ sudo bash ./scripts/update.sh
Already up-to-date.
updating apps/erpnext
From https://github.com/frappe/erpnext
 * branch            HEAD       -> FETCH_HEAD
Current branch master is up to date.
/home/nabil/frappe-bench
updating apps/frappe
From https://github.com/frappe/frappe
 * branch            HEAD       -> FETCH_HEAD
Current branch master is up to date.
/home/nabil/frappe-bench
updating apps/shopping_cart
From https://github.com/frappe/shopping-cart
 * branch            HEAD       -> FETCH_HEAD
Current branch master is up to date.
/home/nabil/frappe-bench
Running latest for [sitename
--------------------------------------------------
Executing erpnext.patches.v4_0.apply_user_permissions in [sitename ([dbname]])
Traceback (most recent call last):
  File "/home/nabil/frappe-bench/env/bin/frappe", line 9, in <module>
    load_entry_point('frappe==4.0.1', 'console_scripts', 'frappe')()
  File "/home/nabil/frappe-bench/apps/frappe/frappe/cli.py", line 39, in main
    ret = run(fn, args)
  File "/home/nabil/frappe-bench/apps/frappe/frappe/cli.py", line 83, in run
    out = globals().get(fn)(**args)
  File "/home/nabil/frappe-bench/apps/frappe/frappe/cli.py", line 67, in new_fn
    return fn(*args, **new_kwargs)
  File "/home/nabil/frappe-bench/apps/frappe/frappe/cli.py", line 419, in latest
    frappe.modules.patch_handler.run_all()
  File "/home/nabil/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 25, in run_all
    if not run_single(patchmodule = patch):
  File "/home/nabil/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 50, in run_single
    return execute_patch(patchmodule, method, methodargs)
  File "/home/nabil/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 66, in execute_patch
    frappe.get_attr(patchmodule + ".execute")()
  File "/home/nabil/frappe-bench/apps/erpnext/erpnext/patches/v4_0/apply_user_permissions.py", line 9, in execute
    update_hr_permissions()
  File "/home/nabil/frappe-bench/apps/erpnext/erpnext/patches/v4_0/apply_user_permissions.py", line 32, in update_hr_permissions
    emp.save()
  File "/home/nabil/frappe-bench/apps/frappe/frappe/model/document.py", line 164, in save
    self._validate()
  File "/home/nabil/frappe-bench/apps/frappe/frappe/model/document.py", line 234, in _validate
    self._validate_selects()
  File "/home/nabil/frappe-bench/apps/frappe/frappe/model/base_document.py", line 308, in _validate_selects
    value, comma_options))
  File "/home/nabil/frappe-bench/apps/frappe/frappe/__init__.py", line 205, in throw
    msgprint(msg, raise_exception=exc)
  File "/home/nabil/frappe-bench/apps/frappe/frappe/__init__.py", line 202, in msgprint
    _raise_exception()
  File "/home/nabil/frappe-bench/apps/frappe/frappe/__init__.py", line 186, in _raise_exception
    raise raise_exception, msg
frappe.exceptions.ValidationError:  Series cannot be "M-####". It should be one of "", "M-", "S-"



Note:

 

If you are posting an issue,

  1. 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.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. 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/ce8fd127-faf7-42bd-90b6-9391fd5383e1%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
Do you have any custom doctypes? This does not seem to be an error of standard doctypes.


On Mon, Jun 23, 2014 at 1:59 PM, <hr...@gmail.com> wrote:
After running ./scripts/update.sh

I get this error, Please Help


on web " Updating. We will be back in few moments…"
on console i get this.

na…@debian:~/frappe-bench$ sudo bash ./scripts/update.sh
Already up-to-date.

updating apps/erpnext
From https://github.com/frappe/erpnext

* branch HEAD -> FETCH_HEAD
Current branch master is up to date.

/home/nabil/frappe-bench
updating apps/frappe

From https://github.com/frappe/frappe

* branch HEAD -> FETCH_HEAD
Current branch master is up to date.

/home/nabil/frappe-bench
updating apps/shopping_cart

From https://github.com/frappe/shopping-cart
* branch HEAD -> FETCH_HEAD

Current branch master is up to date.
/home/nabil/frappe-bench

Running latest for [sitename
--------------------------------------------------

Executing erpnext.patches.v4_0.apply_user_permissions in [sitename ([dbname]])
Traceback (most recent call last):

File "/home/nabil/frappe-bench/env/bin/frappe", line 9, in <module>
load_entry_point('frappe==4.0.1', 'console_scripts', 'frappe')()

File "/home/nabil/frappe-bench/apps/frappe/frappe/cli.py", line 39, in main
ret = run(fn, args)

File "/home/nabil/frappe-bench/apps/frappe/frappe/cli.py", line 83, in run
out = globals().get(fn)(**args)

File "/home/nabil/frappe-bench/apps/frappe/frappe/cli.py", line 67, in new_fn
return fn(*args, **new_kwargs)

File "/home/nabil/frappe-bench/apps/frappe/frappe/cli.py", line 419, in latest
frappe.modules.patch_handler.run_all()

File "/home/nabil/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 25, in run_all
if not run_single(patchmodule = patch):

File "/home/nabil/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 50, in run_single
return execute_patch(patchmodule, method, methodargs)

File "/home/nabil/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 66, in execute_patch
frappe.get_attr(patchmodule + ".execute")()

File "/home/nabil/frappe-bench/apps/erpnext/erpnext/patches/v4_0/apply_user_permissions.py", line 9, in execute
update_hr_permissions()

File "/home/nabil/frappe-bench/apps/erpnext/erpnext/patches/v4_0/apply_user_permissions.py", line 32, in update_hr_permissions

emp.save()
File "/home/nabil/frappe-bench/apps/frappe/frappe/model/document.py", line 164, in save

self._validate()
File "/home/nabil/frappe-bench/apps/frappe/frappe/model/document.py", line 234, in _validate

self._validate_selects()
File "/home/nabil/frappe-bench/apps/frappe/frappe/model/base_document.py", line 308, in _validate_selects

value, comma_options))
File "/home/nabil/frappe-bench/apps/frappe/frappe/init.py", line 205, in throw

msgprint(msg, raise_exception=exc)
File "/home/nabil/frappe-bench/apps/frappe/frappe/init.py", line 202, in msgprint

_raise_exception()
File "/home/nabil/frappe-bench/apps/frappe/frappe/init.py", line 186, in _raise_exception

raise raise_exception, msg
frappe.exceptions.ValidationError: Series cannot be "M-####". It should be one of "", "M-", "S-"




Note:



If you are posting an issue,

  1. 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.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. 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/ce8fd127-faf7-42bd-90b6-9391fd5383e1%40googlegroups.com.

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




Note:

 

If you are posting an issue,

  1. 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.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. 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/CAAQzbF2k6dgiLzuzBFFGpnP%3DdaNu4Dih6ZBh%2BdT5XTZfoF3imA%40mail.gmail.com.

    For more options, visit https://groups.google.com/d/optout.
Well there are no custom doc types. would you like to connect through ssh and check?

On Monday, June 23, 2014 6:47:44 PM UTC+5, Anand Doshi wrote:
Do you have any custom doctypes? This does not seem to be an error of standard doctypes.


On Mon, Jun 23, 2014 at 1:59 PM, <hr...@gmail.com> wrote:
After running ./scripts/update.sh

I get this error, Please Help


on web " Updating. We will be back in few moments…" 
on console i get this.

na…@debian:~/frappe-bench$ sudo bash ./scripts/update.sh
Already up-to-date.

updating apps/erpnext
From https://github.com/frappe/erpnext

 * branch            HEAD       -> FETCH_HEAD
Current branch master is up to date.

/home/nabil/frappe-bench
updating apps/frappe

From https://github.com/frappe/frappe

 * branch            HEAD       -> FETCH_HEAD
Current branch master is up to date.

/home/nabil/frappe-bench
updating apps/shopping_cart

From https://github.com/frappe/shopping-cart
 * branch            HEAD       -> FETCH_HEAD

Current branch master is up to date.
/home/nabil/frappe-bench

Running latest for [sitename
--------------------------------------------------

Executing erpnext.patches.v4_0.apply_user_permissions in [sitename ([dbname]])
Traceback (most recent call last):

  File “/home/nabil/frappe-bench/env/bin/frappe”, line 9, in <module>
    load_entry_point(‘frappe==4.0.1’, ‘console_scripts’, ‘frappe’)()

  File “/home/nabil/frappe-bench/apps/frappe/frappe/cli.py”, line 39, in main
    ret = run(fn, args)

  File “/home/nabil/frappe-bench/apps/frappe/frappe/cli.py”, line 83, in run
    out = globals().get(fn)(**args)

  File “/home/nabil/frappe-bench/apps/frappe/frappe/cli.py”, line 67, in new_fn
    return fn(*args, **new_kwargs)

  File “/home/nabil/frappe-bench/apps/frappe/frappe/cli.py”, line 419, in latest
    frappe.modules.patch_handler.run_all()

  File “/home/nabil/frappe-bench/apps/frappe/frappe/modules/patch_handler.py”, line 25, in run_all
    if not run_single(patchmodule = patch):

  File “/home/nabil/frappe-bench/apps/frappe/frappe/modules/patch_handler.py”, line 50, in run_single
    return execute_patch(patchmodule, method, methodargs)

  File “/home/nabil/frappe-bench/apps/frappe/frappe/modules/patch_handler.py”, line 66, in execute_patch
    frappe.get_attr(patchmodule + “.execute”)()

  File “/home/nabil/frappe-bench/apps/erpnext/erpnext/patches/v4_0/apply_user_permissions.py”, line 9, in execute
    update_hr_permissions()

  File “/home/nabil/frappe-bench/apps/erpnext/erpnext/patches/v4_0/apply_user_permissions.py”, line 32, in update_hr_permissions

    emp.save()
  File “/home/nabil/frappe-bench/apps/frappe/frappe/model/document.py”, line 164, in save

    self._validate()
  File “/home/nabil/frappe-bench/apps/frappe/frappe/model/document.py”, line 234, in _validate

    self.validate_selects()
  File "/home/nabil/frappe-bench/apps/frappe/frappe/model/basedocument.py", line 308, in _validate_selects

    value, comma_options))
  File “/home/nabil/frappe-bench/apps/frappe/frappe/init.py”, line 205, in throw

    msgprint(msg, raise_exception=exc)
  File “/home/nabil/frappe-bench/apps/frappe/frappe/init.py”, line 202, in msgprint

    _raise_exception()
  File “/home/nabil/frappe-bench/apps/frappe/frappe/init.py”, line 186, in _raise_exception

    raise raise_exception, msg
frappe.exceptions.ValidationError:  Series cannot be “M-####”. It should be one of “”, “M-”, “S-”




Note:

 

If you are posting an issue,

  1. 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.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. 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/ce8fd127-faf7-42bd-90b6-9391fd5383e1%40googlegroups.com.

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




Note:

 

If you are posting an issue,

  1. 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.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. 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/4ce91eaf-268e-4ae1-a27c-8e47470ad097%40googlegroups.com.

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


On 24-Jun-2014, at 1:41 pm, hr...@gmail.com wrote:

Well there are no custom doc types. would you like to connect through ssh and check?

Are you a paid subscriber?

Else seems like there is problem with a DocType where naming series is M-####


On Monday, June 23, 2014 6:47:44 PM UTC+5, Anand Doshi wrote:
Do you have any custom doctypes? This does not seem to be an error of standard doctypes.


On Mon, Jun 23, 2014 at 1:59 PM, <hr...@gmail.com> wrote:
After running ./scripts/update.sh

I get this error, Please Help


on web " Updating. We will be back in few moments…" 
on console i get this.

na…@debian:~/frappe-bench$ sudo bash ./scripts/update.sh
Already up-to-date.

updating apps/erpnext
From https://github.com/frappe/erpnext

 * branch            HEAD       -> FETCH_HEAD
Current branch master is up to date.

/home/nabil/frappe-bench
updating apps/frappe

From https://github.com/frappe/frappe

 * branch            HEAD       -> FETCH_HEAD
Current branch master is up to date.

/home/nabil/frappe-bench
updating apps/shopping_cart

From https://github.com/frappe/shopping-cart
 * branch            HEAD       -> FETCH_HEAD

Current branch master is up to date.
/home/nabil/frappe-bench

Running latest for [sitename
--------------------------------------------------

Executing erpnext.patches.v4_0.apply_user_permissions in [sitename ([dbname]])
Traceback (most recent call last):

  File “/home/nabil/frappe-bench/env/bin/frappe”, line 9, in <module>
    load_entry_point(‘frappe==4.0.1’, ‘console_scripts’, ‘frappe’)()

  File “/home/nabil/frappe-bench/apps/frappe/frappe/cli.py”, line 39, in main
    ret = run(fn, args)

  File “/home/nabil/frappe-bench/apps/frappe/frappe/cli.py”, line 83, in run
    out = globals().get(fn)(**args)

  File “/home/nabil/frappe-bench/apps/frappe/frappe/cli.py”, line 67, in new_fn
    return fn(*args, **new_kwargs)

  File “/home/nabil/frappe-bench/apps/frappe/frappe/cli.py”, line 419, in latest
    frappe.modules.patch_handler.run_all()

  File “/home/nabil/frappe-bench/apps/frappe/frappe/modules/patch_handler.py”, line 25, in run_all
    if not run_single(patchmodule = patch):

  File “/home/nabil/frappe-bench/apps/frappe/frappe/modules/patch_handler.py”, line 50, in run_single
    return execute_patch(patchmodule, method, methodargs)

  File “/home/nabil/frappe-bench/apps/frappe/frappe/modules/patch_handler.py”, line 66, in execute_patch
    frappe.get_attr(patchmodule + “.execute”)()

  File “/home/nabil/frappe-bench/apps/erpnext/erpnext/patches/v4_0/apply_user_permissions.py”, line 9, in execute
    update_hr_permissions()

  File “/home/nabil/frappe-bench/apps/erpnext/erpnext/patches/v4_0/apply_user_permissions.py”, line 32, in update_hr_permissions

    emp.save()
  File “/home/nabil/frappe-bench/apps/frappe/frappe/model/document.py”, line 164, in save

    self._validate()
  File “/home/nabil/frappe-bench/apps/frappe/frappe/model/document.py”, line 234, in _validate

    self.validate_selects()
  File "/home/nabil/frappe-bench/apps/frappe/frappe/model/basedocument.py", line 308, in _validate_selects

    value, comma_options))
  File “/home/nabil/frappe-bench/apps/frappe/frappe/init.py”, line 205, in throw

    msgprint(msg, raise_exception=exc)
  File “/home/nabil/frappe-bench/apps/frappe/frappe/init.py”, line 202, in msgprint

    _raise_exception()
  File “/home/nabil/frappe-bench/apps/frappe/frappe/init.py”, line 186, in _raise_exception

    raise raise_exception, msg
frappe.exceptions.ValidationError:  Series cannot be “M-####”. It should be one of “”, “M-”, “S-”





Note:

 

If you are posting an issue,

  1. 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.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. 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/ce8fd127-faf7-42bd-90b6-9391fd5383e1%40googlegroups.com.

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





Note:

 

If you are posting an issue,

  1. 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.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. 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/4ce91eaf-268e-4ae1-a27c-8e47470ad097%40googlegroups.com.

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



Note:

 

If you are posting an issue,

  1. 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.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. 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/4741B033-B4E1-4954-9A1B-5305E982AD4E%40gmail.com.

    For more options, visit https://groups.google.com/d/optout.
No i am not paid subscriber - but you are right series are different  M-#### 

Anand, Heard yesterday you were working on some script is that ready?


On Tuesday, June 24, 2014 1:38:10 PM UTC+5, rushabh wrote:


On 24-Jun-2014, at 1:41 pm, hr...@gmail.com wrote:

Well there are no custom doc types. would you like to connect through ssh and check?

Are you a paid subscriber?

Else seems like there is problem with a DocType where naming series is M-####


On Monday, June 23, 2014 6:47:44 PM UTC+5, Anand Doshi wrote:
Do you have any custom doctypes? This does not seem to be an error of standard doctypes.


On Mon, Jun 23, 2014 at 1:59 PM, <hr...@gmail.com> wrote:
After running ./scripts/update.sh

I get this error, Please Help


on web " Updating. We will be back in few moments…" 
on console i get this.

na…@debian:~/frappe-bench$ sudo bash ./scripts/update.sh
Already up-to-date.

updating apps/erpnext
From https://github.com/frappe/erpnext

 * branch            HEAD       -> FETCH_HEAD
Current branch master is up to date.

/home/nabil/frappe-bench
updating apps/frappe

From https://github.com/frappe/frappe

 * branch            HEAD       -> FETCH_HEAD
Current branch master is up to date.

/home/nabil/frappe-bench
updating apps/shopping_cart

From https://github.com/frappe/shopping-cart
 * branch            HEAD       -> FETCH_HEAD

Current branch master is up to date.
/home/nabil/frappe-bench

Running latest for [sitename
--------------------------------------------------

Executing erpnext.patches.v4_0.apply_user_permissions in [sitename ([dbname]])
Traceback (most recent call last):

  File “/home/nabil/frappe-bench/env/bin/frappe”, line 9, in <module>
    load_entry_point(‘frappe==4.0.1’, ‘console_scripts’, ‘frappe’)()

  File “/home/nabil/frappe-bench/apps/frappe/frappe/cli.py”, line 39, in main
    ret = run(fn, args)

  File “/home/nabil/frappe-bench/apps/frappe/frappe/cli.py”, line 83, in run
    out = globals().get(fn)(**args)

  File “/home/nabil/frappe-bench/apps/frappe/frappe/cli.py”, line 67, in new_fn
    return fn(*args, **new_kwargs)

  File “/home/nabil/frappe-bench/apps/frappe/frappe/cli.py”, line 419, in latest
    frappe.modules.patch_handler.run_all()

  File “/home/nabil/frappe-bench/apps/frappe/frappe/modules/patch_handler.py”, line 25, in run_all
    if not run_single(patchmodule = patch):

  File “/home/nabil/frappe-bench/apps/frappe/frappe/modules/patch_handler.py”, line 50, in run_single
    return execute_patch(patchmodule, method, methodargs)

  File “/home/nabil/frappe-bench/apps/frappe/frappe/modules/patch_handler.py”, line 66, in execute_patch
    frappe.get_attr(patchmodule + “.execute”)()

  File “/home/nabil/frappe-bench/apps/erpnext/erpnext/patches/v4_0/apply_user_permissions.py”, line 9, in execute
    update_hr_permissions()

  File “/home/nabil/frappe-bench/apps/erpnext/erpnext/patches/v4_0/apply_user_permissions.py”, line 32, in update_hr_permissions

    emp.save()
  File “/home/nabil/frappe-bench/apps/frappe/frappe/model/document.py”, line 164, in save

    self._validate()
  File “/home/nabil/frappe-bench/apps/frappe/frappe/model/document.py”, line 234, in _validate

    self.validate_selects()
  File "/home/nabil/frappe-bench/apps/frappe/frappe/model/basedocument.py", line 308, in _validate_selects

    value, comma_options))
  File “/home/nabil/frappe-bench/apps/frappe/frappe/init.py”, line 205, in throw

    msgprint(msg, raise_exception=exc)
  File “/home/nabil/frappe-bench/apps/frappe/frappe/init.py”, line 202, in msgprint

    _raise_exception()
  File “/home/nabil/frappe-bench/apps/frappe/frappe/init.py”, line 186, in _raise_exception

    raise raise_exception, msg
frappe.exceptions.ValidationError:  Series cannot be “M-####”. It should be one of “”, “M-”, “S-”





Note:

 

If you are posting an issue,

  1. 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.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. 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/ce8fd127-faf7-42bd-90b6-9391fd5383e1%40googlegroups.com.

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





Note:

 

If you are posting an issue,

  1. 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.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. 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/4ce91eaf-268e-4ae1-a27c-8e47470ad097%40googlegroups.com.

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



Note:

 

If you are posting an issue,

  1. 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.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. 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/da8bb5f2-2edb-4576-8361-f0eae248d96a%40googlegroups.com.

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