Skip to content
Snippets Groups Projects
Commit 11be29f9 authored by Gabriel Davini's avatar Gabriel Davini :man_dancing_tone1:
Browse files

Merge branch '8.0-stage' into 8.0-dedup_impo_expo

parents ed7c2502 b3b810d4
Branches 8.0-dedup_impo_expo
No related tags found
2 merge requests!388.0 stage,!268.0 add multicurrency
......@@ -19,7 +19,7 @@
#
##############################################################################
from openerp import models, fields, api, exceptions, _
from openerp import _, api, fields, models
class account_invoice(models.Model):
......@@ -35,8 +35,7 @@ class account_invoice(models.Model):
al despacho de importacion."""
clearance_model = self.env['import.clearance']
res = super(account_invoice, self).\
action_move_create()
res = super(account_invoice, self).action_move_create()
# Obtenemos el move, si es un clearance
for invoice in self:
......@@ -44,4 +43,4 @@ class account_invoice(models.Model):
if clearances:
clearances.write({'account_move_ids': [(4, invoice.move_id.id, _)]})
account_invoice()
return res
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment