I want restrict Form submit , while click the custom button in the form
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- ลูกค้าสัมพันธ์
- e-Commerce
- ระบบบัญชี
- สินค้าคงคลัง
- PoS
- Project
- MRP
คำถามนี้ถูกตั้งค่าสถานะ
here you can do it using extending/patching javascript (it's big hack) there is no option from python side
DO NOT IMPLEMENT it unless it's absolutely necessary.
Share your use case so community can help you.
Save record on button click if record not saved is a very early design decision and completely fundamental mechanism of how odoo works. there is pretty good reasoning behind it
ref: https://github.com/odoo/odoo/issues/20942#issuecomment-344934525
สนุกกับการพูดคุยนี้ใช่ไหม? เข้าร่วมเลย!
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อ