-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TA#24579 add module show_project_perdiem (#122)
* TA#24579 add module show_project_perdiem
- Loading branch information
Showing
33 changed files
with
971 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
Show Project Per Diem | ||
===================== | ||
This module allows to define ``Per Diem`` on shows. | ||
|
||
Configuration | ||
------------- | ||
As ``Project / Manager``, under ``Project / Configuration / Per Diem Types``, | ||
I find the list of per diem types. | ||
|
||
.. image:: static/description/perdiem_type_list.png | ||
|
||
.. image:: static/description/perdiem_type_form.png | ||
|
||
Tour Configuration | ||
------------------ | ||
As ``Project / Manager``, I go to a project of type ``Tour``. | ||
|
||
I notice a new tab ``Per Diem`` containing a table. | ||
|
||
.. image:: static/description/tour_form.png | ||
|
||
This table allows to define unit amounts to pay for a given type of per diem. | ||
|
||
.. | ||
It is not possible to define multiple lines with the same per diem type. | ||
|
||
Usage | ||
----- | ||
As ``Project / Manager``, I go to a project of type ``Show``. | ||
|
||
In the tab ``Per Diem``, I notice a table ``Per Diem To Apply``. | ||
|
||
.. image:: static/description/show_perdiem_to_apply.png | ||
|
||
This table allows to define quantities of each type of per diem that are applicable | ||
for this show. | ||
|
||
.. | ||
It is not possible to define multiple lines with the same per diem type. | ||
|
||
I click on the button ``Compute Per Diem To Pay``. | ||
|
||
.. image:: static/description/show_perdiem_button.png | ||
|
||
The table below is filled with lines of per diem to pay, based on the quantities | ||
defined on the show and the unit amounts defined on the tour. | ||
|
||
.. image:: static/description/show_perdiem_computed.png | ||
|
||
Each per diem is applicable for every member of the show. | ||
|
||
.. image:: static/description/show_members.png | ||
|
||
Contributors | ||
------------ | ||
* Numigi (tm) and all its contributors (https://bit.ly/numigiens) | ||
|
||
More information | ||
---------------- | ||
* Meet us at https://bit.ly/numigi-com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# © 2021 - today Numigi (tm) and all its contributors (https://bit.ly/numigiens) | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
|
||
from . import models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# © 2021 - today Numigi (tm) and all its contributors (https://bit.ly/numigiens) | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
|
||
{ | ||
"name": "Show Project Per Diem", | ||
"summary": "Add perdiems on shows", | ||
"version": "1.0.0", | ||
"website": "https://bit.ly/numigi-com", | ||
"author": "Numigi", | ||
"maintainer": "Numigi", | ||
"license": "AGPL-3", | ||
"installable": True, | ||
"depends": [ | ||
"show_project", | ||
"show_project_role", | ||
], | ||
"data": [ | ||
"security/ir.model.access.csv", | ||
"views/project_perdiem_type.xml", | ||
"views/project_project.xml", | ||
"views/menu.xml", | ||
], | ||
"demo": [ | ||
"demo/project.perdiem.type.csv", | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
id,name | ||
perdiem_type_breakfast,Breakfast | ||
perdiem_type_lunch,Lunch | ||
perdiem_type_supper,Supper |
Oops, something went wrong.