beescoop / Obeesdoo

This repository is used for all the developments to customize Odoo for the cooperative supermarket BEES coop.
GNU Affero General Public License v3.0
55 stars 41 forks source link

Configure countdown period #524

Open ferdymercury opened 1 year ago

ferdymercury commented 1 year ago

Right now, the countdown period is hard coded at 28.

https://github.com/beescoop/Obeesdoo/blob/0c0f36ae65e3ac34f40f337d011b1c27fba3db34/shift/models/cooperative_status.py#L44

It would be quite helpful if this value could be configured by the user admin via the Technical Settings web interface, for example changing it to 15 which is what we need.

ferdymercury commented 10 months ago

I am a bit confused about this GUI setting:

image

How is it different wrt the countdown period?

robinkeunen commented 10 months ago

@remytms can you help us on that one ? I think _period is a relic that is overriden in other modules.