OpenERP::OOM::Schema
version 0.46
Provides the OpenERP::OOM::Class class object requested. This will load the class into memory.
my $accounts = $schema->class('Accounts');
Set the timeout - passes through to the $self->client->openerp_rpc->timeout() method underneath.
This should be populated with a hash of the OpenERP connection details.
<openerp_connect> username admin password admin dbname company-database host openerp-server </openerp_connect>
Out of the box the links to the external database are generated each time the link is followed. It's generally a good idea to provide your own provider that provides a cached connection for the link.
NOTE: this could do with more detail to explain it better.
This is the configuration for the externals links. Typcially it is setup with the connection information if the default link provider is used. If another link provider is provided this won't be necessary.
The XMLRPC client that talks to OpenERP.
Provides a link to another part of the database.
$schema->link('DBIC')
A default implementation of a link provider that loads up an OpenERP::OOM::Link::$class on the fly. This is slow so you normally don't want to use this.
Copyright (C) 2011 OpusVL
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Jon Allen (JJ), <jj@opusvl.com>
This software is copyright (c) 2011-2016 by OpusVL.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install OpenERP::OOM, copy and paste the appropriate command in to your terminal.
cpanm
cpanm OpenERP::OOM
CPAN shell
perl -MCPAN -e shell install OpenERP::OOM
For more information on module installation, please visit the detailed CPAN module installation guide.