odoo-addon-account-credit-control 16.0.2.0.0.4__py3-none-any.whl → 17.0.1.0.0.4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- odoo/addons/account_credit_control/README.rst +57 -52
- odoo/addons/account_credit_control/__manifest__.py +1 -1
- odoo/addons/account_credit_control/data/data.xml +4 -1
- odoo/addons/account_credit_control/i18n/account_credit_control.pot +1 -29
- odoo/addons/account_credit_control/i18n/fr.po +9 -8
- odoo/addons/account_credit_control/i18n/nl.po +5 -4
- odoo/addons/account_credit_control/i18n/pt_BR.po +7 -9
- odoo/addons/account_credit_control/models/credit_control_communication.py +7 -7
- odoo/addons/account_credit_control/models/credit_control_line.py +6 -13
- odoo/addons/account_credit_control/models/credit_control_policy.py +4 -6
- odoo/addons/account_credit_control/models/credit_control_run.py +3 -7
- odoo/addons/account_credit_control/models/mail_message.py +2 -2
- odoo/addons/account_credit_control/models/res_partner.py +0 -1
- odoo/addons/account_credit_control/readme/{CONFIGURE.rst → CONFIGURE.md} +6 -5
- odoo/addons/account_credit_control/readme/CONTRIBUTORS.md +20 -0
- odoo/addons/account_credit_control/readme/DESCRIPTION.md +4 -0
- odoo/addons/account_credit_control/readme/USAGE.md +23 -0
- odoo/addons/account_credit_control/report/account_credit_control_analysis.py +5 -10
- odoo/addons/account_credit_control/static/description/index.html +35 -26
- odoo/addons/account_credit_control/views/credit_control_line.xml +6 -6
- odoo/addons/account_credit_control/views/credit_control_policy.xml +2 -2
- odoo/addons/account_credit_control/views/credit_control_run.xml +19 -12
- odoo/addons/account_credit_control/views/res_config_settings_view.xml +33 -44
- odoo/addons/account_credit_control/views/res_partner.xml +11 -5
- {odoo_addon_account_credit_control-16.0.2.0.0.4.dist-info → odoo_addon_account_credit_control-17.0.1.0.0.4.dist-info}/METADATA +63 -61
- {odoo_addon_account_credit_control-16.0.2.0.0.4.dist-info → odoo_addon_account_credit_control-17.0.1.0.0.4.dist-info}/RECORD +28 -28
- {odoo_addon_account_credit_control-16.0.2.0.0.4.dist-info → odoo_addon_account_credit_control-17.0.1.0.0.4.dist-info}/WHEEL +1 -1
- odoo_addon_account_credit_control-17.0.1.0.0.4.dist-info/top_level.txt +1 -0
- odoo/addons/account_credit_control/readme/CONTRIBUTORS.rst +0 -21
- odoo/addons/account_credit_control/readme/DESCRIPTION.rst +0 -3
- odoo/addons/account_credit_control/readme/USAGE.rst +0 -22
- odoo_addon_account_credit_control-16.0.2.0.0.4.dist-info/top_level.txt +0 -1
|
@@ -7,7 +7,7 @@ Account Credit Control
|
|
|
7
7
|
!! This file is generated by oca-gen-addon-readme !!
|
|
8
8
|
!! changes will be overwritten. !!
|
|
9
9
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
10
|
-
!! source digest: sha256:
|
|
10
|
+
!! source digest: sha256:84b63f80f165080cb9565e2d87f1d264c86eb79efc17329fec67fa1c76b52975
|
|
11
11
|
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
12
12
|
|
|
13
13
|
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
|
@@ -17,20 +17,21 @@ Account Credit Control
|
|
|
17
17
|
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
|
18
18
|
:alt: License: AGPL-3
|
|
19
19
|
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fcredit--control-lightgray.png?logo=github
|
|
20
|
-
:target: https://github.com/OCA/credit-control/tree/
|
|
20
|
+
:target: https://github.com/OCA/credit-control/tree/17.0/account_credit_control
|
|
21
21
|
:alt: OCA/credit-control
|
|
22
22
|
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
|
|
23
|
-
:target: https://translation.odoo-community.org/projects/credit-control-
|
|
23
|
+
:target: https://translation.odoo-community.org/projects/credit-control-17-0/credit-control-17-0-account_credit_control
|
|
24
24
|
:alt: Translate me on Weblate
|
|
25
25
|
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
|
|
26
|
-
:target: https://runboat.odoo-community.org/builds?repo=OCA/credit-control&target_branch=
|
|
26
|
+
:target: https://runboat.odoo-community.org/builds?repo=OCA/credit-control&target_branch=17.0
|
|
27
27
|
:alt: Try me on Runboat
|
|
28
28
|
|
|
29
29
|
|badge1| |badge2| |badge3| |badge4| |badge5|
|
|
30
30
|
|
|
31
|
-
Account Credit Control module is a part of Financial Tools used in
|
|
32
|
-
ensure that once sales are made they are realised as cash.
|
|
33
|
-
identify outstanding debt beyond tolerance level
|
|
31
|
+
Account Credit Control module is a part of Financial Tools used in
|
|
32
|
+
business to ensure that once sales are made they are realised as cash.
|
|
33
|
+
This module helps to identify outstanding debt beyond tolerance level
|
|
34
|
+
and setup followup method.
|
|
34
35
|
|
|
35
36
|
**Table of contents**
|
|
36
37
|
|
|
@@ -40,42 +41,44 @@ identify outstanding debt beyond tolerance level and setup followup method.
|
|
|
40
41
|
Configuration
|
|
41
42
|
=============
|
|
42
43
|
|
|
43
|
-
Configure the policies and policy levels in
|
|
44
|
-
Credit Control > Credit Control Policies``.
|
|
44
|
+
Configure the policies and policy levels in
|
|
45
|
+
``Invoicing > Configuration > Credit Control > Credit Control Policies``.
|
|
45
46
|
You can define as many policy levels as you need. You must set on which
|
|
46
47
|
accounts are applied every Credit Control Policy under Accounts tab.
|
|
47
48
|
|
|
48
49
|
Configure a tolerance for the Credit control and a default policy
|
|
49
|
-
applied on all partners in each company, under the General Information
|
|
50
|
-
company form.
|
|
50
|
+
applied on all partners in each company, under the General Information
|
|
51
|
+
tab in your company form.
|
|
51
52
|
|
|
52
|
-
You are able to specify a particular policy for one partner or one
|
|
53
|
+
You are able to specify a particular policy for one partner or one
|
|
54
|
+
invoice.
|
|
53
55
|
|
|
54
56
|
Usage
|
|
55
57
|
=====
|
|
56
58
|
|
|
57
59
|
Menu entries are located in *Invoicing > Credit Control*.
|
|
58
60
|
|
|
59
|
-
Create a new "run" in the *Credit Control Run* menu with the controlling
|
|
60
|
-
Then, use the *Compute Credit Lines* button. All the credit
|
|
61
|
-
be generated. You can find them in the *Credit
|
|
61
|
+
Create a new "run" in the *Credit Control Run* menu with the controlling
|
|
62
|
+
date. Then, use the *Compute Credit Lines* button. All the credit
|
|
63
|
+
control lines will be generated. You can find them in the *Credit
|
|
64
|
+
Control Lines* menu.
|
|
62
65
|
|
|
63
66
|
On each generated line, you have many choices:
|
|
64
67
|
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
a second credit control run is done.
|
|
70
|
-
|
|
68
|
+
- Send a email
|
|
69
|
+
- Print a letter
|
|
70
|
+
- Change the state (so you can ignore or reopen lines)
|
|
71
|
+
- Mark a line as Manually Overridden. The line will get the ignored
|
|
72
|
+
state when a second credit control run is done.
|
|
73
|
+
- Mark one line as Manual followup will also mark all the lines of the
|
|
71
74
|
partner. The partner will be visible in "Do Manual Follow-ups".
|
|
72
75
|
|
|
73
76
|
Once your lines are properly set up, go back to the "run" and click on
|
|
74
|
-
*Run channel action* to massively generate and queue communication
|
|
75
|
-
letters for all linked lines.
|
|
77
|
+
*Run channel action* to massively generate and queue communication
|
|
78
|
+
emails or letters for all linked lines.
|
|
76
79
|
|
|
77
|
-
Then, use the *Communications* smart button to see all email
|
|
78
|
-
processes that have been created and follow them.
|
|
80
|
+
Then, use the *Communications* smart button to see all email
|
|
81
|
+
communication processes that have been created and follow them.
|
|
79
82
|
|
|
80
83
|
Bug Tracker
|
|
81
84
|
===========
|
|
@@ -83,7 +86,7 @@ Bug Tracker
|
|
|
83
86
|
Bugs are tracked on `GitHub Issues <https://github.com/OCA/credit-control/issues>`_.
|
|
84
87
|
In case of trouble, please check there if your issue has already been reported.
|
|
85
88
|
If you spotted it first, help us to smash it by providing a detailed and welcomed
|
|
86
|
-
`feedback <https://github.com/OCA/credit-control/issues/new?body=module:%20account_credit_control%0Aversion:%
|
|
89
|
+
`feedback <https://github.com/OCA/credit-control/issues/new?body=module:%20account_credit_control%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
|
|
87
90
|
|
|
88
91
|
Do not contact contributors directly about support or help with technical issues.
|
|
89
92
|
|
|
@@ -91,7 +94,7 @@ Credits
|
|
|
91
94
|
=======
|
|
92
95
|
|
|
93
96
|
Authors
|
|
94
|
-
|
|
97
|
+
-------
|
|
95
98
|
|
|
96
99
|
* Camptocamp
|
|
97
100
|
* Okia
|
|
@@ -100,32 +103,34 @@ Authors
|
|
|
100
103
|
* ACSONE SA/NV
|
|
101
104
|
|
|
102
105
|
Contributors
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
106
|
+
------------
|
|
107
|
+
|
|
108
|
+
- Nicolas Bessi (Camptocamp)
|
|
109
|
+
- Guewen Baconnier (Camptocamp)
|
|
110
|
+
- Sylvain Van Hoof (Okia SPRL) <sylvain@okia.be>
|
|
111
|
+
- Akim Juillerat (Camptocamp) <akim.juillerat@camptocamp.com>
|
|
112
|
+
- Kinner Vachhani (Access Bookings Ltd) <kin.vachhani@gmail.com>
|
|
113
|
+
- Raf Ven <raf.ven@dynapps.be>
|
|
114
|
+
- Quentin Groulard (ACSONE) <quentin.groulard@acsone.eu>
|
|
115
|
+
- `Tecnativa <https://www.tecnativa.com>`__:
|
|
116
|
+
|
|
117
|
+
- Vicent Cubells
|
|
118
|
+
- Manuel Calero
|
|
119
|
+
- Ernesto Tejeda
|
|
120
|
+
- Pedro M. Baeza
|
|
121
|
+
- Jairo Llopis
|
|
122
|
+
- João Marques
|
|
123
|
+
- César A. Sánchez
|
|
124
|
+
- Víctor Martínez
|
|
125
|
+
|
|
126
|
+
- Enric Tobella <etobella@creublanca.es>
|
|
127
|
+
- Naglis Jonaitis (Versada UAB) <naglis@versada.eu>
|
|
128
|
+
- `360ERP <https://www.360erp.com>`__:
|
|
129
|
+
|
|
130
|
+
- Andrea Stirpe
|
|
126
131
|
|
|
127
132
|
Maintainers
|
|
128
|
-
|
|
133
|
+
-----------
|
|
129
134
|
|
|
130
135
|
This module is maintained by the OCA.
|
|
131
136
|
|
|
@@ -137,6 +142,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
|
|
|
137
142
|
mission is to support the collaborative development of Odoo features and
|
|
138
143
|
promote its widespread use.
|
|
139
144
|
|
|
140
|
-
This module is part of the `OCA/credit-control <https://github.com/OCA/credit-control/tree/
|
|
145
|
+
This module is part of the `OCA/credit-control <https://github.com/OCA/credit-control/tree/17.0/account_credit_control>`_ project on GitHub.
|
|
141
146
|
|
|
142
147
|
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
|
|
@@ -11,7 +11,10 @@
|
|
|
11
11
|
<field name="model_id" ref="model_credit_control_communication" />
|
|
12
12
|
<field name="auto_delete" eval="False" />
|
|
13
13
|
<field name="lang">{{object.contact_address_id.lang or 'en_US'}}</field>
|
|
14
|
-
<field
|
|
14
|
+
<field
|
|
15
|
+
name="report_template_ids"
|
|
16
|
+
eval="[(4, ref('account_credit_control.credit_control_summary'))]"
|
|
17
|
+
/>
|
|
15
18
|
<field name="body_html" type="html">
|
|
16
19
|
<p>Dear <t t-out="object.contact_address_id.name or '' " />,</p>
|
|
17
20
|
<br />
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
#
|
|
5
5
|
msgid ""
|
|
6
6
|
msgstr ""
|
|
7
|
-
"Project-Id-Version: Odoo Server
|
|
7
|
+
"Project-Id-Version: Odoo Server 17.0\n"
|
|
8
8
|
"Report-Msgid-Bugs-To: \n"
|
|
9
9
|
"Last-Translator: \n"
|
|
10
10
|
"Language-Team: \n"
|
|
@@ -907,21 +907,6 @@ msgstr ""
|
|
|
907
907
|
msgid "Journal Entry"
|
|
908
908
|
msgstr ""
|
|
909
909
|
|
|
910
|
-
#. module: account_credit_control
|
|
911
|
-
#: model:ir.model.fields,field_description:account_credit_control.field_credit_control_analysis____last_update
|
|
912
|
-
#: model:ir.model.fields,field_description:account_credit_control.field_credit_control_communication____last_update
|
|
913
|
-
#: model:ir.model.fields,field_description:account_credit_control.field_credit_control_emailer____last_update
|
|
914
|
-
#: model:ir.model.fields,field_description:account_credit_control.field_credit_control_line____last_update
|
|
915
|
-
#: model:ir.model.fields,field_description:account_credit_control.field_credit_control_marker____last_update
|
|
916
|
-
#: model:ir.model.fields,field_description:account_credit_control.field_credit_control_policy____last_update
|
|
917
|
-
#: model:ir.model.fields,field_description:account_credit_control.field_credit_control_policy_changer____last_update
|
|
918
|
-
#: model:ir.model.fields,field_description:account_credit_control.field_credit_control_policy_level____last_update
|
|
919
|
-
#: model:ir.model.fields,field_description:account_credit_control.field_credit_control_printer____last_update
|
|
920
|
-
#: model:ir.model.fields,field_description:account_credit_control.field_credit_control_run____last_update
|
|
921
|
-
#: model:ir.model.fields,field_description:account_credit_control.field_res_partner_payment_action_type____last_update
|
|
922
|
-
msgid "Last Modified on"
|
|
923
|
-
msgstr ""
|
|
924
|
-
|
|
925
910
|
#. module: account_credit_control
|
|
926
911
|
#: model:ir.model.fields,field_description:account_credit_control.field_credit_control_communication__write_uid
|
|
927
912
|
#: model:ir.model.fields,field_description:account_credit_control.field_credit_control_emailer__write_uid
|
|
@@ -1014,12 +999,6 @@ msgstr ""
|
|
|
1014
999
|
msgid "Mailer"
|
|
1015
1000
|
msgstr ""
|
|
1016
1001
|
|
|
1017
|
-
#. module: account_credit_control
|
|
1018
|
-
#: model:ir.model.fields,field_description:account_credit_control.field_credit_control_communication__message_main_attachment_id
|
|
1019
|
-
#: model:ir.model.fields,field_description:account_credit_control.field_credit_control_line__message_main_attachment_id
|
|
1020
|
-
msgid "Main Attachment"
|
|
1021
|
-
msgstr ""
|
|
1022
|
-
|
|
1023
1002
|
#. module: account_credit_control
|
|
1024
1003
|
#: model:res.groups,name:account_credit_control.group_account_credit_control_manager
|
|
1025
1004
|
msgid "Manager"
|
|
@@ -1695,13 +1674,6 @@ msgstr ""
|
|
|
1695
1674
|
msgid "These lines are to do using the Actions."
|
|
1696
1675
|
msgstr ""
|
|
1697
1676
|
|
|
1698
|
-
#. module: account_credit_control
|
|
1699
|
-
#: model_terms:ir.ui.view,arch_db:account_credit_control.res_config_settings_view_form
|
|
1700
|
-
msgid ""
|
|
1701
|
-
"This allows credit control team to chase overdue payments with different "
|
|
1702
|
-
"means"
|
|
1703
|
-
msgstr ""
|
|
1704
|
-
|
|
1705
1677
|
#. module: account_credit_control
|
|
1706
1678
|
#: model:ir.model.fields,help:account_credit_control.field_res_partner__payment_next_action
|
|
1707
1679
|
#: model:ir.model.fields,help:account_credit_control.field_res_users__payment_next_action
|
|
@@ -10,8 +10,8 @@ msgstr ""
|
|
|
10
10
|
"Project-Id-Version: Odoo Server 11.0\n"
|
|
11
11
|
"Report-Msgid-Bugs-To: \n"
|
|
12
12
|
"POT-Creation-Date: 2018-11-26 12:28+0000\n"
|
|
13
|
-
"PO-Revision-Date:
|
|
14
|
-
"Last-Translator:
|
|
13
|
+
"PO-Revision-Date: 2023-05-30 18:09+0000\n"
|
|
14
|
+
"Last-Translator: \"Sandrine (ACSONE)\" <sandrine.ravet@acsone.eu>\n"
|
|
15
15
|
"Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n"
|
|
16
16
|
"Language: fr\n"
|
|
17
17
|
"MIME-Version: 1.0\n"
|
|
@@ -722,7 +722,7 @@ msgstr "Date d'échéance, fin de mois"
|
|
|
722
722
|
#. module: account_credit_control
|
|
723
723
|
#: model:ir.model.fields,field_description:account_credit_control.field_credit_control_line__balance_due
|
|
724
724
|
msgid "Due balance"
|
|
725
|
-
msgstr "
|
|
725
|
+
msgstr "Date d'échéance"
|
|
726
726
|
|
|
727
727
|
#. module: account_credit_control
|
|
728
728
|
#. odoo-python
|
|
@@ -917,7 +917,7 @@ msgstr "Facture"
|
|
|
917
917
|
#: code:addons/account_credit_control/models/credit_control_communication.py:0
|
|
918
918
|
#, python-format
|
|
919
919
|
msgid "Invoice amount"
|
|
920
|
-
msgstr "
|
|
920
|
+
msgstr ""
|
|
921
921
|
|
|
922
922
|
#. module: account_credit_control
|
|
923
923
|
#. odoo-python
|
|
@@ -945,7 +945,7 @@ msgstr "Total de la facture"
|
|
|
945
945
|
#: code:addons/account_credit_control/models/credit_control_communication.py:0
|
|
946
946
|
#, python-format
|
|
947
947
|
msgid "Invoices summary"
|
|
948
|
-
msgstr "
|
|
948
|
+
msgstr ""
|
|
949
949
|
|
|
950
950
|
#. module: account_credit_control
|
|
951
951
|
#: model:ir.model.fields,field_description:account_credit_control.field_credit_control_communication__message_is_follower
|
|
@@ -962,7 +962,7 @@ msgstr "Lignes de relance"
|
|
|
962
962
|
#. module: account_credit_control
|
|
963
963
|
#: model:ir.model,name:account_credit_control.model_account_move
|
|
964
964
|
msgid "Journal Entry"
|
|
965
|
-
msgstr "
|
|
965
|
+
msgstr ""
|
|
966
966
|
|
|
967
967
|
#. module: account_credit_control
|
|
968
968
|
#: model:ir.model.fields,field_description:account_credit_control.field_credit_control_analysis____last_update
|
|
@@ -1436,8 +1436,9 @@ msgstr "Courriels à envoyer"
|
|
|
1436
1436
|
|
|
1437
1437
|
#. module: account_credit_control
|
|
1438
1438
|
#: model:ir.model.fields,field_description:account_credit_control.field_credit_control_analysis__open_balance
|
|
1439
|
+
#, fuzzy
|
|
1439
1440
|
msgid "Overdue Balance"
|
|
1440
|
-
msgstr "
|
|
1441
|
+
msgstr "Date d'échéance"
|
|
1441
1442
|
|
|
1442
1443
|
#. module: account_credit_control
|
|
1443
1444
|
#: model:ir.model.fields,field_description:account_credit_control.field_credit_control_analysis__policy_level_id
|
|
@@ -1484,7 +1485,7 @@ msgstr "Note de paiement"
|
|
|
1484
1485
|
#: code:addons/account_credit_control/models/credit_control_communication.py:0
|
|
1485
1486
|
#, python-format
|
|
1486
1487
|
msgid "Payment Reference"
|
|
1487
|
-
msgstr "
|
|
1488
|
+
msgstr ""
|
|
1488
1489
|
|
|
1489
1490
|
#. module: account_credit_control
|
|
1490
1491
|
#: model:ir.model.fields.selection,name:account_credit_control.selection__credit_control_line__channel__phone
|
|
@@ -6,8 +6,8 @@ msgstr ""
|
|
|
6
6
|
"Project-Id-Version: Odoo Server 10.0\n"
|
|
7
7
|
"Report-Msgid-Bugs-To: \n"
|
|
8
8
|
"POT-Creation-Date: 2018-11-26 12:28+0000\n"
|
|
9
|
-
"PO-Revision-Date:
|
|
10
|
-
"Last-Translator:
|
|
9
|
+
"PO-Revision-Date: 2023-08-08 18:11+0000\n"
|
|
10
|
+
"Last-Translator: Bosd <c5e2fd43-d292-4c90-9d1f-74ff3436329a@anonaddy.me>\n"
|
|
11
11
|
"Language-Team: \n"
|
|
12
12
|
"Language: nl\n"
|
|
13
13
|
"MIME-Version: 1.0\n"
|
|
@@ -87,12 +87,13 @@ msgstr ""
|
|
|
87
87
|
|
|
88
88
|
#. module: account_credit_control
|
|
89
89
|
#: model_terms:ir.ui.view,arch_db:account_credit_control.credit_control_policy_changer_form
|
|
90
|
+
#, fuzzy
|
|
90
91
|
msgid ""
|
|
91
92
|
"<span class=\"o_form_label\">This wizard will let you set the overdue policy "
|
|
92
93
|
"and level for selected invoices</span>"
|
|
93
94
|
msgstr ""
|
|
94
|
-
"
|
|
95
|
-
"
|
|
95
|
+
"Deze wizard maakt het mogelijk om de vervallen beleid en niveau van de "
|
|
96
|
+
"geselecteerde facturen aan te passen."
|
|
96
97
|
|
|
97
98
|
#. module: account_credit_control
|
|
98
99
|
#: model_terms:ir.ui.view,arch_db:account_credit_control.credit_line_marker_form
|
|
@@ -9,17 +9,15 @@ msgstr ""
|
|
|
9
9
|
"Project-Id-Version: Odoo Server 11.0\n"
|
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
|
11
11
|
"POT-Creation-Date: 2018-11-26 12:28+0000\n"
|
|
12
|
-
"PO-Revision-Date:
|
|
13
|
-
"Last-Translator:
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"23907/pt_BR/)\n"
|
|
12
|
+
"PO-Revision-Date: 2018-03-30 02:39+0000\n"
|
|
13
|
+
"Last-Translator: OCA Transbot <transbot@odoo-community.org>, 2018\n"
|
|
14
|
+
"Language-Team: Portuguese (Brazil) (https://www.transifex.com/oca/"
|
|
15
|
+
"teams/23907/pt_BR/)\n"
|
|
17
16
|
"Language: pt_BR\n"
|
|
18
17
|
"MIME-Version: 1.0\n"
|
|
19
18
|
"Content-Type: text/plain; charset=UTF-8\n"
|
|
20
19
|
"Content-Transfer-Encoding: \n"
|
|
21
|
-
"Plural-Forms: nplurals=2; plural=n > 1;\n"
|
|
22
|
-
"X-Generator: Weblate 4.17\n"
|
|
20
|
+
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
|
23
21
|
|
|
24
22
|
#. module: account_credit_control
|
|
25
23
|
#: model:credit.control.policy.level,custom_text:account_credit_control.3_time_3
|
|
@@ -117,7 +115,7 @@ msgstr ""
|
|
|
117
115
|
#. module: account_credit_control
|
|
118
116
|
#: model:ir.model,name:account_credit_control.model_credit_control_line
|
|
119
117
|
msgid "A credit control line"
|
|
120
|
-
msgstr "
|
|
118
|
+
msgstr ""
|
|
121
119
|
|
|
122
120
|
#. module: account_credit_control
|
|
123
121
|
#. odoo-python
|
|
@@ -298,7 +296,7 @@ msgstr ""
|
|
|
298
296
|
#. module: account_credit_control
|
|
299
297
|
#: model:ir.model.fields,field_description:account_credit_control.field_credit_control_line__commercial_partner_id
|
|
300
298
|
msgid "Commercial Entity"
|
|
301
|
-
msgstr "
|
|
299
|
+
msgstr ""
|
|
302
300
|
|
|
303
301
|
#. module: account_credit_control
|
|
304
302
|
#: model:ir.model.fields,field_description:account_credit_control.field_credit_control_line__communication_id
|
|
@@ -176,6 +176,7 @@ class CreditControlCommunication(models.Model):
|
|
|
176
176
|
return comms
|
|
177
177
|
|
|
178
178
|
def _get_credit_control_communication_table(self):
|
|
179
|
+
# ruff: noqa
|
|
179
180
|
th_style = "padding: 5px; border: 1px solid black;"
|
|
180
181
|
tr_content = "<th style='%s'>%s</th>" % (th_style, _("Invoice number"))
|
|
181
182
|
tr_content += "<th style='%s'>%s</th>" % (th_style, _("Payment Reference"))
|
|
@@ -218,16 +219,15 @@ class CreditControlCommunication(models.Model):
|
|
|
218
219
|
for comm in self:
|
|
219
220
|
if comm.policy_level_id.mail_show_invoice_detail:
|
|
220
221
|
comm = comm.with_context(inject_credit_control_communication_table=True)
|
|
221
|
-
comm.message_post_with_template(
|
|
222
|
-
comm.policy_level_id.email_template_id.id,
|
|
223
|
-
composition_mode="mass_post",
|
|
224
|
-
is_log=False,
|
|
225
|
-
notify=True,
|
|
226
|
-
subtype_id=self.env.ref("account_credit_control.mt_request").id,
|
|
227
|
-
)
|
|
228
222
|
comm.credit_control_line_ids.filtered(
|
|
229
223
|
lambda line: line.state == "to_be_sent"
|
|
230
224
|
).write({"state": "queued"})
|
|
225
|
+
comm.message_mail_with_source(
|
|
226
|
+
comm.policy_level_id.email_template_id,
|
|
227
|
+
subtype_id=self.env["ir.model.data"]._xmlid_to_res_id(
|
|
228
|
+
"account_credit_control.mt_request"
|
|
229
|
+
),
|
|
230
|
+
)
|
|
231
231
|
|
|
232
232
|
def _mark_credit_line_as_sent(self):
|
|
233
233
|
lines = self.mapped("credit_control_line_ids")
|
|
@@ -28,8 +28,7 @@ class CreditControlLine(models.Model):
|
|
|
28
28
|
string="Controlling date",
|
|
29
29
|
required=True,
|
|
30
30
|
index=True,
|
|
31
|
-
readonly=
|
|
32
|
-
states={"draft": [("readonly", False)]},
|
|
31
|
+
readonly=False,
|
|
33
32
|
)
|
|
34
33
|
# maturity date of related move line we do not use
|
|
35
34
|
# a related field in order to
|
|
@@ -37,15 +36,12 @@ class CreditControlLine(models.Model):
|
|
|
37
36
|
date_due = fields.Date(
|
|
38
37
|
string="Due date",
|
|
39
38
|
required=True,
|
|
40
|
-
readonly=
|
|
41
|
-
states={"draft": [("readonly", False)]},
|
|
39
|
+
readonly=False,
|
|
42
40
|
)
|
|
43
41
|
date_entry = fields.Date(
|
|
44
42
|
string="Entry date", related="move_line_id.date", store=True
|
|
45
43
|
)
|
|
46
|
-
date_sent = fields.Date(
|
|
47
|
-
string="Reminded date", readonly=True, states={"draft": [("readonly", False)]}
|
|
48
|
-
)
|
|
44
|
+
date_sent = fields.Date(string="Reminded date", readonly=False)
|
|
49
45
|
state = fields.Selection(
|
|
50
46
|
selection=[
|
|
51
47
|
("draft", "Draft"),
|
|
@@ -69,15 +65,13 @@ class CreditControlLine(models.Model):
|
|
|
69
65
|
channel = fields.Selection(
|
|
70
66
|
selection=CHANNEL_LIST,
|
|
71
67
|
required=True,
|
|
72
|
-
readonly=
|
|
73
|
-
states={"draft": [("readonly", False)]},
|
|
68
|
+
readonly=False,
|
|
74
69
|
)
|
|
75
70
|
invoice_id = fields.Many2one(comodel_name="account.move", readonly=True)
|
|
76
71
|
partner_id = fields.Many2one(
|
|
77
72
|
comodel_name="res.partner",
|
|
78
73
|
required=True,
|
|
79
|
-
readonly=
|
|
80
|
-
states={"draft": [("readonly", False)]},
|
|
74
|
+
readonly=False,
|
|
81
75
|
)
|
|
82
76
|
commercial_partner_id = fields.Many2one(
|
|
83
77
|
comodel_name="res.partner",
|
|
@@ -117,8 +111,7 @@ class CreditControlLine(models.Model):
|
|
|
117
111
|
comodel_name="credit.control.policy.level",
|
|
118
112
|
string="Overdue Level",
|
|
119
113
|
required=True,
|
|
120
|
-
readonly=
|
|
121
|
-
states={"draft": [("readonly", False)]},
|
|
114
|
+
readonly=False,
|
|
122
115
|
)
|
|
123
116
|
policy_id = fields.Many2one(
|
|
124
117
|
comodel_name="credit.control.policy",
|
|
@@ -224,9 +224,7 @@ class CreditControlPolicy(models.Model):
|
|
|
224
224
|
return (manual_lines, policy_lines_generated, report)
|
|
225
225
|
|
|
226
226
|
@api.model
|
|
227
|
-
def _name_search(
|
|
228
|
-
self, name="", args=None, operator="ilike", limit=100, name_get_uid=None
|
|
229
|
-
):
|
|
227
|
+
def _name_search(self, name, domain=None, operator="ilike", limit=None, order=None):
|
|
230
228
|
"""Alternative implementation for domain on account, equivalent to
|
|
231
229
|
domain="[('account_ids', 'in', property_account_receivable_id)]"
|
|
232
230
|
"""
|
|
@@ -237,7 +235,7 @@ class CreditControlPolicy(models.Model):
|
|
|
237
235
|
)
|
|
238
236
|
account_receivable = partner.property_account_receivable_id
|
|
239
237
|
|
|
240
|
-
ids = super()._name_search(name,
|
|
238
|
+
ids = super()._name_search(name, domain, operator, limit, order)
|
|
241
239
|
policies = self.browse(ids)
|
|
242
240
|
policy_ids = []
|
|
243
241
|
if account_receivable:
|
|
@@ -352,7 +350,7 @@ class CreditControlPolicyLevel(models.Model):
|
|
|
352
350
|
date and computation mode of the level
|
|
353
351
|
"""
|
|
354
352
|
self.ensure_one()
|
|
355
|
-
fname = "_{}_get_boundary"
|
|
353
|
+
fname = f"_{self.computation_mode}_get_boundary"
|
|
356
354
|
if hasattr(self, fname):
|
|
357
355
|
fnc = getattr(self, fname)
|
|
358
356
|
return fnc()
|
|
@@ -367,7 +365,7 @@ class CreditControlPolicyLevel(models.Model):
|
|
|
367
365
|
self.ensure_one()
|
|
368
366
|
previous_level = self._previous_level()
|
|
369
367
|
if previous_level:
|
|
370
|
-
return "cr_line.level = {
|
|
368
|
+
return f"cr_line.level = {previous_level.level}"
|
|
371
369
|
else:
|
|
372
370
|
return "cr_line.id IS NULL"
|
|
373
371
|
|
|
@@ -22,8 +22,7 @@ class CreditControlRun(models.Model):
|
|
|
22
22
|
date = fields.Date(
|
|
23
23
|
string="Controlling Date",
|
|
24
24
|
required=True,
|
|
25
|
-
readonly=
|
|
26
|
-
states={"draft": [("readonly", False)]},
|
|
25
|
+
readonly=False,
|
|
27
26
|
)
|
|
28
27
|
policy_ids = fields.Many2many(
|
|
29
28
|
comodel_name="credit.control.policy",
|
|
@@ -31,8 +30,7 @@ class CreditControlRun(models.Model):
|
|
|
31
30
|
column1="run_id",
|
|
32
31
|
column2="policy_id",
|
|
33
32
|
string="Policies",
|
|
34
|
-
readonly=
|
|
35
|
-
states={"draft": [("readonly", False)]},
|
|
33
|
+
readonly=False,
|
|
36
34
|
default=lambda self: self._default_policies(),
|
|
37
35
|
)
|
|
38
36
|
report = fields.Html(readonly=True, copy=False)
|
|
@@ -69,8 +67,7 @@ class CreditControlRun(models.Model):
|
|
|
69
67
|
company_id = fields.Many2one(
|
|
70
68
|
comodel_name="res.company",
|
|
71
69
|
default=lambda self: self.env.company,
|
|
72
|
-
readonly=
|
|
73
|
-
states={"draft": [("readonly", False)]},
|
|
70
|
+
readonly=False,
|
|
74
71
|
index=True,
|
|
75
72
|
)
|
|
76
73
|
|
|
@@ -130,7 +127,6 @@ class CreditControlRun(models.Model):
|
|
|
130
127
|
report = ""
|
|
131
128
|
generated = self.env["credit.control.line"]
|
|
132
129
|
for policy in policies:
|
|
133
|
-
|
|
134
130
|
if policy.do_nothing:
|
|
135
131
|
continue
|
|
136
132
|
(
|
|
@@ -7,8 +7,8 @@ from odoo import models
|
|
|
7
7
|
class MailMessage(models.Model):
|
|
8
8
|
_inherit = "mail.message"
|
|
9
9
|
|
|
10
|
-
def message_format(self, format_reply=True):
|
|
11
|
-
result = super().message_format(format_reply=format_reply)
|
|
10
|
+
def message_format(self, format_reply=True, msg_vals=None):
|
|
11
|
+
result = super().message_format(format_reply=format_reply, msg_vals=msg_vals)
|
|
12
12
|
credit_control = self.env["ir.model.data"]._xmlid_to_res_id(
|
|
13
13
|
"account_credit_control.mt_request"
|
|
14
14
|
)
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
Configure the policies and policy levels in
|
|
2
|
-
Credit Control > Credit Control Policies
|
|
1
|
+
Configure the policies and policy levels in
|
|
2
|
+
`Invoicing > Configuration > Credit Control > Credit Control Policies`.
|
|
3
3
|
You can define as many policy levels as you need. You must set on which
|
|
4
4
|
accounts are applied every Credit Control Policy under Accounts tab.
|
|
5
5
|
|
|
6
6
|
Configure a tolerance for the Credit control and a default policy
|
|
7
|
-
applied on all partners in each company, under the General Information
|
|
8
|
-
company form.
|
|
7
|
+
applied on all partners in each company, under the General Information
|
|
8
|
+
tab in your company form.
|
|
9
9
|
|
|
10
|
-
You are able to specify a particular policy for one partner or one
|
|
10
|
+
You are able to specify a particular policy for one partner or one
|
|
11
|
+
invoice.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
- Nicolas Bessi (Camptocamp)
|
|
2
|
+
- Guewen Baconnier (Camptocamp)
|
|
3
|
+
- Sylvain Van Hoof (Okia SPRL) \<<sylvain@okia.be>\>
|
|
4
|
+
- Akim Juillerat (Camptocamp) \<<akim.juillerat@camptocamp.com>\>
|
|
5
|
+
- Kinner Vachhani (Access Bookings Ltd) \<<kin.vachhani@gmail.com>\>
|
|
6
|
+
- Raf Ven \<<raf.ven@dynapps.be>\>
|
|
7
|
+
- Quentin Groulard (ACSONE) \<<quentin.groulard@acsone.eu>\>
|
|
8
|
+
- [Tecnativa](https://www.tecnativa.com):
|
|
9
|
+
- Vicent Cubells
|
|
10
|
+
- Manuel Calero
|
|
11
|
+
- Ernesto Tejeda
|
|
12
|
+
- Pedro M. Baeza
|
|
13
|
+
- Jairo Llopis
|
|
14
|
+
- João Marques
|
|
15
|
+
- César A. Sánchez
|
|
16
|
+
- Víctor Martínez
|
|
17
|
+
- Enric Tobella \<<etobella@creublanca.es>\>
|
|
18
|
+
- Naglis Jonaitis (Versada UAB) \<<naglis@versada.eu>\>
|
|
19
|
+
- [360ERP](https://www.360erp.com):
|
|
20
|
+
- Andrea Stirpe
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
Menu entries are located in *Invoicing \> Credit Control*.
|
|
2
|
+
|
|
3
|
+
Create a new "run" in the *Credit Control Run* menu with the controlling
|
|
4
|
+
date. Then, use the *Compute Credit Lines* button. All the credit
|
|
5
|
+
control lines will be generated. You can find them in the *Credit
|
|
6
|
+
Control Lines* menu.
|
|
7
|
+
|
|
8
|
+
On each generated line, you have many choices:
|
|
9
|
+
|
|
10
|
+
- Send a email
|
|
11
|
+
- Print a letter
|
|
12
|
+
- Change the state (so you can ignore or reopen lines)
|
|
13
|
+
- Mark a line as Manually Overridden. The line will get the ignored
|
|
14
|
+
state when a second credit control run is done.
|
|
15
|
+
- Mark one line as Manual followup will also mark all the lines of the
|
|
16
|
+
partner. The partner will be visible in "Do Manual Follow-ups".
|
|
17
|
+
|
|
18
|
+
Once your lines are properly set up, go back to the "run" and click on
|
|
19
|
+
*Run channel action* to massively generate and queue communication
|
|
20
|
+
emails or letters for all linked lines.
|
|
21
|
+
|
|
22
|
+
Then, use the *Communications* smart button to see all email
|
|
23
|
+
communication processes that have been created and follow them.
|