Skip to content
This repository was archived by the owner on Mar 28, 2024. It is now read-only.

Commit c87e94f

Browse files
committed
update copyright and project config
1 parent c3350e0 commit c87e94f

File tree

92 files changed

+191
-391
lines changed

Some content is hidden

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

92 files changed

+191
-391
lines changed

Diff for: .gitbook.yaml

-4
This file was deleted.

Diff for: .github/workflows/test.yaml

+69
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
name: tests
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- "main"
7+
push:
8+
branches:
9+
- "main"
10+
11+
jobs:
12+
unreleased-deps:
13+
runs-on: ubuntu-latest
14+
name: Detect unreleased dependencies
15+
steps:
16+
- uses: actions/checkout@v2
17+
- run: |
18+
for reqfile in requirements.txt test-requirements.txt ; do
19+
if [ -f ${reqfile} ] ; then
20+
result=0
21+
# reject non-comment lines that contain a / (i.e. URLs, relative paths)
22+
grep "^[^#].*/" ${reqfile} || result=$?
23+
if [ $result -eq 0 ] ; then
24+
echo "Unreleased dependencies found in ${reqfile}."
25+
exit 1
26+
fi
27+
fi
28+
done
29+
test:
30+
runs-on: ubuntu-latest
31+
container: ${{ matrix.container }}
32+
name: ${{ matrix.name }}
33+
strategy:
34+
fail-fast: false
35+
matrix:
36+
include:
37+
- container: ghcr.io/oca/oca-ci/py3.8-odoo15.0:latest
38+
makepot: "true"
39+
name: test with Odoo
40+
- container: ghcr.io/oca/oca-ci/py3.8-ocb15.0:latest
41+
#makepot: "true"
42+
name: test with OCB
43+
services:
44+
postgres:
45+
image: postgres:9.6
46+
env:
47+
POSTGRES_USER: odoo
48+
POSTGRES_PASSWORD: odoo
49+
POSTGRES_DB: odoo
50+
ports:
51+
- 5432:5432
52+
steps:
53+
- uses: actions/checkout@v2
54+
with:
55+
persist-credentials: false
56+
- name: Install addons and dependencies
57+
run: oca_install_addons
58+
- name: Check licenses
59+
run: manifestoo -d . check-licenses
60+
- name: Check development status
61+
run: manifestoo -d . check-dev-status --default-dev-status=Beta
62+
- name: Initialize test db
63+
run: oca_init_test_database
64+
# - name: Run tests
65+
# run: oca_run_tests
66+
# - uses: codecov/codecov-action@v1
67+
# - name: Update .pot files
68+
# run: oca_export_and_push_pot https://x-access-token:${{ secrets.GIT_PUSH_TOKEN }}@github.com/${{ github.repository }}
69+
# if: ${{ matrix.makepot == 'true' && github.event_name == 'push' && github.repository_owner == 'openspp_project' }}

Diff for: .pylintrc

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ score=n
44

55
[ODOOLINT]
66
readme_template_url="https://github.com/OCA/maintainer-tools/blob/master/template/module/README.rst"
7-
manifest_required_authors=Newlogic
7+
manifest_required_authors=OpenSPP.org
88
manifest_required_keys=license
99
manifest_deprecated_keys=description,active
10-
license_allowed=AGPL-3,OPL-1,LGPL-3
10+
license_allowed=AGPL-3,LGPL-3
1111
valid_odoo_versions=15.0
1212

1313
[MESSAGES CONTROL]

Diff for: .pylintrc-mandatory

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ score=n
44

55
[ODOOLINT]
66
readme_template_url="https://github.com/OCA/maintainer-tools/blob/master/template/module/README.rst"
7-
manifest_required_authors=Newlogic
7+
manifest_required_authors=OpenSPP.org
88
manifest_required_keys=license
99
manifest_deprecated_keys=description,active
10-
license_allowed=AGPL-3,OPL-1,LGPL-3
10+
license_allowed=AGPL-3,LGPL-3
1111
valid_odoo_versions=15.0
1212

1313
[MESSAGES CONTROL]

Diff for: COPYRIGHT

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
Most of the files are
3+
4+
Copyright (c) 2022 OpenSPP.org
5+
6+
Many files also contain contributions from third
7+
parties. In this case the original copyright of
8+
the contributions can be traced through the
9+
history of the source version control system.
10+
11+
When that is not the case, the files contain a prominent
12+
notice stating the original copyright and applicable
13+
license, or come with their own dedicated COPYRIGHT
14+
and/or LICENSE file.

Diff for: g2p_programs/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Part of Newlogic G2P. See LICENSE file for full copyright and licensing details.
1+
# Part of OpenSPP. See LICENSE file for full copyright and licensing details.
22

33
from . import models
44
from . import wizard

Diff for: g2p_programs/__manifest__.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# Part of Newlogic G2P. See LICENSE file for full copyright and licensing details.
1+
# Part of OpenSPP. See LICENSE file for full copyright and licensing details.
22
{
33
"name": "G2P Programs",
44
"category": "G2P",
55
"version": "15.0.0.0.1",
66
"sequence": 1,
7-
"author": "Newlogic",
8-
"website": "https://newlogic.com/",
7+
"author": "OpenSPP.org",
8+
"website": "https://openspp.org/",
99
"license": "LGPL-3",
1010
"depends": [
1111
"base",

Diff for: g2p_programs/models/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Part of Newlogic G2P. See LICENSE file for full copyright and licensing details.
1+
# Part of OpenSPP. See LICENSE file for full copyright and licensing details.
22

33
from . import constants
44
from . import entitlement

Diff for: g2p_programs/models/accounting/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Part of Newlogic G2P. See LICENSE file for full copyright and licensing details.
1+
# Part of OpenSPP. See LICENSE file for full copyright and licensing details.
22

33
from . import account_journal
44
from . import fund_management

Diff for: g2p_programs/models/accounting/account_journal.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Part of Newlogic G2P. See LICENSE file for full copyright and licensing details.
1+
# Part of OpenSPP. See LICENSE file for full copyright and licensing details.
22

33
from odoo import fields, models
44

Diff for: g2p_programs/models/accounting/fund_management.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Part of Newlogic G2P. See LICENSE file for full copyright and licensing details.
1+
# Part of OpenSPP. See LICENSE file for full copyright and licensing details.
22

33
from odoo import _, api, fields, models
44
from odoo.exceptions import UserError

Diff for: g2p_programs/models/accounting/fund_report.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Part of Newlogic G2P. See LICENSE file for full copyright and licensing details.
1+
# Part of OpenSPP. See LICENSE file for full copyright and licensing details.
22

33
from odoo import fields, models, tools
44

Diff for: g2p_programs/models/cycle.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Part of Newlogic G2P. See LICENSE file for full copyright and licensing details.
1+
# Part of OpenSPP. See LICENSE file for full copyright and licensing details.
22

33
import logging
44

Diff for: g2p_programs/models/cycle_membership.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Part of Newlogic G2P. See LICENSE file for full copyright and licensing details.
1+
# Part of OpenSPP. See LICENSE file for full copyright and licensing details.
22
from odoo import fields, models
33

44

Diff for: g2p_programs/models/entitlement.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Part of Newlogic G2P. See LICENSE file for full copyright and licensing details.
1+
# Part of OpenSPP. See LICENSE file for full copyright and licensing details.
22
import logging
33
from uuid import uuid4
44

Diff for: g2p_programs/models/managers/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Part of Newlogic G2P. See LICENSE file for full copyright and licensing details.
1+
# Part of OpenSPP. See LICENSE file for full copyright and licensing details.
22

33
from . import manager_mixin
44
from . import source_mixin

Diff for: g2p_programs/models/managers/base_manager.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Part of Newlogic G2P. See LICENSE file for full copyright and licensing details.
1+
# Part of OpenSPP. See LICENSE file for full copyright and licensing details.
22
from odoo import models
33
from odoo.tools import safe_eval
44

Diff for: g2p_programs/models/managers/cycle_manager.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Part of Newlogic G2P. See LICENSE file for full copyright and licensing details.
1+
# Part of OpenSPP. See LICENSE file for full copyright and licensing details.
22
import logging
33
from datetime import timedelta
44

Diff for: g2p_programs/models/managers/deduplication_manager.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Part of Newlogic G2P. See LICENSE file for full copyright and licensing details.
1+
# Part of OpenSPP. See LICENSE file for full copyright and licensing details.
22
import collections
33
import itertools
44
import logging

Diff for: g2p_programs/models/managers/eligibility_manager.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Part of Newlogic G2P. See LICENSE file for full copyright and licensing details.
1+
# Part of OpenSPP. See LICENSE file for full copyright and licensing details.
22
import logging
33

44
from odoo import api, fields, models

Diff for: g2p_programs/models/managers/entitlement_manager.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Part of Newlogic G2P. See LICENSE file for full copyright and licensing details.
1+
# Part of OpenSPP. See LICENSE file for full copyright and licensing details.
22
from odoo import api, fields, models
33

44

Diff for: g2p_programs/models/managers/manager_mixin.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Part of Newlogic G2P. See LICENSE file for full copyright and licensing details.
1+
# Part of OpenSPP. See LICENSE file for full copyright and licensing details.
22
from odoo import api, fields, models
33

44

Diff for: g2p_programs/models/managers/notification_manager.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Part of Newlogic G2P. See LICENSE file for full copyright and licensing details.
1+
# Part of OpenSPP. See LICENSE file for full copyright and licensing details.
22
from odoo import api, fields, models
33

44

Diff for: g2p_programs/models/managers/program_manager.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Part of Newlogic G2P. See LICENSE file for full copyright and licensing details.
1+
# Part of OpenSPP. See LICENSE file for full copyright and licensing details.
22
import logging
33
from datetime import datetime, timedelta
44

Diff for: g2p_programs/models/managers/source_mixin.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Part of Newlogic G2P. See LICENSE file for full copyright and licensing details.
1+
# Part of OpenSPP. See LICENSE file for full copyright and licensing details.
22
from odoo import api, models
33

44

Diff for: g2p_programs/models/program_config.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Part of Newlogic G2P. See LICENSE file for full copyright and licensing details.
1+
# Part of OpenSPP. See LICENSE file for full copyright and licensing details.
22

33
from odoo import fields, models
44

Diff for: g2p_programs/models/program_membership.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Part of Newlogic G2P. See LICENSE file for full copyright and licensing details.
1+
# Part of OpenSPP. See LICENSE file for full copyright and licensing details.
22
from lxml import etree
33
from odoo import fields, models
44

Diff for: g2p_programs/models/programs.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Part of Newlogic G2P. See LICENSE file for full copyright and licensing details.
1+
# Part of OpenSPP. See LICENSE file for full copyright and licensing details.
22
import logging
33

44
from odoo import _, api, fields, models

Diff for: g2p_programs/models/registrant.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Part of Newlogic G2P. See LICENSE file for full copyright and licensing details.
1+
# Part of OpenSPP. See LICENSE file for full copyright and licensing details.
22
from odoo import fields, models
33

44

Diff for: g2p_programs/security/program_security.xml

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,23 @@
33

44
<record id="g2p_program_validator" model="res.groups">
55
<field name="name">Program Validator</field>
6-
<field name="category_id" ref="g2p_registry_base.newlogic_module" />
6+
<field name="category_id" ref="g2p_registry_base.openg2p_module" />
77
</record>
88

99
<record id="g2p_program_cycle_approver" model="res.groups">
1010
<field name="name">Program Cycle Approver</field>
11-
<field name="category_id" ref="g2p_registry_base.newlogic_module" />
11+
<field name="category_id" ref="g2p_registry_base.openg2p_module" />
1212
<field name="implied_ids" eval="[Command.link(ref('g2p_programs.g2p_program_validator'))]" />
1313
</record>
1414

1515
<record id="g2p_program_manager" model="res.groups">
1616
<field name="name">Program Manager</field>
17-
<field name="category_id" ref="g2p_registry_base.newlogic_module" />
17+
<field name="category_id" ref="g2p_registry_base.openg2p_module" />
1818
</record>
1919

2020
<record id="g2p_finance_validator" model="res.groups">
2121
<field name="name">Finance Validator</field>
22-
<field name="category_id" ref="g2p_registry_base.newlogic_module" />
22+
<field name="category_id" ref="g2p_registry_base.openg2p_module" />
2323
</record>
2424

2525
</data>

Diff for: g2p_programs/tests/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Part of Newlogic G2P. See LICENSE file for full copyright and licensing details.
1+
# Part of OpenSPP. See LICENSE file for full copyright and licensing details.
22

33
from . import test_programs_id_eligibility_dedup
44
from . import test_programs_phone_eligibility_deduplicate

Diff for: g2p_programs/views/accounting/account_journal_config_view.xml

+1-10
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8" ?>
22
<!--
3-
Copyright 2022 Newlogic
4-
Licensed under the Apache License, Version 2.0 (the "License");
5-
you may not use this file except in compliance with the License.
6-
You may obtain a copy of the License at
7-
http://www.apache.org/licenses/LICENSE-2.0
8-
Unless required by applicable law or agreed to in writing, software
9-
distributed under the License is distributed on an "AS IS" BASIS,
10-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11-
See the License for the specific language governing permissions and
12-
limitations under the License.
3+
Part of OpenSPP. See LICENSE file for full copyright and licensing details.
134
-->
145
<odoo>
156
<record id="view_account_journal_conf_tree" model="ir.ui.view">

Diff for: g2p_programs/views/accounting/account_journal_view.xml

+1-10
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8" ?>
22
<!--
3-
Copyright 2022 Newlogic
4-
Licensed under the Apache License, Version 2.0 (the "License");
5-
you may not use this file except in compliance with the License.
6-
You may obtain a copy of the License at
7-
http://www.apache.org/licenses/LICENSE-2.0
8-
Unless required by applicable law or agreed to in writing, software
9-
distributed under the License is distributed on an "AS IS" BASIS,
10-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11-
See the License for the specific language governing permissions and
12-
limitations under the License.
3+
Part of OpenSPP. See LICENSE file for full copyright and licensing details.
134
-->
145
<odoo>
156
<record id="view_account_move_line_beneficiary_filter" model="ir.ui.view">

Diff for: g2p_programs/views/accounting/fund_management_view.xml

+1-10
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8" ?>
22
<!--
3-
Copyright 2022 Newlogic
4-
Licensed under the Apache License, Version 2.0 (the "License");
5-
you may not use this file except in compliance with the License.
6-
You may obtain a copy of the License at
7-
http://www.apache.org/licenses/LICENSE-2.0
8-
Unless required by applicable law or agreed to in writing, software
9-
distributed under the License is distributed on an "AS IS" BASIS,
10-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11-
See the License for the specific language governing permissions and
12-
limitations under the License.
3+
Part of OpenSPP. See LICENSE file for full copyright and licensing details.
134
-->
145
<odoo>
156
<record id="view_program_fund_tree" model="ir.ui.view">

Diff for: g2p_programs/views/accounting/fund_report_view.xml

+1-10
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8" ?>
22
<!--
3-
Copyright 2022 Newlogic
4-
Licensed under the Apache License, Version 2.0 (the "License");
5-
you may not use this file except in compliance with the License.
6-
You may obtain a copy of the License at
7-
http://www.apache.org/licenses/LICENSE-2.0
8-
Unless required by applicable law or agreed to in writing, software
9-
distributed under the License is distributed on an "AS IS" BASIS,
10-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11-
See the License for the specific language governing permissions and
12-
limitations under the License.
3+
Part of OpenSPP. See LICENSE file for full copyright and licensing details.
134
-->
145
<odoo>
156
<record id="view_program_fund_report_tree" model="ir.ui.view">

Diff for: g2p_programs/views/cycle_membership_view.xml

+1-10
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8" ?>
22
<!--
3-
Copyright 2022 Newlogic
4-
Licensed under the Apache License, Version 2.0 (the "License");
5-
you may not use this file except in compliance with the License.
6-
You may obtain a copy of the License at
7-
http://www.apache.org/licenses/LICENSE-2.0
8-
Unless required by applicable law or agreed to in writing, software
9-
distributed under the License is distributed on an "AS IS" BASIS,
10-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11-
See the License for the specific language governing permissions and
12-
limitations under the License.
3+
Part of OpenSPP. See LICENSE file for full copyright and licensing details.
134
-->
145
<odoo>
156
<record id="view_cycle_membership_tree" model="ir.ui.view">

0 commit comments

Comments
 (0)