Skip to content

Commit

Permalink
[8.0.1.4.0][l10n_id_taxform_bukti_potong_pph_23]
Browse files Browse the repository at this point in the history
  • Loading branch information
mikevhe18 authored and andhit-r committed Jul 30, 2018
1 parent fa9e187 commit 725d24a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion l10n_id_taxform_bukti_potong_pph_23/__openerp__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "Indonesia - Bukti Potong PPh 23",
"version": "8.0.1.3.2",
"version": "8.0.1.4.0",
"category": "localization",
"website": "https://opensynergy-indonesia.com/",
"author": "OpenSynergy Indonesia",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,11 @@ def _default_type_id(self):
)

@api.model
def search(self, args, offset=0, limit=None, order=None):
def search(self, args, offset=0, limit=None, order=None, count=False):
type_id = self.env.ref(
"l10n_id_taxform_bukti_potong_pph_23."
"bukti_potong_pph_type_f113306_in")
args.append(("type_id", "=", type_id.id))
return super(BuktiPotongPPh23In, self).\
search(args, offset, limit, order)
return super(BuktiPotongPPh23In, self).search(
args=args, offset=offset, limit=limit,
order=order, count=count)
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,11 @@ def _default_type_id(self):
)

@api.model
def search(self, args, offset=0, limit=None, order=None):
def search(self, args, offset=0, limit=None, order=None, count=False):
type_id = self.env.ref(
"l10n_id_taxform_bukti_potong_pph_23."
"bukti_potong_pph_type_f113306_out")
args.append(("type_id", "=", type_id.id))
return super(BuktiPotongPPh23Out, self).\
search(args, offset, limit, order)
return super(BuktiPotongPPh23Out, self).search(
args=args, offset=offset, limit=limit,
order=order, count=count)

0 comments on commit 725d24a

Please sign in to comment.