Hello friends,
I need to add a new field (*billing_detail_taxpayer_id*) in shop_order, and
I need this new field to be shown as the 3rd one on the billing/shipping
details form, just after first name and last name.
My settings.py received this:
EXTRA_MODEL_FIELDS = (
( "cartridge.shop.models.Order.billing_detail_taxpayer_id",
"CharField",
("Taxpayer Id",),
{"blank": True, "max_length": 80},
),
)
Migrating the database, the new column *billing_detail_taxpayer_id *on
shop_order table was inserted as the last column (34th column) of the
table.
But on OrderForm.Meta.fields, the new field is the first on the list. So
the new field is the first to be shown on billing/shipping details form.
And I need this field to be shown in the 3rd place on the form, not first.
What is the best way to get this?
Thanks,
Marcio
--
You received this message because you are subscribed to the Google Groups
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.