The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

OpenERP::OOM::Schema

VERSION

version 0.43

DESCRIPTION

NAME

OpenERP::OOM::Schema

SYNOPSYS

METHODS

class

Provides the OpenERP::OOM::Class class object requested. This will load the class into memory.

    my $accounts = $schema->class('Accounts');

timeout

Set the timeout - passes through to the $self->client->openerp_rpc->timeout() method underneath.

PROPERTIES

openerp_connect

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.

client

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 & LICENSE

Copyright (C) 2011 OpusVL

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

Jon Allen (JJ), <jj@opusvl.com>

COPYRIGHT AND LICENSE

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.