Skip to content

Commit

Permalink
Merge a0781bd into 62e9a2c
Browse files Browse the repository at this point in the history
  • Loading branch information
luismalta committed Dec 18, 2019
2 parents 62e9a2c + a0781bd commit 752180a
Show file tree
Hide file tree
Showing 30 changed files with 2,045 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .isort.cfg
@@ -1,2 +1,2 @@
[settings]
known_third_party = dateutil,erpbrasil,odoo,requests,setuptools
known_third_party = dateutil,erpbrasil,odoo,pytz,requests,setuptools,workalendar
136 changes: 136 additions & 0 deletions l10n_br_resource/README.rst
@@ -0,0 +1,136 @@
================
L10n Br Resource
================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |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%2Fl10n--brazil-lightgray.png?logo=github
:target: https://github.com/OCA/l10n-brazil/tree/10.0/l10n_br_resource
:alt: OCA/l10n-brazil
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/l10n-brazil-10-0/l10n-brazil-10-0-l10n_br_resource
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/124/10.0
:alt: Try me on Runbot

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

This module extends the core resource module to add data for Brazil. It defines a Brazilian calendar and some tools to compute dates used in financial and payroll modules.

**Table of contents**

.. contents::
:local:

Installation
============

To install this module, you need to:

#. Install https://github.com/odoo-brazil/pybrasil

Configuration
=============

Após a instalação do módulo acesse Configurações > Técnico > Recursos > Importar calendário brasileiro. Definir um intervalo, selecionando o seu tipo e intervalo para que o calendário seja carregado.

Usage
=====

To use this module, you need to:

#. Call your methods in modules inherited from it;
#. Add manual calendar leaves manualy if you need;

Known issues / Roadmap
======================

[ Enumerate known caveats and future potential improvements.
It is mostly intended for end-users, and can also help
potential new contributors discovering new features to implement. ]

1. Remove pybrasil from dependencies;
2. Review parent_id many2one field to handle better relation with Odoo core;

Changelog
=========

10.0.1.0.0 (2016-10-02)
~~~~~~~~~~~~~~~~~~~~~~~

* [MIG] Migration to version 10.0


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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/l10n-brazil/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 <https://github.com/OCA/l10n-brazil/issues/new?body=module:%20l10n_br_resource%0Aversion:%2010.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
~~~~~~~~~~~~

* Luis Felipe Mileo <mileo@kmee.com.br>
* Luiz Divino <luiz.divino@kmee.com.br>
* Hendrix Costa <hendrix.costa@kmee.com.br>
* Bruna Braga <bruna.braga@kmee.com.br>

Other credits
~~~~~~~~~~~~~

The development of this module has been financially supported by:

* KMEE INFORMATICA LTDA

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.

.. |maintainer-mileo| image:: https://github.com/mileo.png?size=40px
:target: https://github.com/mileo
:alt: mileo
.. |maintainer-hendixcosta| image:: https://github.com/hendixcosta.png?size=40px
:target: https://github.com/hendixcosta
:alt: hendixcosta
.. |maintainer-lfdivino| image:: https://github.com/lfdivino.png?size=40px
:target: https://github.com/lfdivino
:alt: lfdivino

Current `maintainers <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-mileo| |maintainer-hendixcosta| |maintainer-lfdivino|

This module is part of the `OCA/l10n-brazil <https://github.com/OCA/l10n-brazil/tree/10.0/l10n_br_resource>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
4 changes: 4 additions & 0 deletions l10n_br_resource/__init__.py
@@ -0,0 +1,4 @@
# Copyright 2016 KMEE - Hendrix Costa <hendrix.costa@kmee.com.br>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from . import models, wizards
23 changes: 23 additions & 0 deletions l10n_br_resource/__manifest__.py
@@ -0,0 +1,23 @@
# Copyright 2016 KMEE
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

{
"name": "L10n Br Resource",
"summary": """
This module extend core resource to create important brazilian
informations. Define a Brazilian calendar and some tools to compute
dates used in financial and payroll modules""",
"version": "12.0.1.0.0",
"license": "AGPL-3",
"author": "KMEE,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/l10n-brazil",
"depends": ["l10n_br_base", "resource"],
"maintainers": ["mileo", "hendixcosta", "lfdivino"],
"external_dependencies": {"python": ["workalendar"]},
"data": [
"views/resource_calendar_view.xml",
"views/resource_calendar_leaves_view.xml",
"views/resource_calendar_menu.xml",
"wizards/workalendar_holiday_import_views.xml",
],
}

0 comments on commit 752180a

Please sign in to comment.