1👍
You are not initializing form_billing
when form_adress
is valid and form_adress.same_adress
is false and order_number
is 0.
You are referencing it in context to render()
.
Also, looks like this if
if not form_adress.same_adress:
should be
if form_adress.same_adress:
Source:stackexchange.com