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:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
1
Trả lời
5119
Lượt xem
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
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký