Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
l10n_mx
Facturacion
Commits
7e31023c
Commit
7e31023c
authored
6 years ago
by
agb80
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'mr-origin-267'
parents
04fc5d47
1ce5adf3
Pipeline
#6185
failed with stage
in 2 minutes and 33 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
2 deletions
+13
-2
CHANGES.md
CHANGES.md
+11
-0
l10n_mx_ir_attachment_facturae/models/base_cfdi_mixin.py
l10n_mx_ir_attachment_facturae/models/base_cfdi_mixin.py
+1
-1
l10n_mx_ir_attachment_facturae/models/ir_attachment_facturae.py
...x_ir_attachment_facturae/models/ir_attachment_facturae.py
+1
-1
No files found.
CHANGES.md
View file @
7e31023c
<a
name=
"2.3.1"
></a>
## 2.3.1 (2019-01-17)
#### Bug Fixes
*
**base.cfdi:**
consulta el estado del cfdi (
[
e135264f
](
e135264f
)
)
*
**ir.attachment.facturae.mx:**
consulta el estado de cancelacion de un cfdi (
[
0d144287
](
0d144287
)
)
<a
name=
"2.3.0"
></a>
## 2.3.0 (2018-12-07)
...
...
This diff is collapsed.
Click to expand it.
l10n_mx_ir_attachment_facturae/models/base_cfdi_mixin.py
View file @
7e31023c
...
...
@@ -118,7 +118,7 @@ class BaseCfdi(models.AbstractModel):
def
consult_cfdi_cancellation_status
(
self
):
"""Consult the status cancel of the cfdi related"""
if
self
.
cfdi_id
and
self
.
cfdi_id
.
state
in
[
"waiting"
]:
if
self
.
cfdi_id
and
self
.
cfdi_id
.
state
in
[
"waiting"
,
"cancel"
]:
return
self
.
cfdi_id
.
action_consult_cancellation_status
()
@
api
.
model
...
...
This diff is collapsed.
Click to expand it.
l10n_mx_ir_attachment_facturae/models/ir_attachment_facturae.py
View file @
7e31023c
...
...
@@ -560,7 +560,7 @@ class IrAttachmentFacturaeMx(models.Model):
"""Consult current cfdi cancel status on SAT"""
consult_answer
=
None
self
.
ensure_one
()
if
self
.
state
in
"waiting"
:
if
self
.
state
in
[
"waiting"
,
"cancel"
]
:
consult_answer
=
self
.
consult_cfdi_cancellation_status_sat
()
if
consult_answer
:
self
.
cancel_cfdi
()
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment