This topic contains 0 replies, has 1 voice, and was last updated by Hiro 9 years, 6 months ago.
- Topic
Today I upgraded OroCRM and noticed Account Entity has changed its structure so I added the column I wanted with Migration Feature as follows:
123456789101112131415161718class AtfAccountBundle implements Migration, ExtendExtensionAwareInterface{(Omitting)public function up(Schema $schema, QueryBag $queries){$table = $schema->getTable('orocrm_account');(Omitting)$this->extendExtension->addManyToOneRelation($schema,$table,'billing_address','oro_address','id',['extend' => ['is_extend' => true, 'owner' => ExtendScope::OWNER_CUSTOM, 'without_default' => true]]);(Omitting)The field “billing_address_id” is now added to the table “orocrm_account”.
And I need to import the billing address data.
Before Oro Account Bundle got rid of some fields I could have uploaded the billing address data, but now it does not upload even though the sample CSV from “Download Date Template” has some columns for address fields (They are named as “Billing Address Street”, “Billing Address Zip/postal code” and “Billing Address City”).
Am I still supposed to be able to upload the dynamic field with ManyToOne relationship in Account Entity?
If so, how do I do that?
The forum ‘OroCRM – How do I? Questions’ is closed to new topics and replies.