skilld-labs / go-odoo

Golang wrapper for Odoo API
Apache License 2.0
86 stars 62 forks source link

Seeding Interface Discussion #19

Closed blaggacao closed 5 years ago

blaggacao commented 5 years ago

Big question going forward for https://github.com/xoe-labs/odoo-operator:

Options:

But really is there anything that cannot be done through a well crafted SQL template?

Disintermediation

Note: I post it here as you guys have built the most comprehensive golang Odoo interface...

blaggacao commented 5 years ago

As the authors of https://github.com/camptocamp/marabunta I'd like to hear our thoughts on this topic, too: @guewen @simahawk @mpanarin

Thanks for sharing your insights!

blaggacao commented 5 years ago

@jbguerraz Whatever comes out of this discussion, I'd like to PR the outcome to this library (and the required DB CRUD of course): "batteries included".

guewen commented 5 years ago

But really is there anything that cannot be done through a well crafted SQL template?

Triggering recomputation of computed/related/parent fields?

blaggacao commented 5 years ago

Triggering recomputation of computed/related/parent fields?

This would be basically mean all the Company-Partner computed ones...

blaggacao commented 5 years ago

I think the best thing to do is not abstracting Odoo's internal API for that task but rather morphing it into a CLI tool. Therefore: https://github.com/acsone/click-odoo-contrib/issues/11