i have created a odoo module with 6 tabs(pages) under the form customers.when i select one customer it opens the form with all the tabs and i can go through the tabs.if i select 4th tab and go back to the customers list by clicking on the form name(here customers) and again select the customer it shows the same 4th tab.can i make the 1st tab as default without refreshing whole the browser? (i tried "autofocus="autofocus"" but it works only if we refresh the browser page) im using odoo version 10.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- ลูกค้าสัมพันธ์
- e-Commerce
- ระบบบัญชี
- สินค้าคงคลัง
- PoS
- Project
- MRP
คำถามนี้ถูกตั้งค่าสถานะ
1
ตอบกลับ
5117
มุมมอง
its not working.what to do now
On Wed, Feb 14, 2018 at 10:59 PM, Hilar <hilarak@gmail.com> wrote:
you are giving html5 attribute to the tabs and it doesn't works. you could try default_focus="1"
for example :
<field name="name" default_focus="1" placeholder="Name"/>
Doesn't work with Odoo 11
สนุกกับการพูดคุยนี้ใช่ไหม? เข้าร่วมเลย!
สร้างบัญชีวันนี้เพื่อเพลิดเพลินไปกับฟีเจอร์พิเศษและมีส่วนร่วมกับคอมมูนิตี้ที่ยอดเยี่ยมของเรา!
ลงชื่อ