HR Zodiac
Enhance your HR with Astrological Insights
Key Features
- Automatic Calculation: Zodiac signs and symbols are automatically calculated based on birth dates
- Visual Display: Clear presentation of zodiac information on employee forms
- Advanced Filtering: Search and group employees by their zodiac signs
- Zero Configuration: Works immediately after installation with no setup required
- Lightweight: Minimal impact on system performance
Employee Details Enhanced
Enhance your employee profiles with astrological information
- Zodiac sign appears alongside other personal information
- Both the sign name (e.g., "Aries") and symbol (e.g., "â") are displayed
- Information appears automatically once birth date is entered
- No additional data entry required
Advanced Filtering
Easily organize employees by zodiac sign
- Filter the employee list to show only specific zodiac signs
- Group employees by zodiac sign for a quick overview
- Combine with other filters for powerful employee segmentation
- Perfect for planning team activities or celebrations
Use Cases
Team BuildingCreate teams with complementary zodiac signs for special projects or activities |
Birthday CelebrationsInclude zodiac-themed elements in employee birthday celebrations |
Ice BreakersUse zodiac information as conversation starters in new team formations |
Technical Information
Simple but powerful implementation
- Adds computed fields to the HR Employee model
- Calculations are triggered only when birth dates change
- Compatible with both Odoo Community and Enterprise editions
Installation
Install this module through the Odoo Apps store or by uploading the module to your Odoo instance.
No configuration is needed - the module works automatically once installed!
Need Help?
Support: For any questions or support, please
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Employees (hr)
• Discuss (mail) |
| Lines of code | 86 |
| Technical Name |
hr_zodiac |
| License | LGPL-3 |
| Website | https://www.bigdata.by |
HR Zodiac
Table of Contents
Overview
The HR Zodiac module adds astrological information to your employee records by automatically computing zodiac signs and symbols based on birth dates. This creates a fun and engaging addition to the standard HR module, perfect for team building and creating a more personalized employee experience.
Features
Zodiac Sign Computation
- Automatic Calculation: Zodiac signs and symbols are computed automatically based on employee birth dates
- Western Zodiac: Includes all 12 zodiac signs from the Western astrological tradition
- Real-time Updates: Information is recalculated whenever a birth date is changed
- Complete Coverage: Handles all date ranges accurately, including edge cases
User Interface Integration
- Employee Form Integration: Zodiac information appears directly in the employee form view
- Symbol Display: Includes both the zodiac sign name (e.g., "Aries") and its symbol (e.g., "♈")
- Conditional Display: Zodiac information only appears when a birth date is set
- Clean Design: Integrates seamlessly with the existing HR module interface
Search and Filtering
- Zodiac Filters: Filter employee lists to show only employees with specific zodiac signs
- Group By Functionality: Group employees by zodiac sign for easy visualization
- Combination Filtering: Combine zodiac filters with other criteria for advanced employee segmentation
- Comprehensive Coverage: All 12 zodiac signs are available as filter options
Installation
Prerequisites
- Odoo 16.0
- HR module installed
Standard Installation
- Download the module from the Odoo Apps store or from the GitHub repository
- Place the module in your Odoo addons directory
- Update the module list in Odoo
- Install the module from the Apps menu
Configuration
No configuration is needed for this module. It works automatically once installed.
Usage
Viewing Zodiac Information
- Navigate to Employees in the main menu
- Open an employee record that has a birth date set
- The zodiac sign and symbol will appear in the personal information section
Filtering by Zodiac Sign
- Go to the Employees list view
- Click on the Filters dropdown
- Select one of the zodiac signs from the filter options
- The list will update to show only employees with the selected zodiac sign
Grouping by Zodiac Sign
- Go to the Employees list view
- Click on the Group By dropdown
- Select Zodiac Sign from the options
- The list will be grouped by zodiac sign, showing how many employees fall under each sign
Technical Details
Models
The module extends the hr.employee model with two new computed fields:
- zodiac_sign: Character field that stores the name of the zodiac sign
- zodiac_symbol: Character field that stores the symbol of the zodiac sign
Both fields are computed based on the employee's birth date using the _compute_zodiac method.
Zodiac Calculation Logic
The zodiac sign is determined by checking which date range the birth date falls into:
- Aries: March 21 - April 19 (♈)
- Taurus: April 20 - May 20 (♉)
- Gemini: May 21 - June 20 (♊)
- Cancer: June 21 - July 22 (♋)
- Leo: July 23 - August 22 (♌)
- Virgo: August 23 - September 22 (♍)
- Libra: September 23 - October 22 (♎)
- Scorpio: October 23 - November 21 (♏)
- Sagittarius: November 22 - December 21 (♐)
- Capricorn: December 22 - January 19 (♑)
- Aquarius: January 20 - February 18 (♒)
- Pisces: February 19 - March 20 (♓)
The implementation handles edge cases like leap years and the Capricorn sign which spans from one year to the next.
Views
The module extends the following views:
- hr.view_employee_form: Adds zodiac fields to the employee form view
- hr.view_employee_filter: Adds filtering and grouping options for zodiac signs
Testing
The module includes comprehensive tests that verify:
- Correct zodiac sign computation for each date range
- Handling of empty birth dates
- Proper updating of zodiac information when birth dates change
License
This module is licensed under the LGPL-3 license.
Please log in to comment on this module