Skip to content

Commit

Permalink
[MIG] crm_claim_type: Migration to 12.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Tardo committed Jun 17, 2019
1 parent c5d0575 commit 4adf9ec
Show file tree
Hide file tree
Showing 13 changed files with 528 additions and 43 deletions.
76 changes: 51 additions & 25 deletions crm_claim_type/README.rst
@@ -1,26 +1,49 @@
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
===============
CRM Claim Types
===============

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! 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%2Fcrm-lightgray.png?logo=github
:target: https://github.com/OCA/crm/tree/12.0/crm_claim_type
:alt: OCA/crm
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/crm-12-0/crm-12-0-crm_claim_type
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/111/12.0
:alt: Try me on Runbot

CRM Claim Types
===============
|badge1| |badge2| |badge3| |badge4| |badge5|

Includes a way to classify claims adding the concept of type and with this, it allows to configure claim stages depending on claim types.
Includes a way to classify claims adding the concept of type and with this,
it allows to configure claim stages depending on claim types.

This module includes Customer, Supplier and Other claim types as default data and its own stages relation, and also makes few stages common for different claim types
This module includes Customer, Supplier and Other claim types as default data
and its own stages relation, and also makes few stages common for different
claim types

Installation
============
**Table of contents**

To install this module, you just need to select it from availables modules
.. contents::
:local:

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

This modules do not require special configurations.
It contains a predefined set of claim types.

If you want add your own types go to Sales > Configurations > Claim > Claim Types.
If you want add your own types go to ``CRM > Configuration > Claim > Claim Types``.

Usage
=====
Expand All @@ -29,44 +52,47 @@ To use this module, you need to:

* Go to Claims, and select a claim type when creating/editing a claim

.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/111/11.0

For further information, please visit:

* https://www.odoo.com/forum/help-1

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/crm/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
`here <https://github.com/OCA/crm/issues/new?body=module:%20crm_claim_type%0Aversion:%208.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/crm/issues/new?body=module:%20crm_claim_type%0Aversion:%2012.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
~~~~~~~

* Vauxoo
* Ursa Information Systems

Contributors
------------
~~~~~~~~~~~~

* Yanina Aular <yanina.aular@vauxoo.com>
* Osval Reyes <osval@vauxoo.com>
* Bhavesh Odedra <bodedra@ursainfosystems.com>
* Martin Wilderoth <martin.wilderoth@linserv.se>
* Alexandre Díaz <alexandre.diaz@tecnativa.com>

Maintainer
----------
Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

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

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 http://odoo-community.org.
This module is part of the `OCA/crm <https://github.com/OCA/crm/tree/12.0/crm_claim_type>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
3 changes: 0 additions & 3 deletions crm_claim_type/__init__.py
@@ -1,4 +1 @@
# © 2015 Vauxoo: Yanina Aular <yani@vauxoo.com>, Osval Reyes <osval@vauxoo.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from . import models
7 changes: 4 additions & 3 deletions crm_claim_type/__manifest__.py
@@ -1,4 +1,5 @@
# © 2015 Vauxoo: Yanina Aular <yani@vauxoo.com>, Osval Reyes <osval@vauxoo.com>
# Copyright 2015 Vauxoo: Yanina Aular <yani@vauxoo.com>,
# Osval Reyes <osval@vauxoo.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

{
Expand All @@ -8,9 +9,9 @@
'author': 'Odoo Community Association (OCA),'
'Vauxoo,'
'Ursa Information Systems',
'website': 'https://github.com/OCA/crm/tree/10.0/crm_claim_type',
'website': 'https://github.com/OCA/crm',
'license': 'AGPL-3',
'version': '11.0.1.0.0',
'version': '12.0.1.0.0',
'depends': [
'crm_claim',
],
Expand Down
3 changes: 0 additions & 3 deletions crm_claim_type/models/__init__.py
@@ -1,6 +1,3 @@
# © 2015 Vauxoo: Yanina Aular <yani@vauxoo.com>, Osval Reyes <osval@vauxoo.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from . import crm_claim
from . import crm_claim_stage
from . import crm_claim_type
5 changes: 3 additions & 2 deletions crm_claim_type/models/crm_claim.py
@@ -1,5 +1,6 @@
# © 2015 Vauxoo: Yanina Aular <yani@vauxoo.com>, Osval Reyes <osval@vauxoo.com>
# © 2017 Bhavesh Odedra <bodedra@ursainfosystems.com>
# Copyright 2015 Vauxoo: Yanina Aular <yani@vauxoo.com>,
# Osval Reyes <osval@vauxoo.com>
# Copyright 2017 Bhavesh Odedra <bodedra@ursainfosystems.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from odoo import fields, models
Expand Down
8 changes: 4 additions & 4 deletions crm_claim_type/models/crm_claim_stage.py
@@ -1,7 +1,7 @@
# © 2017 URSA Information Systems
# © 2015 Vauxoo
# © 2013 Camptocamp
# © 2009-2013 Akretion
# Copyright 2017 URSA Information Systems
# Copyright 2015 Vauxoo
# Copyright 2013 Camptocamp
# Copyright 2009-2013 Akretion
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from odoo import fields, models
Expand Down
6 changes: 4 additions & 2 deletions crm_claim_type/models/crm_claim_type.py
@@ -1,5 +1,6 @@
# © 2015 Vauxoo: Yanina Aular <yani@vauxoo.com>, Osval Reyes <osval@vauxoo.com>
# © 2017 Bhavesh Odedra <bodedra@ursainfosystems.com>
# Copyright 2015 Vauxoo: Yanina Aular <yani@vauxoo.com>,
# Osval Reyes <osval@vauxoo.com>
# Copyright 2017 Bhavesh Odedra <bodedra@ursainfosystems.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from odoo import fields, models
Expand All @@ -10,6 +11,7 @@ class CrmClaimType(models.Model):
CRM Claim Type
"""
_name = 'crm.claim.type'
_description = "Claim Type"

name = fields.Char(required=True, translate=True)
active = fields.Boolean(default=True)
Expand Down
4 changes: 4 additions & 0 deletions crm_claim_type/readme/CONFIGURE.rst
@@ -0,0 +1,4 @@
This modules do not require special configurations.
It contains a predefined set of claim types.

If you want add your own types go to ``CRM > Configuration > Claim > Claim Types``.
5 changes: 5 additions & 0 deletions crm_claim_type/readme/CONTRIBUTORS.rst
@@ -0,0 +1,5 @@
* Yanina Aular <yanina.aular@vauxoo.com>
* Osval Reyes <osval@vauxoo.com>
* Bhavesh Odedra <bodedra@ursainfosystems.com>
* Martin Wilderoth <martin.wilderoth@linserv.se>
* Alexandre Díaz <alexandre.diaz@tecnativa.com>
6 changes: 6 additions & 0 deletions crm_claim_type/readme/DESCRIPTION.rst
@@ -0,0 +1,6 @@
Includes a way to classify claims adding the concept of type and with this,
it allows to configure claim stages depending on claim types.

This module includes Customer, Supplier and Other claim types as default data
and its own stages relation, and also makes few stages common for different
claim types
3 changes: 3 additions & 0 deletions crm_claim_type/readme/USAGE.rst
@@ -0,0 +1,3 @@
To use this module, you need to:

* Go to Claims, and select a claim type when creating/editing a claim

0 comments on commit 4adf9ec

Please sign in to comment.