Skip to content

Commit

Permalink
Merge 37d5318 into 9255c0e
Browse files Browse the repository at this point in the history
  • Loading branch information
andhit-r committed Jan 11, 2019
2 parents 9255c0e + 37d5318 commit 4cd159b
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion l10n_id_djbc_kb_lap_common/__openerp__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# pylint: disable=locally-disabled, manifest-required-author
{
"name": "Indonesia - Common Feature for Kawasan Berikat Reporting",
"version": "8.0.1.6.0",
"version": "8.0.1.7.0",
"category": "localization",
"website": "https://opensynergy-indonesia.com",
"author": "OpenSynergy Indonesia",
Expand Down
2 changes: 1 addition & 1 deletion l10n_id_djbc_kb_lap_common/models/product_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ def _compute_djbc_ok(self):
djbc_kb_ok = fields.Boolean(
string="Can be Used for DJBC KB",
compute="_compute_djbc_ok",
store=False,
store=True,
)
1 change: 1 addition & 0 deletions l10n_id_djbc_kb_lap_common/reports/lap_kb_mutasi_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@ def _from(self):

def _where(self):
where_str = """
WHERE b.djbc_kb_ok = TRUE
"""
return where_str

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ class PLBLapMutasiBarangWizard(models.TransientModel):
@api.multi
def action_print_sreen(self):
waction = self.env.ref(
"l10n_id_djbc_plb_lap_mutasi_barang.djbc_plb_lap_mutasi_barang_action")
"l10n_id_djbc_plb_lap_mutasi_barang."
"djbc_plb_lap_mutasi_barang_action")
context = {
"date_start": self.date_start,
"date_end": self.date_end,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

class Parser(report_sxw.rml_parse):

# pylint: disable=locally-disabled, old-api7-method-defined
def __init__(self, cr, uid, name, context):
super(Parser, self).__init__(cr, uid, name, context)
self.context = context
Expand Down

0 comments on commit 4cd159b

Please sign in to comment.