-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.0.1.0.0][l10n_id_taxform_bukti_potong_pph_f113301
- Loading branch information
Showing
9 changed files
with
207 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
|
||
.. 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 - Bukti Potong PPh 21 Tidak Final (f.1.1.33.01) | ||
========================================================= | ||
|
||
This module add feature to manage bukti potong PPh 21 Tidak Final (f.1.33.01) | ||
|
||
|
||
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 - Bukti Potong PPh 21 Tidak Final (f.1.1.33.01)* | ||
6. Install the module | ||
|
||
Configuration | ||
============= | ||
|
||
|
||
Usage | ||
===== | ||
|
||
|
||
Known issues / Roadmap | ||
====================== | ||
|
||
* Printed form will be provided on other module | ||
|
||
Bug Tracker | ||
=========== | ||
|
||
Bugs are tracked on `GitHub Issues | ||
<https://github.com/open-synergy/opnsynid-l10n-indonesia/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 | ||
------------ | ||
|
||
* Andhitia Rama <andhitia.r@gmail.com> | ||
|
||
|
||
Maintainer | ||
---------- | ||
|
||
.. image:: https://opensynergy-indonesia.com/logo.png | ||
:alt: OpenSynergy Indonesia | ||
:target: https://opensynergy-indonesia.com | ||
|
||
This module is maintained by the OpenSynergy Indonesia. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# -*- coding: utf-8 -*- | ||
# Copyright 2017 OpenSynergy Indonesia | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
|
||
from . import models |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# -*- coding: utf-8 -*- | ||
# Copyright 2017 OpenSynergy Indonesia | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
{ | ||
"name": "Indonesia - Bukti Potong PPh 21 Tidak Final (F.1.1.33.01)", | ||
"version": "8.0.1.0.0", | ||
"category": "localization", | ||
"website": "https://opensynergy-indonesia.com/", | ||
"author": "OpenSynergy Indonesia", | ||
"license": "AGPL-3", | ||
"application": False, | ||
"installable": True, | ||
"depends": [ | ||
"l10n_id_taxform_bukti_potong_pph_common", | ||
], | ||
"data": [ | ||
"security/ir.model.access.csv", | ||
"data/l10n_id_bukti_potong_type.xml", | ||
"views/bukti_potong_pph_f113301_out_views.xml", | ||
], | ||
} |
14 changes: 14 additions & 0 deletions
14
l10n_id_taxform_bukti_potong_pph_f113301/data/l10n_id_bukti_potong_type.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- Copyright 2017 OpenSynergy Indonesia | ||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). --> | ||
|
||
<openerp> | ||
<data> | ||
<record model="l10n_id.bukti_potong_pph_type" id="bukti_potong_pph_type_f113301_out"> | ||
<field name="name">Bukti Potong PPh 21/26 Tidak Final - Out</field> | ||
<field name="code">f.1.1.33.01 - Out</field> | ||
<field name="direction">out</field> | ||
<field name="active" eval="1"/> | ||
</record> | ||
</data> | ||
</openerp> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# -*- coding: utf-8 -*- | ||
# Copyright 2017 OpenSynergy Indonesia | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
|
||
from . import bukti_potong_pph_f113301_out |
31 changes: 31 additions & 0 deletions
31
l10n_id_taxform_bukti_potong_pph_f113301/models/bukti_potong_pph_f113301_out.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# -*- coding: utf-8 -*- | ||
# Copyright 2017 OpenSynergy Indonesia | ||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). | ||
|
||
from openerp import models, fields, api | ||
|
||
|
||
class BuktiPotongPPhF113301Out(models.Model): | ||
_name = "l10n_id.bukti_potong_pph_f113301_out" | ||
_inherit = "l10n_id.bukti_potong_pph" | ||
_table = "l10n_id_bukti_potong_pph" | ||
_description = "Bukti Potong PPh f.1.1.33.01 Out" | ||
|
||
@api.model | ||
def _default_type_id(self): | ||
return self.env.ref( | ||
"l10n_id_taxform_bukti_potong_pph_f113301." | ||
"bukti_potong_pph_type_f113301_out").id | ||
|
||
type_id = fields.Many2one( | ||
default=lambda self: self._default_type_id(), | ||
) | ||
|
||
@api.model | ||
def search(self, args, offset=0, limit=None, order=None): | ||
type_id = self.env.ref( | ||
"l10n_id_taxform_bukti_potong_pph_f113301." | ||
"bukti_potong_pph_type_f113301_out") | ||
args.append(("type_id", "=", type_id.id)) | ||
return super(BuktiPotongPPhF113301Out, self).\ | ||
search(args, offset, limit, order) |
3 changes: 3 additions & 0 deletions
3
l10n_id_taxform_bukti_potong_pph_f113301/security/ir.model.access.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink | ||
access_bukpot_pph_f113301_out,Bukti Potong PPh (f.1.1.33.01) Out - All User,model_l10n_id_bukti_potong_pph_f113301_out,base.group_user,1,0,0,0 | ||
access_bukpot_pph_f113301_out_taxform_user,Bukti Potong PPh (f.1.1.33.01) Out - Taxform User,model_l10n_id_bukti_potong_pph_f113301_out,l10n_id_taxform.user_group_taxform,1,1,1,1 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
64 changes: 64 additions & 0 deletions
64
l10n_id_taxform_bukti_potong_pph_f113301/views/bukti_potong_pph_f113301_out_views.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- Copyright 2017 OpenSynergy Indonesia | ||
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). --> | ||
|
||
<openerp> | ||
<data> | ||
<record id="bukti_potong_pph_f113301_out_view_tree" model="ir.ui.view"> | ||
<field name="name">Bukti Potong PPh f.11.33.01 Out Tree</field> | ||
<field name="model">l10n_id.bukti_potong_pph_f113301_out</field> | ||
<field name="mode">primary</field> | ||
<field name="inherit_id" ref="l10n_id_taxform_bukti_potong_pph_common.bukti_potong_pph_view_tree"/> | ||
<field name="arch" type="xml"> | ||
<data/> | ||
</field> | ||
</record> | ||
|
||
<record id="bukti_potong_pph_f113301_out_view_form" model="ir.ui.view"> | ||
<field name="name">Bukti Potong PPh f.11.33.01 Out Form</field> | ||
<field name="model">l10n_id.bukti_potong_pph_f113301_out</field> | ||
<field name="mode">primary</field> | ||
<field name="inherit_id" ref="l10n_id_taxform_bukti_potong_pph_common.bukti_potong_pph_view_form"/> | ||
<field name="arch" type="xml"> | ||
<data> | ||
<xpath expr="//h1[@name='form_name']" attributes="inside"> | ||
<label string="Bukti Potong PPh 21 (f.1.1.33.01) - Out"/> | ||
</xpath> | ||
<xpath expr="//field[@name='wajib_pajak_id']" position="attributes"> | ||
<attribute name="domain">[('is_company','=',False),('parent_id','=',False)]</attribute> | ||
</xpath> | ||
</data> | ||
</field> | ||
</record> | ||
|
||
<record id="bukti_potong_pph_f113301_out_view_search" model="ir.ui.view"> | ||
<field name="name">Bukti Potong PPh f.11.33.01 Out Search</field> | ||
<field name="model">l10n_id.bukti_potong_pph_f113301_out</field> | ||
<field name="mode">primary</field> | ||
<field name="inherit_id" ref="l10n_id_taxform_bukti_potong_pph_common.bukti_potong_pph_view_search"/> | ||
<field name="arch" type="xml"> | ||
<data/> | ||
</field> | ||
</record> | ||
|
||
<record id="bukti_potong_pph_f113301_out_action" model="ir.actions.act_window"> | ||
<field name="name">Bukti Potong PPh 21 Tidak Final (f.1.33.01) Out</field> | ||
<field name="type">ir.actions.act_window</field> | ||
<field name="res_model">l10n_id.bukti_potong_pph_f113301_out</field> | ||
<field name="view_type">form</field> | ||
<field name="view_mode">tree,form</field> | ||
<field name="search_view_id" ref="bukti_potong_pph_f113301_out_view_search"/> | ||
<field name="context">{'default_filter_draft':1, 'default_filter_confirm':1}</field> | ||
</record> | ||
|
||
<menuitem | ||
id="bukti_potong_pph_f113301_out_menu" | ||
name="PPh 21 Tidak Final (f.1.33.01) Out" | ||
parent="l10n_id_taxform.taxform_bukti_potong_menu" | ||
groups="l10n_id_taxform.user_group_taxform" | ||
action="bukti_potong_pph_f113301_out_action" | ||
sequence="21" | ||
/> | ||
|
||
</data> | ||
</openerp> |