In "OpenStatement" wizard, set the default value for "total_amount" field and "number_of_lines" field. (#2)

Task #156769
This commit is contained in:
Juanjo Garcia Pagan
2023-06-09 13:04:29 +02:00
committed by GitHub
parent b434d48cf1
commit 68c503039c
3 changed files with 5 additions and 3 deletions

View File

@@ -203,7 +203,7 @@ Open statements for current device::
0
>>> open_statment = Wizard('open.statement')
>>> open_statment.execute('create_')
>>> open_statment.form.result == 'Statement Default opened.'
>>> open_statment.form.result == 'sale_payment.open_statement'
True
>>> payment_statement, = Statement.find([('state', '=', 'draft')])