[eluser]cahva[/eluser]
I have solved the lang problem by creating a new method which sets the validation:
Code:
class Customer Extends DataMapper {
var $table = 'customers';
var $has_one = array('group');
var $has_many = array('addressbook');
var $validation = array();
function __construct()
{
parent::__construct();
$this->_set_validation();
}