HI,
I want to able to edit only but not create or delete.
option on_create doesn't work in odoo 12
The above wont worked!
Please help am using odoo 12
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
HI,
I want to able to edit only but not create or delete.
option on_create doesn't work in odoo 12
The above wont worked!
Please help am using odoo 12
options="{'no_create_edit': True, 'no_quick_create': True}"
This disables both create,edit and quick create.
it wouldn't
Here are my code in odoo 12:
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="payslip_sign_wiz_view" model="ir.ui.view">
<field name="name">Payslip Signature </field>
<field name="model">payslip.sign.wiz</field>
<field name="arch" type="xml">
<form string="Report Options" >
<group>
<field name="image" widget="image" />
<field name="employee_id" options="{'no_create': True}" />
</group>
<tree string="Payslip" create="0">
<field name="payslip_ids" options="{'no_create_edit': True, 'no_quick_create':
True}"/>
</tree>
</form>
</field>
</record>
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
1
Jul 24
|
709 | ||
|
1
Jul 23
|
3410 | ||
|
0
Mar 24
|
2242 | ||
|
1
Sep 22
|
5187 | ||
|
1
Mar 22
|
4410 |
A new answer on Hide Add a line in manytomany fields in Odoo 12 has been posted. Click here to access the post :
See post
Sent by Odoo S.A. using Odoo.