Skip to content

Commit 8dc7eae

Browse files
committed
[T-8592][MIG] partner_code_program_territory: Migration to 18.0
1 parent 4fbf2dc commit 8dc7eae

13 files changed

Lines changed: 613 additions & 42 deletions
Lines changed: 48 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,77 +1,89 @@
1-
.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
2-
:target: http://www.gnu.org/licenses/agpl
3-
:alt: License: AGPL-3
4-
51
==============================
62
Partner Code Program Territory
73
==============================
84

9-
This module adds the partner code program territory model, a new field in the res partner address
10-
that would be added to all the countries address format.
5+
..
6+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
7+
!! This file is generated by oca-gen-addon-readme !!
8+
!! changes will be overwritten. !!
9+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10+
!! source digest: sha256:09dd0e54b316a68e2d7f37c7ca19c76064ffe10b768f9728fec696b19b0dccdf
11+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
1112
13+
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
14+
:target: https://odoo-community.org/page/development-status
15+
:alt: Beta
16+
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
17+
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
18+
:alt: License: AGPL-3
19+
.. |badge3| image:: https://img.shields.io/badge/github-sygel--technology%2Fsy--partner--contact-lightgray.png?logo=github
20+
:target: https://github.com/sygel-technology/sy-partner-contact/tree/18.0/partner_code_program_territory
21+
:alt: sygel-technology/sy-partner-contact
1222

13-
Usage
14-
=====
23+
|badge1| |badge2| |badge3|
1524

16-
To use this module, you need to:
25+
This module adds the partner code program territory model, a new field
26+
in the res partner address that would be added to all the countries
27+
address format.
1728

18-
#. Create new program territory codes in Contacts / Configuration / Code Program Territories
19-
#. Edit the code program territory of a partner of type company in the address field of the partner form
29+
**Table of contents**
2030

31+
.. contents::
32+
:local:
2133

2234
Installation
2335
============
2436

2537
To install this module, you need to:
2638

27-
#. Only install
28-
39+
- Only install
2940

3041
Configuration
3142
=============
3243

3344
To configure this module, you need to:
3445

35-
#. Only install
46+
- Only install
3647

48+
Usage
49+
=====
50+
51+
To use this module, you need to:
52+
53+
1. Create new program territory codes in *Contacts > Configuration >
54+
Code Program Territories*
55+
2. Edit the code program territory of a partner of type company in the
56+
address field of the partner form
3757

3858
Bug Tracker
3959
===========
4060

41-
Bugs and errors are managed in `issues of GitHub <https://github.com/sygel-technology/sy-partner-contact/issues>`_.
42-
In case of problems, please check if your problem has already been
43-
reported. If you are the first to discover it, help us solving it by indicating
44-
a detailed description `here <https://github.com/sygel-technology/sy-partner-contact/issues/new>`_.
61+
Bugs are tracked on `GitHub Issues <https://github.com/sygel-technology/sy-partner-contact/issues>`_.
62+
In case of trouble, please check there if your issue has already been reported.
63+
If you spotted it first, help us to smash it by providing a detailed and welcomed
64+
`feedback <https://github.com/sygel-technology/sy-partner-contact/issues/new?body=module:%20partner_code_program_territory%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
4565

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

48-
4968
Credits
5069
=======
5170

5271
Authors
53-
~~~~~~~
54-
55-
* Sygel, Odoo Community Association (OCA)
72+
-------
5673

74+
* Sygel
5775

5876
Contributors
59-
~~~~~~~~~~~~
60-
61-
* Valentin Vinagre <valentin.vinagre@sygel.es>
62-
* Alberto Martínez <alberto.martinez@sygel.es>
63-
64-
65-
Maintainer
66-
~~~~~~~~~~
77+
------------
6778

68-
This module is maintained by Sygel.
79+
- `Sygel <https://www.sygel.es>`__:
6980

70-
.. image:: https://www.sygel.es/logo.png
71-
:alt: Sygel
72-
:target: https://www.sygel.es
81+
- Valentín Vinagre
82+
- Alberto Martínez
7383

74-
This module is part of the `Sygel/sy-partner-contact <https://github.com/sygel-technology/sy-partner-contact>`_.
84+
Maintainers
85+
-----------
7586

76-
To contribute to this module, please visit https://github.com/sygel-technology/.
87+
This module is part of the `sygel-technology/sy-partner-contact <https://github.com/sygel-technology/sy-partner-contact/tree/18.0/partner_code_program_territory>`_ project on GitHub.
7788

89+
You are welcome to contribute.

partner_code_program_territory/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{
44
"name": "Partner Code Program Territory",
55
"summary": "Adds the partner code program territory fields on contacts",
6-
"version": "17.0.1.0.0",
6+
"version": "18.0.1.0.0",
77
"category": "Partner Management",
88
"website": "https://github.com/sygel-technology/sy-partner-contact",
99
"author": "Sygel",

partner_code_program_territory/models/res_partner_code_program.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ def action_view_code_terriroty(self):
2929
"type": "ir.actions.act_window",
3030
"res_model": "res.partner.code.program.territory",
3131
"name": _("Code Program Territory"),
32-
"views": [(False, "tree"), (False, "form")],
32+
"views": [(False, "list"), (False, "form")],
3333
"domain": [("code_program_id", "=", self.id)],
3434
}

partner_code_program_territory/models/res_partner_code_program_territory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def action_view_res_partner(self):
3333
"type": "ir.actions.act_window",
3434
"res_model": "res.partner",
3535
"name": _("Contacts"),
36-
"views": [(False, "tree"), (False, "form")],
36+
"views": [(False, "list"), (False, "form")],
3737
"domain": [("code_program_territory_id", "=", self.id)],
3838
}
3939

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
To configure this module, you need to:
2+
3+
- Only install
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
- [Sygel](https://www.sygel.es):
2+
- Valentín Vinagre
3+
- Alberto Martínez
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
This module adds the partner code program territory model, a new field in the res partner address
2+
that would be added to all the countries address format.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
To install this module, you need to:
2+
3+
- Only install
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
To use this module, you need to:
2+
3+
1. Create new program territory codes in *Contacts \> Configuration \> Code Program Territories*
4+
2. Edit the code program territory of a partner of type company in the address field of the partner form

0 commit comments

Comments
 (0)