Thanks for the help.
I extend my module and now I try to display the field SIRET, and I modify the file Form.php.
The field is display but the field is not filled.
I try to modify the Save.php, Group.php
//Save.php
$siret = $this->getRequest()->getParam('SIRET');
$customerGroup->setSiret(!empty($siret) ? $siret : null);
//Group.php
public function getSiret()
{
return $this->_get(self::SIRET);
}
public function setSiret($siret)
{
return $this->setData(self::SIRET, $siret);
}
// GroupRepository.php
public function getById($id)
{
$groupModel = $this->groupRegistry->retrieve($id);
$groupDataObject = $this->groupDataFactory->create()
->setId($groupModel->getId())
->setCode($groupModel->getCode())
->setTaxClassId($groupModel->getTaxClassId())
->setSiret($groupModel->getSiret());
return $groupDataObject;
}
I add setSiret() everywhere in the file where we had setTaxClassId().
But it doesn't work, can someone help me ?
Thank you.