Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Otros
l10n_ar_retentions_iva_sisa
Merge requests
!5
12.0 stage
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
12.0 stage
12.0-stage
into
12.0
Overview
0
Commits
2
Pipelines
0
Changes
1
Merged
Gastón Bertolani
requested to merge
12.0-stage
into
12.0
3 years ago
Overview
0
Commits
2
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Compare
12.0
12.0 (base)
and
latest version
latest version
0513a510
2 commits,
3 years ago
1 file
+
3
−
1
Expand all files
Preferences
File browser
List view
Tree view
Compare changes
Inline
Side-by-side
Show whitespace changes
Show one file at a time
models/retention_retention.py
+
3
−
1
Options
@@ -27,7 +27,8 @@ class RetentionRetention(models.Model):
)
@api.multi
def
calculate_vat_sisa_retention
(
self
,
partner
,
to_pay
,
date
):
def
calculate_vat_sisa_retention
(
self
,
partner
,
to_pay
,
date
,
payment_in_kind
=
False
):
cbu_informed
=
False
if
partner
.
cbu_informed_afip
==
'
yes
'
:
cbu_informed
=
True
@@ -48,5 +49,6 @@ class RetentionRetention(models.Model):
)
line_vals
=
self
.
_prepare_retention_line
(
base
,
amount
,
self
,
taxapp
,
date
,
payment_in_kind
=
payment_in_kind
,
)
return
line_vals
Menu
Explore
Projects
Groups
Topics
Snippets