Private
Public Access
1
0

Merge branch 'release/v23.1.15'

This commit is contained in:
2025-01-27 21:18:49 +01:00
4 changed files with 8 additions and 3 deletions
+2
View File
@@ -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
View File
@@ -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,
Binary file not shown.
+3
View File
@@ -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():
try:
setattr(r, attr, value) setattr(r, attr, value)
r.save() r.save()
except:
pass
if billingaddressform.is_valid(): if billingaddressform.is_valid():
if planselectform.is_valid(): if planselectform.is_valid():