[Release Notes] ERPNext and Frappe Version 13.2.0

ERPNext Version 13.2.0 Release Notes

Features & Enhancements

  • Employee Hours Utilization Report (#25209)
  • Delayed Tasks Summary Report (#25024)
  • Project Profitability Report (#24944)
  • Timer in LMS Quiz (#24246)
  • Role to allow over billing, delivery, receipt (#24854)
  • Auto calculate distance for e-way bill generations (#25480)
  • Add total available stock field in PO (#24878)
  • Refactored Setup Taxes and Charges (#24805)
  • Inpatient Occupancy Table Editable for Healthcare Admin (#24989)
  • Added Disable Rounded Total in sales transactions (#25362)

Fixes

  • Incorrect GL Entry validation (#25474)
  • Cannot create item variants (#25433)
  • Leave policy in leave allocation (#25334)
  • Let Administrator delete company transactions (#25300)
  • Display reconcile tool when closing balance 0 (#25417)
  • Bulk Salary Structure Assignment (#25389)
  • Payment amount showing in foreign currency (#25518)
  • Commit changes to shipment status in database (#25374)
  • Add amend perm for loan and system manager for loan doctypes (#25393)
  • Cashier query in POS Opening/Closing Entry (#25398)
  • Apply single transaction threshold on net_total instead of supplier credit amount (#25243)
  • Update allocated amount after paid amount is changed in PE (#25528)
  • Remove non-standard module cards from Home Workspace (#25391)
  • Cannot scan spacebar character in pos (#25479)
  • Permission error after submitting exchange rate revaluation (#25432)
  • Equality check instead of assignment in cart (#25372)
  • Disable auto naming of customer during import (#25152)
  • Additional Salary component amount not getting set (#25355)
  • Round off values near to zero (#25304)
  • Allow to cancel loan with cancelled repayment entry (#25508)
  • Currency symbol in bank transaction list view (#25336)
  • Incorrect batch picked in subcontracted purchase receipt (#25186)
  • Issue in project custom status (#25452)
  • Shipment pickup_to, pickup_from functionality. (#25359)
  • Stock ledger entry created against draft stock entry (#25539)
  • Ageing errors in PSOA (#25529)
  • Permission error while adding weekly holidays (#25450)
  • Filter for employees in salary slip (#25360)
  • Backward compatibility for GSTR-1 report (#25444)
  • Incorrect incoming rate for the sales return (#25145)
  • POS print receipt (#25328)
  • Laboratory Module patch (#25431)
  • Performance: fetching exchange rate on every line item slows down PO (#25345)
  • Presentation currency in statement of accounts (#25367)
  • Serial No not updated correctly via Inter Company Stock Transfer (#25006)
  • Ignore Customer Group Perm on All Products page (#25396)
  • Change subcontracted item display (#25425)
  • Add company validation for e-invoicing (#25348)

Frappe Version 13.2.0 Release Notes

Features & Enhancements

  • Add option to mention a group of users (#12844)
  • Copy DocType / documents across sites (#12872)
  • Scheduler log in notifications (#1135)
  • Add Enable/Disable Webhook via Check Field (#12842)
  • Allow query/custom reports to save custom data in the json field (#12534)

Fixes

  • Load server translations in boot (backport #12848) (#12852)
  • Allow to override dashboard chart properties type/color (#12846)
  • Multi-column paste in grid (#12861)
  • Add log_error and FrappeClient to restricted python (#12857)
  • Redirect Web Form user directly to success URL, if no amount is due (#12661)
  • Attachment pill lock icon redirects to File (#12864)
  • Redirect Web Form user directly to success URL, if no amount is due (backport #12661) (#12856)
  • Remove events to redraw charts (#12973)
  • Don’t allow user to remove/change data source file in data import (#12827)
  • Load server translations in boot (#12848)
  • Newly created Workspace not being accessible unless a shortcut u… (#12866)
  • Currency labels in grids (#12974)
  • Handle error while session start (#12933)
  • Add field type check in custom field validation (#12858)
  • Make language select optional and fix breakpoint issues (#12860)
  • Form Dashboard reference link (#12945)
  • Invalid HTML generated by the base template (#12953)
  • Default values were not triggering change event (#12975)
  • Make strings translatable (#12877)
  • Added build-message-files command (#12950)
16 Likes

complete error message - wondering of somehow related to python / environment. My environment was already python3 - I checked with python -V command. Also did a bench migrate-env python3. Is anybody else seeing this error? Why is it pointing to another repo named frappe at https://github.com/grafos-ml/frappe ?

WARNING: Discarding https://files.pythonhosted.org/packages/f6/9d/658c5c54186e860bde0a3c1425bbd65b9d31e0bc212e780520746cd4f9ce/frappe-2.0.1.tar.gz#sha256=7ce96e27fd85398cc198fd1b3273f729f7d92abce8adb25db5b0bd30f080105e (from https://pypi.org/simple/frappe/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
    ERROR: Command errored out with exit status 1:
     command: /home/frappe/frappe-bench/env/bin/python -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-2r6hj1aq/frappe_522e79095c85422a912e29afb66f5fd6/setup.py'"'"'; __file__='"'"'/tmp/pip-install-2r6hj1aq/frappe_522e79095c85422a912e29afb66f5fd6/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-s6q6gj5q
         cwd: /tmp/pip-install-2r6hj1aq/frappe_522e79095c85422a912e29afb66f5fd6/
    Complete output (12 lines):
    Traceback (most recent call last):
      File "/tmp/pip-install-2r6hj1aq/frappe_522e79095c85422a912e29afb66f5fd6/setup.py", line 7, in <module>
        import testfm
    ModuleNotFoundError: No module named 'testfm'
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-2r6hj1aq/frappe_522e79095c85422a912e29afb66f5fd6/setup.py", line 9, in <module>
        raise LookupError("You must have test.fm >= 1.0.4 installed before (https://github.com/grafos-ml/frappe)")
    LookupError: You must have test.fm >= 1.0.4 installed before (https://github.com/grafos-ml/frappe)

working for me. try doing a hard git reset.

Resolved this issue by manually pulling the update on an instance where bench update was not applied (failed update to v13.2). I was able to restore an earlier snapshot (lxd) and then do the manual update as below… For my reference (and in case anyone else faces this error)…

For install without customizations:

cd ~/frappe-bench/apps/frappe
git reset --hard HEAD
git checkout version-13
git pull

cd ~/frappe-bench/apps/erpnext
git reset --hard HEAD
git checkout version-13
git pull

cd ~/frappe-bench  (in frappe-bench directory)
bench setup requirements
bench build
bench --site all migrate
bench restart
4 Likes

What does this mean?

Already on ‘version-13’
Your branch and ‘upstream/version-13’ have diverged,
and have 1 and 1 different commits each, respectively.
(use “git pull” to merge the remote branch into yours)

when i use git pull

fatal: refusing to merge unrelated histories

same for both Frappe & ERPNext

@Aditya_Bagarka I had the exact same issue - in the frappe directory after I had run the failed bench update command. I think it is something due to an earlier branch being V13 pre-release somehow - even though we were always on version-13 beta and then version-13.

I had to revert back to an earlier snapshot (v13.1 without the bench update) and then run the above commands to manually update frappe and erpnext apps. I do not know why the local and git are divergent - our production instance is clean and has no customizations, etc…

I suggest updating erpnext using above manual method first (as that is where the bench update was failing) and then try running bench update --reset (is same as above manual commands) and see if that somehow resolves this issue. Sorry cant help further…Hopefully the “experts” can guide you further…

Copy DocType / documents across sites

This seems like an interesting addition. any details on how this works and how to use it?

You may check it here https://github.com/frappe/frappe/pull/12872 and my reactions here https://youtu.be/SYol5NEUV08?t=136 .

2 Likes

hi! I cannot update either! I have the same problem posted on top!

same issue with me

It’s a good feature and I experienced it as follows:

Go to a record of any document type, there is a menu copy to the clipboard. then go to another site and in the awesome bar and paste it. the doctype should be same, the record will be created

1 Like

We thank you and the team for your continuous efforts and for your wonderful work :heart_eyes:

1 Like

thanks a lot for all the effort for providing updates and fixes! I really like it.

One question: In the erpnext release notes, there are quite a lot of fixes that do not link to a checkin/merge?
how are you actually defining this information?
and how can I check if this is something that may have an impact/improvement? e.g. * fix: multicurrency

thanks a lot!

When some features are added in ERPnext, a thorough cross-check points needs attention of frappe team.

  1. ERP Next allows to auto name instead of series but one can not hide series filed as its mandatory condition is not being removed.

  2. Doctype layout is a fantastic feature but column name and section name filed requires labels mandatory, which means you can not create a layout at all. Even one can define fields ignoring column break and section break, doc does not open on route defined. As default route still need to be correct.

  3. Auto name for patient allowed but in the healthcare setting, you can not choose the auto name as the option is still not there. so no meaning in this feature.

  4. Custom Script has been renamed to client script but no check to take care for migration of existing custom script. One can not have smooth migration from beta to final version at least. though it should take care reverse migration too. Similar is the case for desk to workspace. No backward compatibility to migrate custom desk designed .

  5. Virtual doctype feature added, extremely powerful feature a test document is there to experience it but no data.json available to experience it.

  6. Customdoc has been added in patient history but bound them with healthcare domain though new custom, in general, will be designed in a different module so you can not add them in patient history.

When I updated, it deleted all the git stash and thereby I can not restore the customizations done. Thankfully i have a backup that i’ll restore it but this can be dangerous. Please be careful when updating.

Hi @CA_B.C_Chechani

Thanks for listing these out. Could you possibly create Github Issues for these as well ?

Cheers

I belive that you can remove the labels after field is created.

Thx for suggestion, Yes I could save doctype layout as suggested but on editing it does not allow to remove labels for column and section.

Now when we click new doctype layout, it opens at a path with a blank page like the below image

It open s at following the path with not found page

https://online.sahajhospital.com/app/enquire/enquire

on removing one enquire like

https://online.sahajhospital.com/app/enquire

Open doctype layout, app path for doctype layout needs to be fixed too

https://online.sahajhospital.com/app/enquire