diff --git a/invoice.py b/invoice.py index 6cc2c4cb94..9fe6f1691c 100644 --- a/invoice.py +++ b/invoice.py @@ -21,7 +21,7 @@ class InvoiceLine: result = [] move_line = {} - move_line['name'] = self.description + move_line['description'] = self.description move_line['amount_second_currency'] = Decimal('0.0') move_line['second_currency'] = None diff --git a/stock.py b/stock.py index 1d43f54e0d..f9fbe370a9 100644 --- a/stock.py +++ b/stock.py @@ -57,7 +57,6 @@ class Move: if amount < Decimal(0): debit, credit = -credit, -debit move_line = AccountMoveLine( - name=self.rec_name, debit=debit, credit=credit, account=self.product.account_expense_used,