Blank record after doing bench update

@ramielian
there is no develop_mode mentioned in that file, only db_name and db_password.

Ok, so you are in production mode, which should be stable…

Do: bench update --upgrade

Check for any errors in there

@ramielian
There is no error after executing that command, please see below for the result.
Unfortunately, the error is still there, the content doesn’t show in any PO.

mksimple@lab9:~/frappe-bench$ bench update --upgrade
remote: Counting objects: 40, done.
remote: Compressing objects: 100% (12/12), done.
remote: Total 40 (delta 31), reused 37 (delta 28), pack-reused 0
Unpacking objects: 100% (40/40), done.
From GitHub - frappe/frappe: Low code web framework for real world applications, in Python and Javascript
cc6e39e…44b0dec develop → upstream/develop

  • [new tag] v6.27.14 → v6.27.14
    INFO:bench.utils:updating bench
    remote: Counting objects: 13, done.
    remote: Compressing objects: 100% (13/13), done.
    remote: Total 13 (delta 6), reused 0 (delta 0), pack-reused 0
    Unpacking objects: 100% (13/13), done.
    From GitHub - frappe/bench: CLI to manage Multi-tenant deployments for Frappe apps
    dbac79b…ca97764 develop → origin/develop
    Already up-to-date.
    Requirement already satisfied (use --upgrade to upgrade): Pillow in ./env/lib/python2.7/site-packages
    INFO:bench.app:pulling frappe
    From GitHub - frappe/frappe: Low code web framework for real world applications, in Python and Javascript
  • branch develop → FETCH_HEAD
    Updating cc6e39e…44b0dec
    Fast-forward
    frappe/version.py | 2 ±
    frappe/hooks.py | 2 ±
    frappe/public/build.json | 3 ++
    frappe/public/css/list.css | 8 +++++
    frappe/public/js/frappe/form/footer/timeline.js | 8 ++±-
    frappe/public/js/frappe/form/quick_entry.js | 2 ±
    frappe/public/js/frappe/list/doclistview.js | 19 ++++++++++++
    frappe/public/js/frappe/model/meta.js | 12 +++++±-
    frappe/public/js/frappe/ui/sort_selector.html | 19 ++++++++++++
    frappe/public/js/frappe/ui/sort_selector.js | 129 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    frappe/public/less/list.less | 10 ++++++
    frappe/utils/response.py | 2 ±
    setup.py | 2 ±
    13 files changed, 209 insertions(+), 9 deletions(-)
    create mode 100644 frappe/public/js/frappe/ui/sort_selector.html
    create mode 100644 frappe/public/js/frappe/ui/sort_selector.js
    INFO:bench.app:pulling erpnext
    remote: Counting objects: 35, done.
    remote: Compressing objects: 100% (8/8), done.
    remote: Total 35 (delta 31), reused 31 (delta 27), pack-reused 0
    Unpacking objects: 100% (35/35), done.
    From GitHub - frappe/erpnext: Free and Open Source Enterprise Resource Planning (ERP)
  • branch develop → FETCH_HEAD
    621283c…68d428b develop → upstream/develop
    Updating 621283c…68d428b
    Fast-forward
    erpnext/version.py | 2 ±
    erpnext/hooks.py | 2 ±
    erpnext/manufacturing/doctype/production_planning_tool/production_planning_tool.py | 12 +++++±-----
    erpnext/projects/doctype/project/project.json | 9 ++++±—
    erpnext/stock/page/stock_balance/stock_balance.html | 21 ±-------------------
    erpnext/stock/page/stock_balance/stock_balance.js | 39 ++++++++++++++++++±-------------------
    setup.py | 2 ±
    7 files changed, 34 insertions(+), 53 deletions(-)
    Requirement already up-to-date: pip in ./env/lib/python2.7/site-packages
    Migrating trading.marketsimple.com
    Updating frappe : [========================================]
    Updating erpnext : [========================================]
    Wrote ./assets/js/print_format_v3.min.js - 18k
    Wrote ./assets/js/frappe-web.min.js - 107k
    Wrote ./assets/js/form.min.js - 123k
    Wrote ./assets/js/report.min.js - 157k
    Wrote ./assets/js/erpnext.min.js - 39k
    Wrote ./assets/css/list.min.css - 6k
    Wrote ./assets/js/erpnext-web.min.js - 1k
    Wrote ./assets/css/report.min.css - 8k
    Wrote ./assets/css/frappe-web.css - 55k
    Wrote ./assets/js/list.min.js - 68k
    Wrote ./assets/js/dialog.min.js - 59k
    Wrote ./assets/js/desk.min.js - 1087k
    Wrote ./assets/css/form.min.css - 2k
    Wrote ./assets/js/editor.min.js - 26k
    Wrote ./assets/css/erpnext.css - 2k
    Wrote ./assets/css/desk.min.css - 259k
    Wrote ./assets/css/module.min.css - 2k
    [sudo] password for mksimple:
    frappe-bench-frappe-async-worker: stopped
    frappe-bench-frappe-longjob-worker: stopped
    frappe-bench-frappe-workerbeat: stopped
    frappe-bench-frappe-web: stopped
    frappe-bench-frappe-worker: stopped
    frappe-bench-node-socketio: stopped
    frappe-bench-frappe-async-worker: started
    frappe-bench-frappe-longjob-worker: started
    frappe-bench-frappe-workerbeat: started
    frappe-bench-frappe-web: started
    frappe-bench-frappe-worker: started
    frappe-bench-node-socketio: started

Bench: Open source installer + admin for Frappe and ERPNext (https://erpnext.com)

Please do bench clear-cache
If you can restart your server

Is it only on po or everywhere ?

@ramielian
I did # bench clear-cache, but still not work.
This issue is happening to “Selling”, “Buying” while the Manufacturing - BOM is still working normally.

What browser are you using ?
There is jq function as I recall called refresh its triggered on onload to load the data, did you make any modifications ? Custom scripts ? Added jq js or python?

1 Like

@ramielian[quote=“ramielian, post:15, topic:11997”]
What browser are you using ?
[/quote]
i am using Chrome.

No i did nothing on script custom, except update # bench update

Am afraid more than this I cannot help, have to see by my self to diagnose it

1 Like

Hi,

This is the same issue we are facing here Email Issues After Latest Update - #15 by betabrain

Tried all of this things and still black documents. If anyone want to jump into our system to debug it, we are more than happy to grant you access.

Nathan

1 Like

I am also getting the same problem. I have tried it with both Chrome and Firefox. The message on the console of the browser is : VM169:12 Uncaught SyntaxError: Unexpected token %.
Kindly help to resolve.

-Amit

One more thing, i deleted all existing PO and Invoice, and creating again, but it’s still failed, blank content in “New Material Request”, please refer console error is attached below (couldn’t attach the image, cause the file is over 100Kb):

BOM works normally, no error.

On our side not only the existing documents are blank but when trying to create a new PO for example, all is blank except the are titles and we cannot enter any data. When doing the PDF view of the PO, everything shows fine.

@betabrain @bzero looks like you are on develop branch. I’ve pushed a fix to this.

1 Like

thanks @anand
It could show correctly now.

In addition, i see the below notice from browser console log, not sure if this needs to be approved or not,

@bzero that’s a warning. Unfortunately it will take some effort to replace the code that’s causing the warning. So for now we are ignoring it.

1 Like

thanks @anand
I see.

Another thing i found different is that impossible to change the title of Material Request which didn’t happen before.
Currently, the title is combination of items’s name which is belong to this Material Request.

Did you customize the options of the title field of Material Request? See: https://frappe.github.io/erpnext/user/manual/en/customize-erpnext/document-title.html

@anand
No, i didn’t touch that. Do i need to make custom or leave it by default?
By now, any input for custom title is unchanged, it’s auto reverted to items’s names (like previous attachment)

An update on this matter, the Material Request title could be editable after it’s submitted. The “draft version” is not allowed to edit, it’s auto generate from Items’s code.
Not sure if it’s normal or not.

Please someone share me idea.
Thank you.

Thanks …this bench watch worked for me…
i tried almost everything even reinstalled the app…