Skip to content

Commit d48bff4

Browse files
committed
[MIG] coop_account: Migration to 18.0
1 parent 4b3391a commit d48bff4

42 files changed

Lines changed: 1240 additions & 1337 deletions

Some content is hidden

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

coop_account/README.rst

Lines changed: 23 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,25 @@
22
Coop Account
33
============
44

5-
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
5+
..
6+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
67
!! This file is generated by oca-gen-addon-readme !!
78
!! changes will be overwritten. !!
89
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10+
!! source digest: sha256:df3334c99df2876f1f5e372439ce9c764b27ddf149577fc8cbeaed146486721e
11+
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
912
1013
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
1114
:target: https://odoo-community.org/page/development-status
1215
:alt: Beta
1316
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
1417
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
1518
:alt: License: AGPL-3
16-
.. |badge3| image:: https://img.shields.io/badge/github-druidoo%2FFoodCoops-lightgray.png?logo=github
17-
:target: https://github.com/druidoo/FoodCoops/tree/12.0/coop_account
18-
:alt: druidoo/FoodCoops
19+
.. |badge3| image:: https://img.shields.io/badge/github-AwesomeFoodCoops%2Fodoo--production-lightgray.png?logo=github
20+
:target: https://github.com/AwesomeFoodCoops/odoo-production/tree/18.0/coop_account
21+
:alt: AwesomeFoodCoops/odoo-production
1922

20-
|badge1| |badge2| |badge3|
23+
|badge1| |badge2| |badge3|
2124

2225
Customizations for foodcoops
2326

@@ -29,25 +32,34 @@ Customizations for foodcoops
2932
Bug Tracker
3033
===========
3134

32-
Bugs are tracked on `GitHub Issues <https://github.com/druidoo/FoodCoops/issues>`_.
35+
Bugs are tracked on `GitHub Issues <https://github.com/AwesomeFoodCoops/odoo-production/issues>`_.
3336
In case of trouble, please check there if your issue has already been reported.
34-
If you spotted it first, help us smashing it by providing a detailed and welcomed
35-
`feedback <https://github.com/druidoo/FoodCoops/issues/new?body=module:%20coop_account%0Aversion:%2012.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
37+
If you spotted it first, help us to smash it by providing a detailed and welcomed
38+
`feedback <https://github.com/AwesomeFoodCoops/odoo-production/issues/new?body=module:%20coop_account%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
3639

3740
Do not contact contributors directly about support or help with technical issues.
3841

3942
Credits
4043
=======
4144

4245
Authors
43-
~~~~~~~
46+
-------
4447

4548
* La Louve
4649
* Druidoo
4750

51+
Contributors
52+
------------
53+
54+
- La Louve
55+
- Druidoo
56+
- `Trobz <https://www.trobz.com>`__
57+
58+
- Phan Hong Phuc <phucph@trobz.com>
59+
4860
Maintainers
49-
~~~~~~~~~~~
61+
-----------
5062

51-
This module is part of the `druidoo/FoodCoops <https://github.com/druidoo/FoodCoops/tree/12.0/coop_account>`_ project on GitHub.
63+
This module is part of the `AwesomeFoodCoops/odoo-production <https://github.com/AwesomeFoodCoops/odoo-production/tree/18.0/coop_account>`_ project on GitHub.
5264

5365
You are welcome to contribute.

coop_account/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
1+
from . import controllers
22
from . import models
33
from . import wizard
4-
from . import report
54
from .init_hook import pre_init_hook

coop_account/__manifest__.py

Lines changed: 25 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,32 +2,38 @@
22
# Copyright (C) 2019-Today: Druidoo (<https://www.druidoo.io>)
33

44
{
5-
'name': 'Coop Account',
6-
'version': '12.0.1.1.0',
7-
'category': 'Accounting',
8-
'summary': 'Coop Account',
9-
'author': 'La Louve, Druidoo',
10-
'website': 'http://www.lalouve.net',
11-
'license': 'AGPL-3',
12-
'depends': [
13-
'account',
14-
'queue_job',
15-
'barcodes_generator_partner',
16-
'account_tax_balance',
5+
"name": "Coop Account",
6+
"version": "18.0.1.0.0",
7+
"category": "Accounting",
8+
"summary": "Coop Account",
9+
"author": "La Louve, Druidoo, Odoo Community Association (OCA)",
10+
"website": "https://github.com/AwesomeFoodCoops/odoo-production",
11+
"license": "AGPL-3",
12+
"depends": [
13+
"account",
14+
"queue_job",
15+
"account_tax_balance",
16+
"account_statement_base",
17+
"purchase_unreconciled",
18+
"barcodes_generator_partner",
1719
],
18-
'data': [
19-
"view/assets.xml",
20+
"data": [
21+
"security/ir.model.access.csv",
2022
"view/view_account_bank_statement.xml",
23+
"view/account_journal_view.xml",
2124
"view/view_account_move.xml",
2225
"view/view_account_move_line.xml",
2326
"view/view_account_payment.xml",
2427
"view/view_account_account.xml",
25-
"view/view_account_invoice.xml",
28+
"view/menu.xml",
2629
"wizard/view_bank_statement_line_reconcile_wizard.xml",
2730
"wizard/view_unmatch_bank_statement_wizard.xml",
28-
"view/menu.xml",
29-
"view/account_journal_view.xml"
3031
],
31-
'installable': True,
32-
'pre_init_hook': 'pre_init_hook',
32+
"assets": {
33+
"web.assets_backend": [
34+
"coop_account/static/src/js/export_wrong_reconciliation_move_lines.esm.js",
35+
],
36+
},
37+
"installable": True,
38+
"pre_init_hook": "pre_init_hook",
3339
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from . import main

coop_account/controllers/main.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
from odoo import http
2+
3+
4+
class CoopAccount(http.Controller):
5+
@http.route(
6+
"/coop_account/export_wrong_reconciliation_ml", type="json", auth="user"
7+
)
8+
def export_wrong_reconciliation_ml(self):
9+
return http.request.env["account.move.line"].export_wrong_reconciliation_ml()

0 commit comments

Comments
 (0)