Add patch that fix error message of account module issue9766

This commit is contained in:
Jared Esparza 2020-10-27 13:40:31 +01:00
parent f5ff959a4f
commit ab2efe2395
2 changed files with 12 additions and 0 deletions

11
issue9766.diff Normal file
View File

@ -0,0 +1,11 @@
--- a/trytond/trytond/modules/account/period.py
+++ b/trytond/trytond/modules/account/period.py
@@ -313,7 +313,7 @@ class Period(Workflow, ModelSQL, ModelView):
raise ClosePeriodError(
gettext('account.msg_close_period_non_posted_moves',
period=unposted_move.period.rec_name,
- move=unposted_move.rec_name))
+ moves=unposted_move.rec_name))
journal_periods = JournalPeriod.search([
('period', 'in', [p.id for p in periods]),
])

1
series
View File

@ -30,6 +30,7 @@ sale_allow_group_shipments_with_different_dates.diff # [sale_shipment_grouping]
issue8860.diff # [stock_forecast] stock_forecast does not spread all the quantities
issue9766.diff # [account] fix error message non_posted_moves at closing period
statement_of_account.diff # [account] Cumulate balance of previous fiscal years
issue9017.diff # [purchase] Doesn't copy product_suppliers when a template or a product is duplicated