Merge branch 'release/v23.1.15'
This commit is contained in:
@@ -1732,6 +1732,8 @@ def read_data(columns, ids=[], doclean=True, workstrokesonly=True, debug=False,
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
datadf = pl.concat(data)
|
datadf = pl.concat(data)
|
||||||
|
except ShapeError:
|
||||||
|
return pl.DataFrame()
|
||||||
except SchemaError:
|
except SchemaError:
|
||||||
try:
|
try:
|
||||||
data = [
|
data = [
|
||||||
|
|||||||
+1
-1
@@ -123,7 +123,7 @@ def create_contact(rower):
|
|||||||
data = {
|
data = {
|
||||||
'City': rower.city,
|
'City': rower.city,
|
||||||
'CompanyName': rower.user.first_name+" "+rower.user.last_name,
|
'CompanyName': rower.user.first_name+" "+rower.user.last_name,
|
||||||
'CountryId': get_country_id(rower.country.code),
|
'CountryId': get_country_id(rower.country),
|
||||||
'Email': rower.user.email,
|
'Email': rower.user.email,
|
||||||
'Firstname': rower.user.first_name,
|
'Firstname': rower.user.first_name,
|
||||||
'PostalCode': rower.postal_code,
|
'PostalCode': rower.postal_code,
|
||||||
|
|||||||
BIN
Binary file not shown.
@@ -130,8 +130,11 @@ def billing_view(request):
|
|||||||
if billingaddressform.is_valid():
|
if billingaddressform.is_valid():
|
||||||
cd = billingaddressform.cleaned_data
|
cd = billingaddressform.cleaned_data
|
||||||
for attr, value in cd.items():
|
for attr, value in cd.items():
|
||||||
setattr(r, attr, value)
|
try:
|
||||||
r.save()
|
setattr(r, attr, value)
|
||||||
|
r.save()
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
|
||||||
if billingaddressform.is_valid():
|
if billingaddressform.is_valid():
|
||||||
if planselectform.is_valid():
|
if planselectform.is_valid():
|
||||||
|
|||||||
Reference in New Issue
Block a user