X-Git-Url: https://svn.cri.ensmp.fr/git/photoprint.git/blobdiff_plain/3c2f6847f02b7dc0b60fa586837e16635cef32cc..46df770d58b2dbf154a3da4d62d82ae30d39bc86:/skins/customer_add_control.py?ds=sidebyside diff --git a/skins/customer_add_control.py b/skins/customer_add_control.py index 8280dbc..00b4de3 100755 --- a/skins/customer_add_control.py +++ b/skins/customer_add_control.py @@ -25,7 +25,6 @@ mandatoryFields = [ , ('billing_zipcode', _('Please enter zip code.')) , ('country', _('Please enter a country.')) , ('phone', _('Please enter a phone.')) - , ('accept_gcs', _('Please accept general conditions of sales.')) ] for name, failMessage in mandatoryFields : @@ -45,8 +44,7 @@ try: ,'billing_city' : kg('billing_city') ,'billing_zipcode' : kg('billing_zipcode') ,'country' : kg('country') - ,'phone' : kg('phone') - ,'accept_gcs' : kg('accep_gcs')} ) + ,'phone' : kg('phone')} ) except ValueError, errmsg: return context.setStatus(False, _(errmsg))