summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/src/scss/web_editor.common.bootstrap.scss
diff options
context:
space:
mode:
authorMartin Trigaux <mat@odoo.com>2018-07-11 11:01:24 +0200
committerMartin Trigaux <mat@odoo.com>2018-08-10 15:32:04 +0200
commit8f22f23e61d9fded7eb893008b8f0d173bc0e8fb (patch)
treead9f84b6073eb36b4548a1a9013a99374b42346d /addons/web_editor/static/src/scss/web_editor.common.bootstrap.scss
parent1de9496f14a42d543ec9805dfc1d0e8df39017d2 (diff)
[ADD] lunch: prevent ordering unavailable products
Add a field partner_id on a lunch.alert If the field is set, the alert becomes blocking and will prevent people from ordering a lunch. Add a available field on the lunch.product that will check if any alert forbids ordering that product at the time of the order. Pass the lunch.order date in the context to be able to plan a lunch order another day if the provider is forbidden today.
Diffstat (limited to 'addons/web_editor/static/src/scss/web_editor.common.bootstrap.scss')
0 files changed, 0 insertions, 0 deletions