In Odoo Studio, when a reservation module is created, how can I prevent that the same place is reserved by two different requests on the same date?
Этот вопрос был отмечен
Hi,
You can create an automated action in the database, that is getting triggered on writing or creating record in this model and you can raise warning if duplicates are found.
Check whether base_automation module is installed in the database, if not install it, then keeping the developer mode activated, navigate to Automated Actions menu under the settings and create a new record here, select triggered on Create & Update and execute a python code, that check and raises the warning.
Thanks
Не оставайтесь в стороне – присоединяйтесь к обсуждению!
Создайте аккаунт сегодня, чтобы получить доступ к эксклюзивным функциям и стать частью нашего замечательного сообщества!
Регистрация| Похожие посты | Ответы | Просмотры | Активность | |
|---|---|---|---|---|
|
|
1
февр. 22
|
3800 | ||
|
|
1
мар. 24
|
5152 | ||
|
|
1
февр. 24
|
5780 | ||
|
|
2
сент. 22
|
3780 | ||
|
|
4
сент. 20
|
14975 |