Skip to content

Attribute name 'openerp_connect' doesn't reflect what it represents at call time #3

@Nick-OpusVL

Description

@Nick-OpusVL

https://github.com/OpusVL/OpenERP-OOM/blob/master/lib/OpenERP/OOM/Schema.pm

Should be openerp_connection_params or similar.

MooseX::Aliases would help us give it a new name with an alias to the old one, hopefully without breaking any existing code/configs.

Then $self->openerp_connect calls elsewhere in the OOM code can be replaced with ones that actually look like they're doing an attribute lookup rather than attempting to connect to an OpenERP.

This misunderstanding sent me on a wild goose chase.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions