Remove assignment of non longer existing fields.

This commit is contained in:
Albert Cervera i Areny 2020-08-07 12:51:43 +02:00
parent 6f658f172c
commit 4719644e8b
1 changed files with 0 additions and 2 deletions

View File

@ -137,7 +137,6 @@ Create payment term::
>>> payment_term = PaymentTerm(name='Direct')
>>> payment_term_line = payment_term.lines.new()
>>> payment_term_line.type = 'remainder'
>>> payment_term_line.days = 0
>>> payment_term.save()
Create customer invoice::
@ -164,7 +163,6 @@ Create customer invoice payment::
>>> pay_line = Wizard('account.move.line.pay', [line])
>>> pay_line.execute('next_')
>>> pay_line.form.journal = payment_receivable_100_journal
>>> pay_line.form.approve = False
>>> pay_line.execute('next_')
>>> payment, = Payment.find([('state', '=', 'draft')])
>>> payment.amount