Contributors mailing list archives
contributors@odoo-community.org
Browse archives
Re: Odoo base_external_dbsource usage examples
byHi,
I never used the module, so I do not have an example, but I think you should override the normal read, search, browse, write, create, unlink methods, and perhaps a few others, to read or modify the remote database through the external db source, instead of the local postgres database. Obviously you would also need to set _auto (and likely _log_access) on the model to False.
Kind regards, Ronald
On 14-03-2025 13:27, Marcus Myer wrote:
I was hoping that there would be an example of how to create a model in Odoo that pulls data from an external datasource and a view could be created directly on the model. . . But maybe that's asking too much. If someone has an example like this, please let me know. Thanks, Marcus Myer_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
Reference
-
Odoo base_external_dbsource usage examples
byMarcus Myer-
-
-
-
Re: Odoo base_external_dbsource usage examples
byOpen Source Integrators, Maxime Chambreuil
-