Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add a button to open the CRM page of the company / contact #10441

Conversation

4nt0ineB
Copy link
Member

What

Added a button in the org and user form visible to admins on the pro platform, which opens their associated CRM page.

Screenshot

@4nt0ineB 4nt0ineB requested a review from a team as a code owner June 13, 2024 14:56
@github-actions github-actions bot added 🧪 tests CSS 🏭 Producers Platform https://wiki.openfoodfacts.org/Platform_for_producers Template::Toolkit The templating toolkit used by product opener. The starting point for HTML/JS/CSS fixes. 👥 Users 🏭 Producers Platform - Odoo OdooCRM is used by the Open Food Facts team to manage producers (and more) relationships config 🌐 Translations labels Jun 13, 2024
@codecov-commenter
Copy link

codecov-commenter commented Jun 13, 2024

Codecov Report

Attention: Patch coverage is 0% with 8 lines in your changes missing coverage. Please review.

Project coverage is 49.49%. Comparing base (dc04d18) to head (dd58645).
Report is 411 commits behind head on main.

Files Patch % Lines
lib/ProductOpener/CRM.pm 0.00% 8 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #10441      +/-   ##
==========================================
- Coverage   49.54%   49.49%   -0.06%     
==========================================
  Files          67       75       +8     
  Lines       20650    21581     +931     
  Branches     4980     5177     +197     
==========================================
+ Hits        10231    10681     +450     
- Misses       9131     9590     +459     
- Partials     1288     1310      +22     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

sonarcloud bot commented Jun 13, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link
Contributor

@stephanegigandet stephanegigandet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thank you!

@stephanegigandet stephanegigandet merged commit 687cbbb into openfoodfacts:main Jun 17, 2024
13 checks passed
@4nt0ineB 4nt0ineB deleted the open-org-in-crm-from-pro-platform-btn branch July 12, 2024 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
config CSS 🏭 Producers Platform - Odoo OdooCRM is used by the Open Food Facts team to manage producers (and more) relationships 🏭 Producers Platform https://wiki.openfoodfacts.org/Platform_for_producers Template::Toolkit The templating toolkit used by product opener. The starting point for HTML/JS/CSS fixes. 🧪 tests 🌐 Translations 👥 Users
Projects
Status: Done
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants