By default, switching HR contract between states is utilized by clicking a state at the header bar. This has no problem until we do need something like a workflow control. For example, cancel a contract is not allowed when it has an unposted payslip, etc.
This module help HR Contracts actions for better workflow control.
This module offers the following changes.
Add action buttons in status bar to help manage contract stages even if the contract has been disabled.
The following buttons to create a simple workflow for the contract have been added.
Start: to start the HR contract.
Set as To Renew: to set the contract as 'To Renew' state.
Close: to set the contract to Expired (closed).
Cancellation: to cancel the contract.
Renew: to renew the contract, set the contract to Running status.
Set to New: to set the Contract to New (Draft) state.
After creating a contract, by default, updating the state of the contract is done by clicking on the title bar. This makes it difficult for managers to control the workflow. This module will add buttons to update the state of the labor contract. Go to Payroll > Employees > Contracts > Create, these buttons will be added based on the current state of the contract:
After setting up the necessary information on the Contract, at the New state, you click the Start button to start running the contract.
At the Running state, about 7 days before the end of the contract, the software will automatically change the Contract to red status (Pending to be renewed) or you can also mark this contract as coming expiration date by clicking Set as to Renew.
At this state, if the contract has expired, you can click the Close button to change the Contract state to Expired.
In addition, when the contract is no longer used, you press the Cancel button, the contract will change to the Cancelled status. Then you create a monthly payroll that will no longer be linked to this contract.
This software and associated files (the "Software") may only be
(executed, modified, executed after modifications) if you have
valid license from the authors, typically via Odoo Apps,
or if you
received a written agreement from the authors of the
Software (see the
You may develop Odoo modules that use the Software as a library
by depending on it, importing it and using its
copying any source code or material from the
Software. You may distribute
those modules under the license of your
choice, provided that this
is compatible with the terms of
the Odoo Proprietary License (For
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
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT
AUTHORS OR COPYRIGHT HOLDERS
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN
ACTION OF CONTRACT, TORT OR OTHERWISE,
FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE