Post invoice today in scenario

This is to avoid the warning about payment term date in the past.

issue10181
review361351002
This commit is contained in:
Cédric Krier committed 2021-03-18 23:07:08 +01:00
1 parent e71748e0d8
commit 0cf4263071
1 file changed
-1
@@ -78,7 +78,6 @@ Create invoice::
>>> Invoice = Model.get('account.invoice')
>>> invoice = Invoice()
>>> invoice.party = party
>>> invoice.invoice_date = period.start_date
>>> invoice.payment_term = payment_term
>>> line = invoice.lines.new()
>>> line.quantity = 1