diff --git a/README.md b/README.md index 5b12449..0eddd1f 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,6 @@ addon | version | summary --- | --- | --- [account_invoice_start_end_dates](account_invoice_start_end_dates/) | 2.0.1.0.1| Adds start/end dates on invoice/move lines [account_cutoff_base](account_cutoff_base/) | 2.0.1.0.0| Base module for Account Cut-offs -[account_cutoff_accrual_picking](account_cutoff_accrual_picking/) | 2.0.1.0.0| Accrued expense & accrued revenue from pickings +[account_cutoff_accrual_picking](account_cutoff_accrual_picking/) | 2.0.1.1.0| Accrued expense & accrued revenue from pickings diff --git a/account_cutoff_accrual_picking/__manifest__.py b/account_cutoff_accrual_picking/__manifest__.py index 4a0288f..958d43b 100644 --- a/account_cutoff_accrual_picking/__manifest__.py +++ b/account_cutoff_accrual_picking/__manifest__.py @@ -4,7 +4,7 @@ { "name": "Account Cut-off Accrual Picking", - "version": "2.0.1.0.0", + "version": "2.0.1.1.0", "category": "Accounting", "license": "AGPL-3", "summary": "Accrued expense & accrued revenue from pickings", diff --git a/account_cutoff_accrual_picking/models/account_cutoff.py b/account_cutoff_accrual_picking/models/account_cutoff.py index ccc8329..2d5074e 100644 --- a/account_cutoff_accrual_picking/models/account_cutoff.py +++ b/account_cutoff_accrual_picking/models/account_cutoff.py @@ -79,7 +79,7 @@ class AccountCutoff(models.Model): tax_compute_all_res = vdict["taxes"].compute_all( vdict["price_unit"], currency=currency, - quantity=qty, + quantity=qty * sign, product=vdict["product"], partner=vdict["partner"], handle_price_include=False,