I am trying to to add a relation between an Oro entity (B2bCustomer) and an entity of my projet.
This work well, I have used the addManyToOneRelation method of the extendsExtension in a migration script, this has create the field in the table and the foreign key, I have the getter and the setter in the Extend B2bCustomer entity, but the entity is never persisted in the table..
Maybe I have forget something ? why this is never persisted ?1234567891011121314151617$sourceTable = $schema->getTable($sourceTableName);$targetTable = $schema->getTable($targetTableName);$this->_extendExtension->addManyToOneRelation($schema,$sourceTable,'my_association_name',$targetTable,'id',array('extend' => array('without_default' => true,)));
You must be logged in to reply to this topic.