No description
Find a file
Andy Zhu 138c7841c2
fix: set_primary and set_primary_email bug (#12299)
* fix: set_primary and set_primary_email bug

When user untick the `is_primary_phone` or `is_primary_mobile` from the contact numbers table, we should reset the phone, mobile number etc.
Same goes for the email address table.

* Update frappe/contacts/doctype/contact/contact.py

fix variable naming as suggested

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>

* Update frappe/contacts/doctype/contact/contact.py

fix variable naming as suggested

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>

* Update frappe/contacts/doctype/contact/contact.py

fix variable naming as suggested

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>

* Update frappe/contacts/doctype/contact/contact.py

fix variable naming as suggested

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>

* Update frappe/contacts/doctype/contact/contact.py

fix variable naming as suggested

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>

* Update frappe/contacts/doctype/contact/contact.py

fix variable naming as suggested

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>

* test: Set empty string instead of none for number

Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
Co-authored-by: Suraj Shetty <surajshetty3416@gmail.com>
2021-03-10 05:02:50 +00:00
.github chore: add semgrep linting (#12524) 2021-03-09 12:04:09 +05:30
.travis debug(tests): test_workflow 2020-08-17 09:56:45 +05:30
cypress test: Reset recorder before each test to avoid flaky tests (#12554) 2021-03-09 22:27:16 +05:30
frappe fix: set_primary and set_primary_email bug (#12299) 2021-03-10 05:02:50 +00:00
rollup fix: Support single file builds in build.json 2020-09-28 17:18:54 +05:30
.editorconfig chore: Add .editorconfig to enforce consistent styling (#12021) 2020-12-01 16:34:19 +05:30
.eslintignore fix: Miscellaneous changes (#12343) 2021-02-08 12:05:37 +05:30
.eslintrc chore: add localforage to globals in .eslintrc 2021-02-18 18:35:17 +05:30
.gitignore feat(minor): Build Workspace, renamed frappe.views.Views => frappe.views.ListViewSelect, fixed recurring dependency issue on grids 2021-01-02 14:04:32 +05:30
.mergify.yml chore: Semantic PR check is not required if Squash label is added 2021-02-09 22:40:51 +05:30
.pylintrc reactor(scheduler): created "Scheduler Job Type" and cleaned up scheduler 2019-11-07 12:14:09 +05:30
.semgrep.yml chore: add semgrep linting (#12524) 2021-03-09 12:04:09 +05:30
.snyk [Snyk] Fix for 1 vulnerabilities (#11523) 2020-09-17 10:00:48 +05:30
.stylelintrc fix: Miscellaneous changes (#12343) 2021-02-08 12:05:37 +05:30
.travis.yml fix: Temporarily use firefox for testing 2021-03-07 19:14:31 +05:30
attributions.md Non Pour Accent! (#5427) 2018-04-10 22:53:42 -08:00
bandit.yml fix(tests): tests and linting 2019-02-13 16:50:34 +05:30
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2017-09-12 09:14:34 +05:30
CODEOWNERS chore: Update CODEOWNERS 2021-03-09 13:11:47 +05:30
cypress.json chore: Enable cypress retries 2021-02-01 07:36:04 +05:30
generate_bootstrap_theme.js style: sider suggestions 2020-09-18 16:28:11 +05:30
hooks.md Non Pour Accent! (#5427) 2018-04-10 22:53:42 -08:00
LICENSE Update LICENSE 2018-04-12 17:27:20 +05:30
Makefile [NEW] Makefile to clean cache without restart 2018-03-08 15:18:32 +05:30
node_utils.js fix: Set default site for socketio using env var 2021-02-09 13:39:59 +05:30
package.json revert: "fix: Memory limit for watch command" (#12493) 2021-02-25 20:37:12 +05:30
README.md fix: broken link in README 2020-10-16 08:52:42 +05:30
requirements.txt fix: max_old_space_size limit for node processes (#12494) 2021-03-01 16:43:18 +05:30
SECURITY.md chore: updated Security policy and issue template 2019-10-12 12:06:36 +05:30
setup.py chore: set python_requires to >=3.6 2020-05-13 02:03:12 +05:30
socketio.js refactor: remove unused parameter, minor cleanup 2021-02-16 14:16:30 +05:30
yarn.lock chore: Upgrade caniuse-lite (#12451) 2021-02-22 15:45:06 +05:30


a web framework with "batteries included"

it's pronounced - fra-pay

Full-stack web application framework that uses Python and MariaDB on the server side and a tightly integrated client side library. Built for ERPNext

Table of Contents

Installation

Install via Frappe Bench

Contributing

  1. Contribution Guidelines
  2. Translations

Website

For details and documentation, see the website https://frappeframework.com

License

This repository has been released under the MIT License.