Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
Attendances (hr_attendance)
• Point of Sale (point_of_sale) • Employees (hr) • Discuss (mail) • Inventory (stock) • Invoicing (account) |
Lines of code | 224 |
Technical Name |
tips_distribution_analysis |
License | OPL-1 |
Versions | 17.0 18.0 |
Tips Distribution Analysis
This module allows to distribute collected tips according to defined rules
Conditions
Each department is assigned a ratio of the tips that are gotten
Each employee has an eligbility factor between 0 and 1 that affects the proportion of tips they get (eg. to show seniority)
The time employee spends during the day (from attendance) is taken into consideration. eg. With all other things being equal, someone who spends the full day will get more tips than another person (from the same department) who spends less time.
When tips are allocated to a department and there is no employee from that department on that day to receive the tips, those tips are redistributed, in proportion, back to the other departments
User Guide
Enable Is Tip for the tip product

Setup the percentage of the tips each department gets.

Setup eligibility ratio based on job position (eg. To reflect seniority level).

Ensure every employee has a department and a job position or they wont be considered in the analysis.
View results in Tips Distribution Analysis menu in point of sale module

Example
Tips received in a particular day is $10. Assuming eligbility factors of all job roles are 1 and the departments distribution ratio is as below:
Department | Ratio |
---|---|
Cleaning | 20 |
Kitchen | 35 |
Service | 45 |
Below is how the tips will be distributed (notice the difference in time worked):

Derived Mathematical Formula
Allocated tip per employee per day = Weighted employee time worked and eligibility factor per day ((Tip given per day x Department's allocated ratio) + (Redistributed tip given per day X Redistributed department ratio))
- Weighted Employee Time Worked and Eligibility Factor per day = (Time worked per day * Employee's eligibility factor) / SUM(Time worked per day * Employee's eligibility factor) for each employee in the department)
- Redistributed tip given per day = Tip amount per day - Actual allocated tip per day (Tips can be unallocated if a dept. with allocation has no employee that woorked on the day or all employees in a dept. have no eligibility factor)
- Redistributed department ratio = Employee department's distribution ratio / Total distribution ratio of departments with allocation
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module