Skip to content

Commit

Permalink
Merge pull request #59 from kmee/add/website_hr_recruitment_display_d…
Browse files Browse the repository at this point in the history
…escription

[ADD] website_hr_recruitment_display_description: new module
  • Loading branch information
mileo authored Oct 30, 2024
2 parents b65dc75 + 4ebb867 commit 46c6aff
Show file tree
Hide file tree
Showing 14 changed files with 596 additions and 0 deletions.
6 changes: 6 additions & 0 deletions setup/website_hr_recruitment_display_description/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)
85 changes: 85 additions & 0 deletions website_hr_recruitment_display_description/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
==========================================
Website Hr Recruitment Display Description
==========================================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:ec30a4cb8686b4cf1d254a0bde5941649ab476fdcf6e5b8c787f23666daf36b2
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fkmee--odoo--addons-lightgray.png?logo=github
:target: https://github.com/OCA/kmee-odoo-addons/tree/16.0/website_hr_recruitment_display_description
:alt: OCA/kmee-odoo-addons
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/kmee-odoo-addons-16-0/kmee-odoo-addons-16-0-website_hr_recruitment_display_description
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/kmee-odoo-addons&target_branch=16.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module inserts the job description on the website, just below the
location.

**Table of contents**

.. contents::
:local:

Usage
=====

After checking the "Website display description", the job description
will be inserted just below the job location

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/kmee-odoo-addons/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/kmee-odoo-addons/issues/new?body=module:%20website_hr_recruitment_display_description%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* KMEE

Contributors
------------

- ``KMEE <https://www.kmee.com.br>``\ \_:

- Bruno Corredato Botti

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

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.

This module is part of the `OCA/kmee-odoo-addons <https://github.com/OCA/kmee-odoo-addons/tree/16.0/website_hr_recruitment_display_description>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions website_hr_recruitment_display_description/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
17 changes: 17 additions & 0 deletions website_hr_recruitment_display_description/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Copyright 2024 KMEE
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).

{
"name": "Website Hr Recruitment Display Description",
"summary": """
Display the job description on website""",
"version": "16.0.1.0.0",
"license": "AGPL-3",
"author": "KMEE,Odoo Community Association (OCA)",
"website": "https://github.com/KMEE/kmee-odoo-addons",
"depends": ["website_hr_recruitment"],
"data": [
"views/hr_job.xml",
"views/website_hr_job.xml",
],
}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import hr_job
10 changes: 10 additions & 0 deletions website_hr_recruitment_display_description/models/hr_job.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
from odoo import fields, models


class Job(models.Model):
_inherit = "hr.job"

website_display_description = fields.Boolean(
string="Mostrar descrição no site",
default=True,
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
* `KMEE <https://www.kmee.com.br>`_:

* Bruno Corredato Botti
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This module inserts the job description on the website, just below the location.
1 change: 1 addition & 0 deletions website_hr_recruitment_display_description/readme/USAGE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
After checking the "Website display description", the job description will be inserted just below the job location
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 46c6aff

Please sign in to comment.