[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:
committed by
Martin Trigaux
parent
731cf476b2
commit
3ea8958014
@@ -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'),
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user