migrate user customer profil
This commit is contained in:
@@ -18,43 +18,26 @@ migration_tags:
|
||||
migration_group: d7_materio
|
||||
label: 'D7 User Customer Profile'
|
||||
source:
|
||||
plugin: d7_user_profile
|
||||
plugin: d7_user_profile_customer
|
||||
batch_size: 1000
|
||||
high_water_property:
|
||||
name: changed
|
||||
alias: p
|
||||
process:
|
||||
type:
|
||||
-
|
||||
plugin: skip_on_value
|
||||
equals: true
|
||||
source: type
|
||||
method: row
|
||||
value:
|
||||
- contact_operationnel
|
||||
-
|
||||
plugin: static_map
|
||||
source: type
|
||||
map:
|
||||
adherent: customer
|
||||
plugin: default_value
|
||||
default_value: customer
|
||||
uid:
|
||||
plugin: migration_lookup
|
||||
migration: d7_users
|
||||
source: uid
|
||||
phone: field_private_phone
|
||||
address:
|
||||
plugin: iterator
|
||||
source: field_adresse
|
||||
process:
|
||||
country_code: country
|
||||
administrative_area: administrative_area
|
||||
locality: locality
|
||||
dependent_locality: dependent_locality
|
||||
postal_code: postal_code
|
||||
address_line1: thoroughfare
|
||||
organization: organisation_name
|
||||
given_name: first_name
|
||||
family_name: last_name
|
||||
phone: billing_phone
|
||||
address/country_code: billing_country
|
||||
address/administrative_area: billing_zone
|
||||
address/locality: billing_city
|
||||
address/postal_code: billing_postal_code
|
||||
address/address_line1: billing_street1
|
||||
address/address_line2: billing_street2
|
||||
address/organization: billing_company
|
||||
address/given_name: billing_first_name
|
||||
address/family_name: billing_last_name
|
||||
tax_number:
|
||||
plugin: iterator
|
||||
source: field_vat_number_intra_ce
|
||||
|
Reference in New Issue
Block a user