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

[16.0][IMP] crm_salesperson_planner: Refactoring of the template to make it usable and with simplified code #559

Merged

Conversation

victoralmau
Copy link
Member

@victoralmau victoralmau commented Mar 25, 2024

FWP from 15.0: #553 + #558

Changes done:

  • Removed the (unnecessary) recurrence field from templates.
  • Recurrence fields (from calendar.event) are set as store=True.
  • Create an onchange to avoid inconsistent values by UX.
  • Modified the form view to make it more functional (similar to calendar.event).
  • Consider in _get_max_date() if a deadline (until) has been set.
  • Refactoring of the template to make it usable and with simplified code.

Before:
antes

After:
despues

Please @sergio-teruel and @pedrobaeza can you review it?

@Tecnativa TT48238

Changes done:

- Removed the (unnecessary) recurrence field from templates.
- Recurrence fields (from calendar.event) are set as store=True.
- Create an onchange to avoid inconsistent values by UX.
- Modified the form view to make it more functional (similar to calendar.event).
- Consider in _get_max_date() if a deadline (until) has been set.

TT48238
@pedrobaeza pedrobaeza added this to the 16.0 milestone Mar 25, 2024
Copy link
Member

@pedrobaeza pedrobaeza left a comment

Choose a reason for hiding this comment

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

/ocabot merge major

@OCA-git-bot
Copy link
Contributor

Hey, thanks for contributing! Proceeding to merge this for you.
Prepared branch 16.0-ocabot-merge-pr-559-by-pedrobaeza-bump-major, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit c77642b into OCA:16.0 Mar 25, 2024
5 of 7 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at d67b985. Thanks a lot for contributing to OCA. ❤️

@pedrobaeza pedrobaeza deleted the 16.0-fix-crm_salesperson_planner-TT48238 branch March 25, 2024 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants