HR Expense Product Policy
HR Expense Product Policy
This module add feature to set up policy regarding product on expense. Product policy that ruled by this module are:
- Force use of product on Expense
- Allowed product that can be used based on employee's department
- Allowed product that can be used based on employee's job
- Allowed product that can be used based on employee himself
Installation
To install this module, you need to:
- Clone the branch 8.0 of the repository https://github.com/OCA/hr
- Add the path to this repository in your configuration (addons-path)
- Update the module list
- Go to menu Setting -> Modules -> Local Modules
- Search For HR Expense Product Policy
- Install the module
Configuration
Force Product Usage To force product usage on expense, you need to:
- Open employee data
- Open HR Setting tab
- Activate Required Expense Product
Hint: You can use mass editing module to apply this rule
Department's Expense Product Policy To set up department's allowed product policy based on product category, you need to:
- Open department data
- Select product category on Allowed Expense Product Category
To set up department's allowed product policy based on specific product, you need to:
- Open department data
- Select product on Allowed Expense Product
Note: * Only product with Can be expense flag turn on can be used, even if that product belong to category specified on Allowed Expense Product Category * Only product with Can be expense flag turn on can be selected on Allowed Expense Product * Final result of allowed product can be seen on All Allowed Expense Products
Job's Expense Product Policy To set up job's allowed product policy based on product category, you need to:
- Open job data
- Select product category on Allowed Expense Product Category
To set up job's allowed product policy based on specific product, you need to:
- Open job data
- Select product on Allowed Expense Product
Note: * Only product with Can be expense flag turn on can be used, even if that product belong to category specified on Allowed Expense Product Category * Only product with Can be expense flag turn on can be selected on Allowed Expense Product * Final result of allowed product can be seen on All Allowed Expense Products
Employee's Expense Product Policy To set up employee's allowed product policy based on product category, you need to:
- Open employee data
- Select product category on Allowed Expense Product Category
To set up employee's allowed product policy based on specific product, you need to:
- Open employee data
- Select product on Allowed Expense Product
To activate product policy, you need to:
- Activate Limit Product Selection
Note: * Only product with Can be expense flag turn on can be used, even if that product belong to category specified on Allowed Expense Product Category * Only product with Can be expense flag turn on can be selected on Allowed Expense Product * Final result of allowed product can be seen on All Allowed Expense Products. The list will be the aggregation of (1) department's product policy, (2) job's product policy, and (3) employee's product policy
Bug Tracker
Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.
Credits
Images
- Odoo Community Association: Icon.
Contributors
- Michael Viriyananda <viriyananda.michael@gmail.com>
- Andhitia Rama <andhitia.r@gmail.com>
Maintainer
This module is maintained by the OCA.
OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.
To contribute to this module, please visit https://odoo-community.org.
Once the user has seen at least one product this snippet will be visible.