From 0a98e0ad4336869b34387719984c3ed7b2850fc7 Mon Sep 17 00:00:00 2001 From: mikevhe18 Date: Mon, 30 Jul 2018 18:50:27 +0700 Subject: [PATCH] [8.0.1.0.0][l10n_id_djbc_bc40] --- l10n_id_djbc_bc40/README.rst | 50 +++++++++++++++++ l10n_id_djbc_bc40/__init__.py | 5 ++ l10n_id_djbc_bc40/__openerp__.py | 20 +++++++ l10n_id_djbc_bc40/data/djbc_document_type.xml | 14 +++++ l10n_id_djbc_bc40/models/__init__.py | 5 ++ l10n_id_djbc_bc40/models/djbc_bc40.py | 20 +++++++ .../security/ir.model.access.csv | 3 ++ l10n_id_djbc_bc40/static/description/icon.png | Bin 0 -> 5005 bytes l10n_id_djbc_bc40/views/djbc_bc40_views.xml | 51 ++++++++++++++++++ 9 files changed, 168 insertions(+) create mode 100644 l10n_id_djbc_bc40/README.rst create mode 100644 l10n_id_djbc_bc40/__init__.py create mode 100644 l10n_id_djbc_bc40/__openerp__.py create mode 100644 l10n_id_djbc_bc40/data/djbc_document_type.xml create mode 100644 l10n_id_djbc_bc40/models/__init__.py create mode 100644 l10n_id_djbc_bc40/models/djbc_bc40.py create mode 100644 l10n_id_djbc_bc40/security/ir.model.access.csv create mode 100644 l10n_id_djbc_bc40/static/description/icon.png create mode 100644 l10n_id_djbc_bc40/views/djbc_bc40_views.xml diff --git a/l10n_id_djbc_bc40/README.rst b/l10n_id_djbc_bc40/README.rst new file mode 100644 index 0000000..e52a618 --- /dev/null +++ b/l10n_id_djbc_bc40/README.rst @@ -0,0 +1,50 @@ +.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +======================================= +Indonesia - Form 4.0 for DJBC Reporting +======================================= + +Form BC 4.0 for Direktorat Jendral Bea & Cukai IT Inventory + + +Installation +============ + +To install this module, you need to: + +1. Clone the branch 8.0 of the repository https://github.com/open-synergy/opnsynid-l10n-indonesia +2. Add the path to this repository in your configuration (addons-path) +3. Update the module list +4. Go to menu *Setting -> Modules -> Local Modules* +5. Search For *Indonesia - Form 4.0 for DJBC Reporting* +6. Install the module + +Bug Tracker +=========== + +Bugs are tracked on `GitHub Issues +`_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed +and welcomed feedback. + + +Credits +======= + +Contributors +------------ + +* Michael Viriyananda +* Andhitia Rama + +Maintainer +---------- + +.. image:: https://opensynergy-indonesia.com/logo.png + :alt: OpenSynergy Indonesia + :target: https://opensynergy-indonesia.com + +This module is maintained by the OpenSynergy Indonesia. diff --git a/l10n_id_djbc_bc40/__init__.py b/l10n_id_djbc_bc40/__init__.py new file mode 100644 index 0000000..814c523 --- /dev/null +++ b/l10n_id_djbc_bc40/__init__.py @@ -0,0 +1,5 @@ +# -*- coding: utf-8 -*- +# Copyright 2018 OpenSynergy Indonesia +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from . import models diff --git a/l10n_id_djbc_bc40/__openerp__.py b/l10n_id_djbc_bc40/__openerp__.py new file mode 100644 index 0000000..f1ea9c5 --- /dev/null +++ b/l10n_id_djbc_bc40/__openerp__.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# Copyright 2018 OpenSynergy Indonesia +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). +{ + "name": "Indonesia - Form BC 4.0 for DJBC Reporting", + "version": "8.0.1.0.0", + "category": "localization", + "website": "https://opensynergy-indonesia.com", + "author": "OpenSynergy Indonesia", + "license": "AGPL-3", + "installable": True, + "depends": [ + "l10n_id_djbc_app", + ], + "data": [ + "security/ir.model.access.csv", + "data/djbc_document_type.xml", + "views/djbc_bc40_views.xml", + ], +} diff --git a/l10n_id_djbc_bc40/data/djbc_document_type.xml b/l10n_id_djbc_bc40/data/djbc_document_type.xml new file mode 100644 index 0000000..3182229 --- /dev/null +++ b/l10n_id_djbc_bc40/data/djbc_document_type.xml @@ -0,0 +1,14 @@ + + + + + + + + BC 4.0 + BC 4.0 + + + + diff --git a/l10n_id_djbc_bc40/models/__init__.py b/l10n_id_djbc_bc40/models/__init__.py new file mode 100644 index 0000000..591f20a --- /dev/null +++ b/l10n_id_djbc_bc40/models/__init__.py @@ -0,0 +1,5 @@ +# -*- coding: utf-8 -*- +# Copyright 2018 OpenSynergy Indonesia +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from . import djbc_bc40 diff --git a/l10n_id_djbc_bc40/models/djbc_bc40.py b/l10n_id_djbc_bc40/models/djbc_bc40.py new file mode 100644 index 0000000..022df24 --- /dev/null +++ b/l10n_id_djbc_bc40/models/djbc_bc40.py @@ -0,0 +1,20 @@ +# -*- coding: utf-8 -*- +# Copyright 2018 OpenSynergy Indonesia +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from openerp import models, fields + + +class DjbcForm40(models.Model): + _name = "l10n_id.djbc_bc40" + _description = "Form 4.0 DJBC" + _inherits = { + "l10n_id.djbc_custom_document": "custom_document_id", + } + + custom_document_id = fields.Many2one( + string="Custom Document", + comodel_name="l10n_id.djbc_custom_document", + required=True, + ondelete="restrict", + ) diff --git a/l10n_id_djbc_bc40/security/ir.model.access.csv b/l10n_id_djbc_bc40/security/ir.model.access.csv new file mode 100644 index 0000000..32d0711 --- /dev/null +++ b/l10n_id_djbc_bc40/security/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_all_djbc_bc40,all user l10n_id.djbc_bc40,model_l10n_id_djbc_bc40,,1,0,0,0 +access_user_djbc_bc40,all user l10n_id.djbc_bc40,model_l10n_id_djbc_bc40,l10n_id_djbc_app.group_djbc_user,1,1,1,1 diff --git a/l10n_id_djbc_bc40/static/description/icon.png b/l10n_id_djbc_bc40/static/description/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..0f884a8dadbc2ef5cbab0eeebd3ca733c7ae4bfc GIT binary patch literal 5005 zcmV;86LRc{P)WX`wbr7B*?~=x*8UC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c40_views.xml b/l10n_id_djbc_bc40/views/djbc_bc40_views.xml new file mode 100644 index 0000000..2cbd1ca --- /dev/null +++ b/l10n_id_djbc_bc40/views/djbc_bc40_views.xml @@ -0,0 +1,51 @@ + + + + + + + tree l10n_id.djbc_bc40 + l10n_id.djbc_bc40 + + + + + + + + + + + form l10n_id.djbc_bc40 + l10n_id.djbc_bc40 + +
+ + + + + + + +
+
+
+ + + BC 4.0 + ir.actions.act_window + l10n_id.djbc_bc40 + form + tree,form + + + + +
+