brotherton-erpnext/erpnext/utilities
Gursheen Kaur Anand 5113a417a1
fix!: UX of supplier linking with supplier users on portal pages (#35836)
* fix: create and add Portal Users child table in Supplier/Customer

Issue #35772

* fix: modify the original permission check hook

* fix: auto-add role for portal users

* fix: added patch for auto-populating portal users

* fix: modify patch to fetch users correctly

* fix: remove unnecessary code for updating naming_series

* fix(UX): show portal user in list view

Also split columns to reduce whitespace.

* refactor: simpler role checking

* fix: consider parenttype while fetching portal user

* refactor: simpler code, rename variable

* test: supplier portal user can access their docs

* refactor: only add role if not added

* refactor: rename and move patch to supplier

* refactor: dont add role if no perm or existing doc

* fix: add role before save

* refactor: run query directly

* refactor: split patch and apply roles

- if role isn't present dont add portal user
- ignore failure as it's not critical

* test: fix permission creation for webform test

---------

Co-authored-by: Ankush Menat <ankush@frappe.io>
2023-06-28 11:22:40 +05:30
..
doctype fix!: UX of supplier linking with supplier users on portal pages (#35836) 2023-06-28 11:22:40 +05:30
report fix: bulk fix (~330) missing translations 2022-04-04 13:59:51 +05:30
web_form chore: remove all six compat code 2021-11-05 11:16:29 +05:30
__init__.py refactor: make payments app a soft dependency (#33245) 2022-12-08 16:40:13 +05:30
activation.py test: fix Employee and Activation test 2022-07-01 10:34:32 +05:30
bulk_transaction.py fix: Bulk Payment Entry from PO/SO (#34942) 2023-04-25 19:16:30 +05:30
naming.py refactor!: drop naming series tool (#31183) 2022-05-31 15:35:40 +05:30
product.py chore: Update tests 2022-12-08 18:04:40 +05:30
README.md moved modules inside erpnext folder 2013-12-11 10:43:52 +05:30
transaction_base.py Merge branch 'develop' into FIX-ISS-22-23-06369 2023-04-03 14:26:09 +05:30

Common utilities / DocTypes.