Skip to content

Commit

Permalink
Merge pull request #30 from javidiez/patch-1
Browse files Browse the repository at this point in the history
Update sale_make_invoice_advance.py
  • Loading branch information
jjscarafia committed May 17, 2017
2 parents 45ca3a5 + 1cc5415 commit e2b5e3c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -66,7 +66,7 @@ def onchange_method(
@api.multi
def create_invoices(self):
self.ensure_one()
if self.advance_payment_method in ('lines'):
if self.invoice_currency_id and self.advance_payment_method in ('lines'):
raise Warning(_(
"Configuration Error!\n"
"If Invoice in different Currency you can not select "
Expand Down

0 comments on commit e2b5e3c

Please sign in to comment.