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:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
2
回复
2853
查看
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
|
2622 | ||
|
1
12月 24
|
3997 | ||
|
0
11月 24
|
1631 | ||
|
2
7月 24
|
3351 | ||
|
0
4月 24
|
2161 |