Open vaab opened 2 years ago
+1 I'm all for this proposal.
the only thing differentiating the apps for each currency, would be the personalization (icon, splash).
And the Odoo entrypoint isn't it ?
And the Odoo entrypoint isn't it ?
indeed, and we could actually offer a generic app (that's not what the currencies asked for, so it would be offered mainly for developpers and advanced users, and would have a generic icon and splash), it would ask for the odoo server URL as first question (with a default theme), it could keep the choice in localstorage for avoiding asking the next time the app is launched... Upon odoo server selection, the app would switch to the currency theme, and stay this way until we switch to another odoo server.
BTW, this is what biletujo does.
And that's a separate concern from this thread.
This is a proposition to talk about. My arguments about a
config.json
on the odoo server.compose.yml
which require ssh access, and complex knowledge and high permissions.config.json
changes. And all currently installed mobile app and web-app would be updated without any re-installation (I'm talking of update of the config.json content : the skin and the urls).How it would be done:
compose.yml
side, we would only have to set the odoo URL (and optionally db).config.json
, this would not require a big change in monujo.config.json
could be created from a simple configuration tied to company object ?For mobile APK: