odoo-addon-account-reconcile-oca 16.0.2.3.10__py3-none-any.whl → 16.0.2.4.0__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.
@@ -7,7 +7,7 @@ Account Reconcile Oca
7
7
  !! This file is generated by oca-gen-addon-readme !!
8
8
  !! changes will be overwritten. !!
9
9
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10
- !! source digest: sha256:464de72a604c3a945b8f26208f77f599daabd63bfc75767a6f5ef1dac34d999b
10
+ !! source digest: sha256:e02ec8014aadf1ad756c0f73b4461ab9b84fb7eb6380da15da76ce2a33086d53
11
11
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
12
12
 
13
13
  .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -5,7 +5,7 @@
5
5
  "name": "Account Reconcile Oca",
6
6
  "summary": """
7
7
  Reconcile addons for Odoo CE accounting""",
8
- "version": "16.0.2.3.10",
8
+ "version": "16.0.2.4.0",
9
9
  "license": "AGPL-3",
10
10
  "author": "CreuBlanca,Dixmit,Odoo Community Association (OCA)",
11
11
  "maintainers": ["etobella"],
@@ -40,6 +40,11 @@ msgstr ""
40
40
  msgid "Account Reconcile Abstract"
41
41
  msgstr ""
42
42
 
43
+ #. module: account_reconcile_oca
44
+ #: model:ir.model.fields,field_description:account_reconcile_oca.field_account_account_reconcile__active
45
+ msgid "Active"
46
+ msgstr ""
47
+
43
48
  #. module: account_reconcile_oca
44
49
  #: model:ir.model.fields,field_description:account_reconcile_oca.field_account_account_reconcile__add_account_move_line_id
45
50
  #: model:ir.model.fields,field_description:account_reconcile_oca.field_account_bank_statement_line__add_account_move_line_id
@@ -21,6 +21,7 @@ class AccountAccountReconcile(models.Model):
21
21
  account_id = fields.Many2one("account.account", readonly=True)
22
22
  name = fields.Char(readonly=True)
23
23
  is_reconciled = fields.Boolean(readonly=True)
24
+ active = fields.Boolean(default=True)
24
25
 
25
26
  @property
26
27
  def _table_query(self):
@@ -56,7 +57,19 @@ class AccountAccountReconcile(models.Model):
56
57
  FALSE as is_reconciled,
57
58
  aml.currency_id as currency_id,
58
59
  a.company_id,
59
- false as foreign_currency_id
60
+ false as foreign_currency_id,
61
+ (
62
+ SUM(
63
+ CASE WHEN aml.amount_residual > 0
64
+ THEN aml.amount_residual
65
+ ELSE 0 END
66
+ ) > 0
67
+ AND SUM(
68
+ CASE WHEN aml.amount_residual < 0
69
+ THEN -aml.amount_residual
70
+ ELSE 0 END
71
+ ) > 0
72
+ ) as active
60
73
  """
61
74
 
62
75
  def _from(self):
@@ -71,7 +84,6 @@ class AccountAccountReconcile(models.Model):
71
84
  return """
72
85
  WHERE a.reconcile
73
86
  AND am.state = 'posted'
74
- AND aml.amount_residual != 0
75
87
  """
76
88
 
77
89
  def _groupby(self):
@@ -89,9 +101,6 @@ class AccountAccountReconcile(models.Model):
89
101
 
90
102
  def _having(self):
91
103
  return """
92
- HAVING
93
- SUM(aml.debit) > 0
94
- AND SUM(aml.credit) > 0
95
104
  """
96
105
 
97
106
  def _compute_reconcile_data_info(self):
@@ -367,7 +367,7 @@ ul.auto-toc {
367
367
  !! This file is generated by oca-gen-addon-readme !!
368
368
  !! changes will be overwritten. !!
369
369
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370
- !! source digest: sha256:464de72a604c3a945b8f26208f77f599daabd63bfc75767a6f5ef1dac34d999b
370
+ !! source digest: sha256:e02ec8014aadf1ad756c0f73b4461ab9b84fb7eb6380da15da76ce2a33086d53
371
371
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
372
372
  <p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/account-reconcile/tree/16.0/account_reconcile_oca"><img alt="OCA/account-reconcile" src="https://img.shields.io/badge/github-OCA%2Faccount--reconcile-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/account-reconcile-16-0/account-reconcile-16-0-account_reconcile_oca"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/account-reconcile&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
373
373
  <p>This addon allows to reconcile bank statements and account marked as <cite>reconcile</cite>.</p>
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: odoo-addon-account_reconcile_oca
3
- Version: 16.0.2.3.10
3
+ Version: 16.0.2.4.0
4
4
  Summary: Reconcile addons for Odoo CE accounting
5
5
  Home-page: https://github.com/OCA/account-reconcile
6
6
  Author: CreuBlanca,Dixmit,Odoo Community Association (OCA)
@@ -23,7 +23,7 @@ Account Reconcile Oca
23
23
  !! This file is generated by oca-gen-addon-readme !!
24
24
  !! changes will be overwritten. !!
25
25
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
26
- !! source digest: sha256:464de72a604c3a945b8f26208f77f599daabd63bfc75767a6f5ef1dac34d999b
26
+ !! source digest: sha256:e02ec8014aadf1ad756c0f73b4461ab9b84fb7eb6380da15da76ce2a33086d53
27
27
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
28
28
 
29
29
  .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
@@ -1,9 +1,9 @@
1
- odoo/addons/account_reconcile_oca/README.rst,sha256=hV53VN4Nj_ACbWNLr_lOcc0BAUTfr9F7uCRmIPkyey0,4045
1
+ odoo/addons/account_reconcile_oca/README.rst,sha256=xqOy6iQREvZARFdUJITYUdrpqLFLX1wmZ2Svw-zr-W0,4045
2
2
  odoo/addons/account_reconcile_oca/__init__.py,sha256=vqRYeBgCVZMpZhYvILSxVsNLC9V7zDnvxMnKU8RQP94,55
3
- odoo/addons/account_reconcile_oca/__manifest__.py,sha256=hONSwKB8JnUYomgUptjtGtjc0uFaH7rXWvw-dgIbC5c,1860
3
+ odoo/addons/account_reconcile_oca/__manifest__.py,sha256=OZzRrf8XSu347KrLlkxju4rno0ifSlFTk4TEV7jWtNU,1859
4
4
  odoo/addons/account_reconcile_oca/hooks.py,sha256=l2-vYiPh-Wu_4Hi3GvfoUmc527S-Jozb07-DbP6LzDA,187
5
5
  odoo/addons/account_reconcile_oca/demo/demo.xml,sha256=6k0uK-H1aBiyogVNhQMQfFGL5zUfUGV2M-sSV6LHeUs,204
6
- odoo/addons/account_reconcile_oca/i18n/account_reconcile_oca.pot,sha256=-mUJwfpIhw4hcbXforS8LRmN8UEcA0b5mcALWU2rG6Y,26901
6
+ odoo/addons/account_reconcile_oca/i18n/account_reconcile_oca.pot,sha256=ZraEc6dS7yyqCeS7IgfN-_P9LBxP5qWl0NDtKD0SCf0,27065
7
7
  odoo/addons/account_reconcile_oca/i18n/ca.po,sha256=_8fzYCy3KHc4SC1oNeutPtjN5DYvtO8eIxfq0yQjXdw,28909
8
8
  odoo/addons/account_reconcile_oca/i18n/es.po,sha256=6GcDBR56cGubVi5oWhI5jDaaTMAQ3KliNQXWkGWkyW4,29843
9
9
  odoo/addons/account_reconcile_oca/i18n/fr.po,sha256=d5FCHPodeJspceQ142zpHC8cTlduwrV_Qspm_Yu8QZM,29975
@@ -16,7 +16,7 @@ odoo/addons/account_reconcile_oca/i18n/sv.po,sha256=lJTVhmmXRwybb7p1LgYVjhKe4F-a
16
16
  odoo/addons/account_reconcile_oca/i18n/tr.po,sha256=4TciOMYS7jzr-cNQ_W_ycmna5QIBZlo9E_lc1_rhpJM,29611
17
17
  odoo/addons/account_reconcile_oca/migrations/16.0.1.2.0/pre-migration.py,sha256=Z_OLx-fclggJUAtYpepXRAAc68AizrIN6MWtl4zp0Qw,642
18
18
  odoo/addons/account_reconcile_oca/models/__init__.py,sha256=28wbZjUZa30uHQY10BMJtKQ_BqJgwLQMQvB9uv0H_fY,282
19
- odoo/addons/account_reconcile_oca/models/account_account_reconcile.py,sha256=rjHMGUUBBRls89YlZLnNoYrxcZzFaAmz9dU-qVpsxNo,7182
19
+ odoo/addons/account_reconcile_oca/models/account_account_reconcile.py,sha256=kO8O0cfsxwXc--MbaJ12sc9QhOIVMVrl5rYpmnrVO-0,7523
20
20
  odoo/addons/account_reconcile_oca/models/account_bank_statement.py,sha256=CFqlLLtmTqmt5yH3v_pkUfkZezSb1nEhBTu2J5gCjxM,1034
21
21
  odoo/addons/account_reconcile_oca/models/account_bank_statement_line.py,sha256=Tf7hO1INd-UMvaVOMZ7boiaELJhFp_nouZSf0xWuBIA,52214
22
22
  odoo/addons/account_reconcile_oca/models/account_journal.py,sha256=8vluuQ0q0rGmVnJWyaSOAhTD0WZQuawKNqhUCEEYRvo,1306
@@ -31,7 +31,7 @@ odoo/addons/account_reconcile_oca/readme/USAGE.rst,sha256=Vr2Odh3VlB7F-pWq5CqnP5
31
31
  odoo/addons/account_reconcile_oca/security/ir.model.access.csv,sha256=XfN2EKOoChlEDonVd5DtodVAQyRbShiJ8nrXx6EwNmM,339
32
32
  odoo/addons/account_reconcile_oca/security/security.xml,sha256=i978n9S9IyLCKqJRvw4gBy8mQBf2-QTPyVu8cRyDuVc,385
33
33
  odoo/addons/account_reconcile_oca/static/description/icon.png,sha256=6xBPJauaFOF0KDHfHgQopSc28kKvxMaeoQFQWZtfZDo,9455
34
- odoo/addons/account_reconcile_oca/static/description/index.html,sha256=ER5FWznN_QqtZtCeeitL-GZ0IOnuv4R9LUi1m1H3OcM,14181
34
+ odoo/addons/account_reconcile_oca/static/description/index.html,sha256=pJawHipLUoZgz1nhziE1FPP29ex0H71rz5QCuFW5B-0,14181
35
35
  odoo/addons/account_reconcile_oca/static/description/reconcile-model-full.png,sha256=gzF5JHp5XjYi7VWFIknCzEIYDlfUKkeeH0nCFR2KLNU,135838
36
36
  odoo/addons/account_reconcile_oca/static/description/reconcile-model-partial.png,sha256=YXlvsPVtDcHZvwv5yZfHGeyMvmxngzGsQWPicrLpFds,137158
37
37
  odoo/addons/account_reconcile_oca/static/src/js/reconcile/reconcile_controller.esm.js,sha256=4bw-Dc1pmVx6sv-fBzyPfBj-rZrqFUVZ8C19n9Pfpi0,4880
@@ -64,7 +64,7 @@ odoo/addons/account_reconcile_oca/views/account_journal.xml,sha256=WQGxMPgl4Um-I
64
64
  odoo/addons/account_reconcile_oca/views/account_move.xml,sha256=qMXpycJJfaztyToulMmLY1NF2UDL2lcZM-m1tTiAoRY,995
65
65
  odoo/addons/account_reconcile_oca/views/account_move_line.xml,sha256=BfObEwM6vXHMtxOFMOGDdCPOWO4ybz3w1_fm4_ufqM0,5274
66
66
  odoo/addons/account_reconcile_oca/views/res_config_settings.xml,sha256=hL06Z_0Eg96LU6ta7VHRaheUDehJ6tVexBjU6X52Vng,1412
67
- odoo_addon_account_reconcile_oca-16.0.2.3.10.dist-info/METADATA,sha256=E2rUbShX0c6iEaj924DYBtrSptpAbqhMJ14AejrFgak,4659
68
- odoo_addon_account_reconcile_oca-16.0.2.3.10.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
69
- odoo_addon_account_reconcile_oca-16.0.2.3.10.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
70
- odoo_addon_account_reconcile_oca-16.0.2.3.10.dist-info/RECORD,,
67
+ odoo_addon_account_reconcile_oca-16.0.2.4.0.dist-info/METADATA,sha256=Y8oHGzPyH6p-WLm0GWpPToVWA9wK_8R_EXufc4LIVcw,4658
68
+ odoo_addon_account_reconcile_oca-16.0.2.4.0.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
69
+ odoo_addon_account_reconcile_oca-16.0.2.4.0.dist-info/top_level.txt,sha256=qBj40grFkGOfDZ2WDSw3y1RnDlgG0u8rP8pvGNdbz4w,5
70
+ odoo_addon_account_reconcile_oca-16.0.2.4.0.dist-info/RECORD,,