[FIX] mrp_subcontracting: portal should be readonly
1. Except for registering components, the portal should be readonly 2. Don't open sm form when click it. closes odoo/odoo#102935 X-original-commit: 4c5ba480e91b7e06c49b3683c36ff0a9aac9b60f Signed-off-by: Arnold Moyaux (arm) <arm@odoo.com> Signed-off-by: Yuchen Huang (yhu) <yhu@odoo.com>
This commit is contained in:
@@ -45,6 +45,8 @@ export class SubcontractingPortalWebClient extends LegacyComponent {
|
||||
{
|
||||
props: {
|
||||
resId: picking_id,
|
||||
preventEdit: true,
|
||||
preventCreate: true,
|
||||
},
|
||||
additionalContext: {
|
||||
no_breadcrumbs: true,
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
<notebook>
|
||||
<page string="Operations" name="operations">
|
||||
<field name="move_ids_without_package" mode="tree">
|
||||
<tree create="0">
|
||||
<tree no_open="1">
|
||||
<field name="id" readonly="1" invisible="1"/>
|
||||
<field name="product_id" readonly="1"/>
|
||||
<field name="show_details_visible" invisible="1"/>
|
||||
|
||||
Reference in New Issue
Block a user