Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

draft publish module #61

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Available addons
----------------
addon | version | maintainers | summary
--- | --- | --- | ---
[g2p_draft_publish](g2p_draft_publish/) | 17.0.0.0.0 | | Draft Publish Module
[g2p_registry_g2p_connect_rest_api](g2p_registry_g2p_connect_rest_api/) | 17.0.0.0.0 | | OpenG2P Registry: G2P Connect REST API
[g2p_registry_id_deduplication](g2p_registry_id_deduplication/) | 17.0.0.0.0 | | OpenG2P Registry ID Deduplication
[g2p_social_registry](g2p_social_registry/) | 17.0.0.0.0 | | OpenG2P Social Registry
Expand Down
1 change: 1 addition & 0 deletions g2p_draft_publish/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# g2p_ati_integrations
2 changes: 2 additions & 0 deletions g2p_draft_publish/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from . import models
from . import wizards
32 changes: 32 additions & 0 deletions g2p_draft_publish/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"name": "Draft Publish",
"version": "17.0.0.0.0",
"summary": "Draft Publish Module",
"category": "tools",
"depends": ["base", "mail", "g2p_social_registry", "g2p_registry_addl_info", "web"],
"data": [
"security/rules.xml",
"security/ir.model.access.csv",
"data/enrichment_status.xml",
"views/configurations.xml",
"views/draft_imported_records.xml",
"views/imported_records.xml",
"wizards/add_followers.xml",
"wizards/rejection.xml",
],
"assets": {
"web.assets_backend": [
"g2p_draft_publish/static/src/**/*.js",
"g2p_draft_publish/static/src/**/*.css",
"g2p_draft_publish/static/src/**/*.scss",
"g2p_draft_publish/static/src/**/*.xml",
],
},
"author": "OpenG2P",
"website": "https://openg2p.org",
"installable": True,
"application": False,
"auto_install": False,
# "images": ["static/description/Banner.gif"],
"license": "",
}
8 changes: 8 additions & 0 deletions g2p_draft_publish/data/enrichment_status.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<odoo noupdate="1">

<record id="enrichment_started" model="g2p.validation.status">
<field name="name">Started</field>
</record>


</odoo>
4 changes: 4 additions & 0 deletions g2p_draft_publish/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# from . import res_partner
from . import imported_farmer_records
from . import configurations
from . import draft_import_records
7 changes: 7 additions & 0 deletions g2p_draft_publish/models/configurations.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
from odoo import fields, models


class G2PValidationStatus(models.Model):
_name = "g2p.validation.status"

name = fields.Char()
Loading
Loading