details:   https://code.tryton.org/tryton/commit/0f336b2448ff
branch:    default
user:      Cédric Krier <[email protected]>
date:      Mon Sep 21 15:42:49 2026 +0200
description:
        Write post date and number on account move without check access in 
French test scenario
diffstat:

 modules/account_fr/tests/scenario_fec.rst |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (39 lines):

diff -r b01882991ab9 -r 0f336b2448ff modules/account_fr/tests/scenario_fec.rst
--- a/modules/account_fr/tests/scenario_fec.rst Mon Sep 21 15:24:43 2026 +0200
+++ b/modules/account_fr/tests/scenario_fec.rst Mon Sep 21 15:42:49 2026 +0200
@@ -80,7 +80,7 @@
     >>> Move.write([move.id], {
     ...         'post_date': period_previous.start_date,
     ...         'number': '1',
-    ...         }, config.context)
+    ...         }, {**config.context, '_check_access': False})
     >>> move.click('post')
 
 With an empty line::
@@ -103,7 +103,7 @@
     >>> Move.write([move.id], {
     ...         'post_date': period.start_date,
     ...         'number': '1',
-    ...         }, config.context)
+    ...         }, {**config.context, '_check_access': False})
     >>> move.click('post')
 
 With reconciliation::
@@ -124,7 +124,7 @@
     >>> Move.write([move.id], {
     ...         'post_date': period.start_date,
     ...         'number': '2',
-    ...         }, config.context)
+    ...         }, {**config.context, '_check_access': False})
     >>> move.click('post')
     >>> move = Move()
     >>> move.period = period
@@ -141,7 +141,7 @@
     >>> Move.write([move.id], {
     ...         'post_date': period.start_date,
     ...         'number': '3',
-    ...         }, config.context)
+    ...         }, {**config.context, '_check_access': False})
     >>> move.click('post')
     >>> reconcile2, = [l for l in move.lines if l.account == receivable]
     >>> reconcile_lines = Wizard('account.move.reconcile_lines',

Reply via email to