Skip to content

Commit cf99220

Browse files
committed
Changes applied by pre-commit to the repo following the template update
- Added OCA banner to README files for better visibility. - Corrected license badge text from \\"licence\\" to \\"license\\" in README files. - Improved formatting and clarity in module descriptions and usage instructions. - Created new markdown files for contributors and usage instructions to replace outdated formats. - Updated HTML documentation to reflect changes in README structure and content. - Added pyproject.toml files for build system configuration in both crm_won_restrict_per_stage and marketing_crm_partner modules.
1 parent 0f90dbb commit cf99220

275 files changed

Lines changed: 2069 additions & 1514 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

crm_claim/README.rst

Lines changed: 24 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
.. image:: https://odoo-community.org/readme-banner-image
2+
:target: https://odoo-community.org/get-involved?utm_source=readme
3+
:alt: Odoo Community Association
4+
15
=================
26
Claims Management
37
=================
@@ -13,7 +17,7 @@ Claims Management
1317
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
1418
:target: https://odoo-community.org/page/development-status
1519
:alt: Beta
16-
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
20+
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
1721
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
1822
:alt: License: AGPL-3
1923
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fcrm-lightgray.png?logo=github
@@ -44,23 +48,23 @@ Configuration
4448

4549
To configure this module, you need to:
4650

47-
* Go to new menu **CRM > Configuration > Claim > Categories** and create as
48-
many categories as you need.
49-
* Go to new menú **CRM > Configuration > Claim > Stages** and create stages for
50-
claims.
51+
- Go to new menu **CRM > Configuration > Claim > Categories** and
52+
create as many categories as you need.
53+
- Go to new menú **CRM > Configuration > Claim > Stages** and create
54+
stages for claims.
5155

5256
Usage
5357
=====
5458

55-
* Go to new menu **CRM > After Sale > Services > Claims** and create a new
56-
claim.
59+
- Go to new menu **CRM > After Sale > Services > Claims** and create a
60+
new claim.
5761

5862
Changelog
5963
=========
6064

61-
**This module is a backport from Odoo SA and as such, it is not included in the
62-
OCA CLA. That means we do not have a copy of the copyright on it like all
63-
other OCA modules.**
65+
**This module is a backport from Odoo SA and as such, it is not included
66+
in the OCA CLA. That means we do not have a copy of the copyright on it
67+
like all other OCA modules.**
6468

6569
Bug Tracker
6670
===========
@@ -76,25 +80,25 @@ Credits
7680
=======
7781

7882
Authors
79-
~~~~~~~
83+
-------
8084

8185
* Odoo S.A.
8286
* Tecnativa
8387

8488
Contributors
85-
~~~~~~~~~~~~
89+
------------
8690

87-
* Odoo S.A.
88-
* Vicent Cubells <vicent.cubells@tecnativa.com>
89-
* Bhavesh Odedra <bodedra@ursainfosystems.com>
90-
* Cristina Martin R. <cristina.martin@tecnativa.com>
91-
* Ruchir Shukla <ruchir@bizzappdev.com>
92-
* `Guadaltech <https://www.guadaltech.es>`_:
91+
- Odoo S.A.
92+
- Vicent Cubells <vicent.cubells@tecnativa.com>
93+
- Bhavesh Odedra <bodedra@ursainfosystems.com>
94+
- Cristina Martin R. <cristina.martin@tecnativa.com>
95+
- Ruchir Shukla <ruchir@bizzappdev.com>
96+
- `Guadaltech <https://www.guadaltech.es>`__:
9397

94-
* Fernando La Chica <fernando.lachica@guadaltech.es>
98+
- Fernando La Chica <fernando.lachica@guadaltech.es>
9599

96100
Maintainers
97-
~~~~~~~~~~~
101+
-----------
98102

99103
This module is maintained by the OCA.
100104

crm_claim/models/crm_claim.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def copy(self, default=None):
149149
stage_id=self._get_default_stage_id(),
150150
name=_("%s (copy)") % self.name,
151151
)
152-
return super(CrmClaim, self).copy(default)
152+
return super().copy(default)
153153

154154
# -------------------------------------------------------
155155
# Mail gateway
@@ -173,4 +173,4 @@ def message_new(self, msg, custom_values=None):
173173
if msg.get("priority"):
174174
defaults["priority"] = msg.get("priority")
175175
defaults.update(custom_values)
176-
return super(CrmClaim, self).message_new(msg, custom_values=defaults)
176+
return super().message_new(msg, custom_values=defaults)

crm_claim/pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[build-system]
2+
requires = ["whool"]
3+
build-backend = "whool.buildapi"

crm_claim/readme/CONFIGURE.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
To configure this module, you need to:
2+
3+
- Go to new menu **CRM \> Configuration \> Claim \> Categories** and
4+
create as many categories as you need.
5+
- Go to new menú **CRM \> Configuration \> Claim \> Stages** and
6+
create stages for claims.

crm_claim/readme/CONFIGURE.rst

Lines changed: 0 additions & 6 deletions
This file was deleted.

crm_claim/readme/CONTRIBUTORS.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
- Odoo S.A.
2+
- Vicent Cubells \<<vicent.cubells@tecnativa.com>\>
3+
- Bhavesh Odedra \<<bodedra@ursainfosystems.com>\>
4+
- Cristina Martin R. \<<cristina.martin@tecnativa.com>\>
5+
- Ruchir Shukla \<<ruchir@bizzappdev.com>\>
6+
- [Guadaltech](https://www.guadaltech.es):
7+
- Fernando La Chica \<<fernando.lachica@guadaltech.es>\>

crm_claim/readme/CONTRIBUTORS.rst

Lines changed: 0 additions & 8 deletions
This file was deleted.
File renamed without changes.

crm_claim/readme/HISTORY.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
**This module is a backport from Odoo SA and as such, it is not included
2+
in the OCA CLA. That means we do not have a copy of the copyright on it
3+
like all other OCA modules.**

crm_claim/readme/HISTORY.rst

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)