Remove issue10494.
This commit is contained in:
parent
40417bdfaf
commit
2571d1a418
|
@ -1,54 +0,0 @@
|
||||||
# HG changeset patch
|
|
||||||
# User Cédric Krier <cedric.krier@b2ck.com>
|
|
||||||
Open move as balance action
|
|
||||||
|
|
||||||
This allows the user to post the move directly.
|
|
||||||
|
|
||||||
issue10494
|
|
||||||
|
|
||||||
review369161002
|
|
||||||
|
|
||||||
Index: trytond/trytond/modules/account/fiscalyear.py
|
|
||||||
===================================================================
|
|
||||||
--- a/trytond/trytond/modules/account/fiscalyear.py
|
|
||||||
+++ b/trytond/trytond/modules/account/fiscalyear.py
|
|
||||||
@@ -390,7 +390,7 @@
|
|
||||||
Button('Cancel', 'end', 'tryton-cancel'),
|
|
||||||
Button('OK', 'balance', 'tryton-ok', default=True),
|
|
||||||
])
|
|
||||||
- balance = StateAction('account.act_move_line_form')
|
|
||||||
+ balance = StateAction('account.act_move_form')
|
|
||||||
|
|
||||||
def get_move_line(self, account):
|
|
||||||
pool = Pool()
|
|
||||||
Index: trytond/trytond/modules/account_fr/tests/scenario_fec.rst
|
|
||||||
===================================================================
|
|
||||||
--- a/trytond/trytond/modules/account_fr/tests/scenario_fec.rst
|
|
||||||
+++ b/trytond/trytond/modules/account_fr/tests/scenario_fec.rst
|
|
||||||
@@ -183,8 +183,8 @@
|
|
||||||
... ('code', '=', '129'),
|
|
||||||
... ])
|
|
||||||
>>> balance_non_deferral.execute('balance')
|
|
||||||
- >>> move_line = balance_non_deferral.actions[0][0]
|
|
||||||
- >>> move_line.move.click('post')
|
|
||||||
+ >>> move, = balance_non_deferral.actions[0]
|
|
||||||
+ >>> move.click('post')
|
|
||||||
|
|
||||||
Generate FEC::
|
|
||||||
|
|
||||||
Index: trytond/trytond/modules/analytic_account/tests/scenario_analytic_account.rst
|
|
||||||
===================================================================
|
|
||||||
--- a/trytond/trytond/modules/analytic_account/tests/scenario_analytic_account.rst
|
|
||||||
+++ b/trytond/trytond/modules/analytic_account/tests/scenario_analytic_account.rst
|
|
||||||
@@ -179,10 +179,7 @@
|
|
||||||
>>> balance_non_deferral.form.credit_account = account_pl
|
|
||||||
>>> balance_non_deferral.form.debit_account = account_pl
|
|
||||||
>>> balance_non_deferral.execute('balance')
|
|
||||||
- >>> move, = Move.find([
|
|
||||||
- ... ('state', '=', 'draft'),
|
|
||||||
- ... ('journal', '=', journal_closing.id),
|
|
||||||
- ... ])
|
|
||||||
+ >>> move, = balance_non_deferral.actions[0]
|
|
||||||
>>> move.click('post')
|
|
||||||
>>> [l for l in move.lines if l.analytic_lines]
|
|
||||||
[]
|
|
3
series
3
series
|
@ -28,6 +28,3 @@ issue9802.diff # [stock] Improve performance when partially assigning moves
|
||||||
account_asset_update_asset.diff # [account_asset] decimals when updata asset #044767
|
account_asset_update_asset.diff # [account_asset] decimals when updata asset #044767
|
||||||
|
|
||||||
issue10464.diff # [currency] Update currency rates fails
|
issue10464.diff # [currency] Update currency rates fails
|
||||||
|
|
||||||
issue10494.diff # [account] [account_fr] [analytic_account] Open move as balance action
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue