[FIX] hr_expenses: add missing tax_ids

* ccd6fc6 already fixed the bug of the account move for expenses with more than 1 taxes but the taxes were not used.
Adding in `_prepare_move_line` to be included in the created move line.

* added Contributor License Agreement

Closes #12849
This commit is contained in:
Juan Carlos del Valle
2016-12-13 11:21:43 +01:00
committed by Martin Trigaux
parent 731cf476b2
commit 3ea8958014
2 changed files with 16 additions and 0 deletions
+1
View File
@@ -159,6 +159,7 @@ class HrExpense(models.Model):
'amount_currency': line['price'] > 0 and abs(line.get('amount_currency')) or -abs(line.get('amount_currency')),
'currency_id': line.get('currency_id'),
'tax_line_id': line.get('tax_line_id'),
'tax_ids': line.get('tax_ids'),
'ref': line.get('ref'),
'quantity': line.get('quantity',1.00),
'product_id': line.get('product_id'),
+15
View File
@@ -0,0 +1,15 @@
México, 2016-07-19
X8BIT agrees to the terms of the Odoo Corporate Contributor License
Agreement v1.0.
I declare that I am authorized and able to make this agreement and sign this
declaration.
Signed,
Juan Carlos del Valle juan@x8bit.com https://github.com/imekinox
List of contributors:
Juan Carlos del Valle juan@x8bit.com https://github.com/imekinox