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

8.0.5.1.2 l10n id taxform bukti potong common #138

Merged
merged 2 commits into from
Jun 27, 2019

Conversation

mikevhe18
Copy link
Contributor

No description provided.

@mikevhe18 mikevhe18 requested a review from andhit-r June 24, 2019 08:41
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.1%) to 60.074% when pulling 8c654f1 on 8.0.5.1.2-l10n_id_taxform_bukti_potong_common into bcc2ff9 on 8.0.

@coveralls
Copy link

coveralls commented Jun 24, 2019

Coverage Status

Coverage decreased (-0.1%) to 60.054% when pulling 39b967f on 8.0.5.1.2-l10n_id_taxform_bukti_potong_common into bcc2ff9 on 8.0.

Copy link
Member

@andhit-r andhit-r left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mikevhe18 ada review yah


@api.multi
def _check_taxform(self, move_line):
self._cr.execute(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tambahkan lg self.ensure_one() jika menggunakan api.multi

"""SELECT 1 FROM rel_bukpot_line_2_income_move
WHERE account_move_id=%s
""",
(move_line.id,))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

self.id jika menggunakan api.multi

@api.multi
def unlink(self):
for move_line in self:
taxform = self._check_taxform(move_line)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

self._check_taxform() jika _check_taxform menggunakan api.multi

@mikevhe18 mikevhe18 force-pushed the 8.0.5.1.2-l10n_id_taxform_bukti_potong_common branch from 8c654f1 to d62773f Compare June 26, 2019 12:25
@codecov-io
Copy link

codecov-io commented Jun 26, 2019

Codecov Report

Merging #138 into 8.0 will decrease coverage by 0.12%.
The diff coverage is 37.5%.

Impacted file tree graph

@@            Coverage Diff             @@
##              8.0     #138      +/-   ##
==========================================
- Coverage   60.17%   60.05%   -0.13%     
==========================================
  Files         115      116       +1     
  Lines        2968     2984      +16     
==========================================
+ Hits         1786     1792       +6     
- Misses       1182     1192      +10
Impacted Files Coverage Δ
...ukti_potong_pph_common/models/account_move_line.py 37.5% <37.5%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bcc2ff9...39b967f. Read the comment docs.

@api.multi
def unlink(self):
for move_line in self:
taxform = self._check_taxform()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mikevhe18 ini berarti move_line._check_taxform()

@mikevhe18 mikevhe18 force-pushed the 8.0.5.1.2-l10n_id_taxform_bukti_potong_common branch from d62773f to 39b967f Compare June 27, 2019 10:52
@andhit-r andhit-r merged commit 5700d0f into 8.0 Jun 27, 2019
@andhit-r andhit-r deleted the 8.0.5.1.2-l10n_id_taxform_bukti_potong_common branch December 21, 2019 04:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants