SuiteCRM icon indicating copy to clipboard operation
SuiteCRM copied to clipboard

Fix #9721 - Adding Years option to aow_date_type_list in Workflow ditions

Open SinergiaCRM opened this issue 2 years ago • 0 comments

  • Closes #9721

Description

This PR adds the year option to the aow_date_type_list. Adding the item to the list is enough to make it work. Cause the code will use the internal name as it is.

Screenshot from 2022-08-02 15-23-05

Motivation and Context

This small change will add improve functionality

How To Test This

  1. Create a workflow based in Contacts
  2. Select Birthdate field in conditions
  3. Select Today, "+" and check it appears condition
  4. Select the condition and trigger an action to test it.

Types of changes

  • [x] Bug fix (non-breaking change which fixes an issue)
  • [ ] New feature (non-breaking change which adds functionality)
  • [x] Breaking change (fix or feature that would cause existing functionality to change)

Final checklist

  • [x] My code follows the code style of this project found here.
  • [ ] My change requires a change to the documentation.
  • [x] I have read the How to Contribute guidelines.

SinergiaCRM avatar Aug 02 '22 13:08 SinergiaCRM