Commit graph

274 commits

Author SHA1 Message Date
barredterra
5280cc58f4 refactor: address query 2024-07-24 10:30:35 +02:00
barredterra
c4e35ba5be fix(Contact): set address query and buttons from links 2024-07-01 18:10:47 +02:00
gavin
9d73477e60
Merge pull request #26771 from barredterra/contact-vcard
feat: download Contact as vCard
2024-06-27 11:03:22 +02:00
barredterra
be29009e4a refactor: only one access log for bulk contact export 2024-06-26 20:03:25 +02:00
barredterra
e61f1f99d6 fix: check permission and create access log 2024-06-18 12:47:51 +02:00
barredterra
9d19701e56 feat: download contact list as vCards 2024-06-16 18:19:48 +02:00
barredterra
b53203e14c feat: download Contact as vCard 2024-06-16 17:49:16 +02:00
barredterra
be90d5556e feat: set the only email address as primary
Some features rely on the Contact having the primary email set. If the Contact has only one email address, we can mark it as primary automatically. Only if there are more than one  addresses available, the user has to choose which one should be set as primary.
2024-06-13 17:38:09 +02:00
Ankush Menat
b63295d25c
fix: contact link with autoincr (#26642) 2024-06-03 04:59:48 +00:00
Akhil Narang
1c6ba0cf82
fix(address_query): show search fields in description if set
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-05-31 11:36:10 +05:30
Akhil Narang
b0a7d62a9e
fix(address_query): use title field if set
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-05-27 13:56:12 +05:30
Ankush Menat
1defbf5be8
fix: Apply configured perms on address list (#26334) 2024-05-06 12:08:06 +00:00
Nabin Hait
6a6193a26b fix: Column 'creation' in order clause was ambiguous 2024-04-04 13:02:08 +05:30
Ankush Menat
3896296c6f fix: update sort order in doctypes 2024-03-27 11:18:28 +05:30
Corentin Flr
5563c925a5
feat(address): Add no_title param to get_condensed_address Jinja filter (#24949) 2024-02-23 05:46:14 +00:00
Akhil Narang
3f1e19de85
refactor(treewide): enable RUF rules
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-02-21 16:20:28 +05:30
barredterra
bbd42839e3 fix: invite contact as user 2024-02-16 20:43:37 +01:00
Akhil Narang
26ae0f3460
fix: ruff fixes
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
2024-02-07 17:04:31 +05:30
Ankush Menat
de9ac89748 style: re-format with ruff 2024-02-05 18:53:33 +05:30
Ankush Menat
7487df22c9 refactor: use frappe.get_system_settings
because it's cached and doesn't hit frappe.db at all.
2024-02-02 18:43:43 +05:30
David Arnold
608f2ed20b
test: make phone number unique bis (#24367) 2024-01-16 10:56:47 +05:30
David Arnold
62148f9ecd
test: make phone number unique 2024-01-14 16:51:14 +01:00
Hussain Nagaria
8d2137c265 docs: consistent doc strings 2023-12-18 18:27:39 +05:30
Corentin Flr
4f809630c5
fix: Set sort_order to DESC if sort_field is modified (#23697)
Global search and replace operation, including single doctypes where it does not really matter.
2023-12-13 09:52:14 +05:30
Ankush Menat
8129fe7268
fix: Avoid duplicate contact names (#23731) 2023-12-11 17:15:37 +05:30
Ankush Menat
c6371cbdd0 fix: increase length for address lines
140 char default limit is often not enough as demonstrated here https://github.com/frappe/frappe/issues/23259
2023-11-20 17:29:00 +05:30
Sagar Vora
e8cbf61e6a
fix: revert unintentional quick entry default for Address (#22974) 2023-10-30 15:23:25 +05:30
Ankush Menat
8df5402b1f refactor: change kwarg name
frappe.call is oversmart about this particular name
2023-10-17 22:06:56 +05:30
Ankush Menat
3e19fb36a7
refactor: Split address render function (#22784)
This function can be used as utility where permssion checks might not be
required.
2023-10-17 14:07:31 +00:00
Ankush Menat
bac5f76247 fix: Apply address all perm only if owner 2023-10-11 11:48:51 +05:30
rohitwaghchaure
34fe6661c0
fix: e-commerece test cases (#22663) 2023-10-09 11:49:41 +05:30
Deepesh Garg
99bec229fb chore: remove unintentional json updated 2023-10-02 16:51:09 +05:30
Deepesh Garg
89fa201d9b chore: remove unintentional json updated 2023-10-02 16:49:36 +05:30
Deepesh Garg
ca726a82b4 fix: Give All role permission to read/create own address and contact 2023-10-02 16:12:41 +05:30
Sagar Vora
20178bd3eb fix: improved validation for address and contact 2023-09-29 12:04:38 +05:30
Raffael Meyer
59620c4b34
Merge branch 'develop' into use-existing-fullname 2023-08-10 11:29:02 +02:00
barredterra
88c8baa9ee refactor: for append to extend, merge list extend
Replace a for append loop with list extend.
Create the list with values instead of creating
an empty list and extending it with another list.
2023-08-09 13:25:39 +02:00
barredterra
8a5d667c85 fix(Contact): use existing full name 2023-08-09 13:11:54 +02:00
barredterra
b553ed98d8 refactor: inline immediately returned variable
Inline a variable to a return in the case when the
variable being declared is immediately returned
2023-08-08 18:09:49 +02:00
barredterra
a4385be70c fix: pass email as value 2023-07-24 16:02:22 +02:00
Ankush Menat
927cd647e4 chore: generate type annotations 2023-07-24 15:32:48 +05:30
Raffael Meyer
b6cd6535db
feat: better Email search (#20323)
* refactor: get_contact_list

* test: get_contact_list

* feat: search all emails, not just the primary one
2023-07-17 00:40:17 +05:30
Sagar Vora
b4f1a2328b
fix: ignore naming series validation when generating repeated address name (#21568) 2023-07-10 10:51:55 +05:30
Suraj Shetty
d2b7f47709
Merge pull request #19734 from barredterra/load-address-and-contact-display 2023-05-24 15:39:04 +05:30
Marica
3b5ff3dbb7
fix: get_default_address must accept 'Nonetype' name (#21022) 2023-05-17 11:11:57 +05:30
Raffael Meyer
440cde45f7
refactor: get_default_address (#20962) 2023-05-16 08:51:50 +05:30
Ritwik Puri
4b103888a7
chore: remove default None from address_dict param 2023-05-06 22:48:19 +05:30
Ritwik Puri
88bdefcc30
fix: type hints for get_address_display (#20923) 2023-05-06 21:36:07 +05:30
Raffael Meyer
0473f7b44f
feat: helper method for address display (#20900) 2023-05-04 23:36:58 +05:30
Raffael Meyer
fc10325074
fix: improve delete_contact_and_address (#20381) 2023-04-24 18:51:42 +05:30