I have created custom module after but Create New button on top of form not showing i already add the button code on xml view ?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- 회계
- 재고 관리
- PoS
- 프로젝트
- MRP
신고된 질문입니다
2
답글
3548
화면
Ok can we use validation in the xml view input fields??
Hi
Please try this example
<record id="model_form" model="ir.ui.view">
<field name="name">model.model.form</field>
<field name="model">model.model</field>
<field name="arch" type="xml">
<form>
<header>
<button name="action_confirm" type="object"
string="Confirm"
states="draft"/>
</header>
</form>
</field>
</record>
Also define the action_confirm function inside the model .
Regards
| 관련 게시물 | 답글 | 화면 | 활동 | |
|---|---|---|---|---|
|
|
1
4월 24
|
3852 | ||
|
|
0
11월 25
|
592 | ||
|
|
0
9월 25
|
1308 | ||
|
|
1
12월 24
|
7266 | ||
|
|
0
11월 24
|
2685 |