Lokavaluto / monujo

GNU Affero General Public License v3.0
3 stars 4 forks source link

move `config.json` to the odoo server #217

Open vaab opened 2 years ago

vaab commented 2 years ago

This is a proposition to talk about. My arguments about a config.json on the odoo server.

How it would be done:

For mobile APK:

seegwen commented 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 ?

vaab commented 2 years ago

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.