brotherton-erpnext/erpnext/selling/doctype
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
..
customer fix!: UX of supplier linking with supplier users on portal pages (#35836) 2023-06-28 11:22:40 +05:30
customer_credit_limit fix(ux): Tab break in Customer and Supplier form 2022-11-09 18:03:23 +05:30
industry_type feat: translate fixtures during runtime, not installation (#33996) 2023-02-14 09:29:27 +05:30
installation_note fix(ux): set route options for new SBB 2023-06-16 15:04:37 +05:30
installation_note_item refactor: added new file serial batch bundle 2023-06-02 17:14:14 +05:30
party_specific_item Allow bulk import of party specific item (#34083) 2023-02-16 10:11:25 +05:30
product_bundle refactor: clean up product bundle client side code (#31455) 2022-06-27 15:54:54 +05:30
product_bundle_item refactor: clean up product bundle client side code (#31455) 2022-06-27 15:54:54 +05:30
quotation fix(ux): set route options for new SBB 2023-06-16 15:04:37 +05:30
quotation_item refactor: Order based alternative items mapping 2023-02-06 16:25:38 +05:30
sales_order fix: Validation for delivery date in Sales Order (#35597) 2023-06-13 21:35:52 +05:30
sales_order_item refactor: add Docstrings for functions 2023-04-05 19:48:15 +05:30
sales_partner_type feat: translate fixtures during runtime, not installation (#33996) 2023-02-14 09:29:27 +05:30
sales_team Merge pull request #28308 from rohitwaghchaure/commision-rate-not-fetch-from-sales-person 2021-11-11 19:11:31 +05:30
selling_settings Merge branch 'develop' into fix-reserve-qty 2023-03-24 23:50:50 -04:00
sms_center style: format code with black 2022-03-28 18:52:46 +05:30
__init__.py chore: remove utf-8 compat code 2021-11-05 11:16:29 +05:30