Skip to content

Commit

Permalink
defaul laboratory_ok and no_quick_create
Browse files Browse the repository at this point in the history
  • Loading branch information
kluna1998 committed Jun 6, 2023
1 parent 13b069a commit 16077a4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lims/views/lims_analysis.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,11 @@
<field name="arch" type="xml">
<tree editable="bottom">
<field name="identifier" invisible="1" />
<field name="product_id" />
<field
name="product_id"
context="{'default_laboratory_ok': True, 'default_sale_ok':False, 'default_purchase_ok':False}"
options="{'no_quick_create': true}"
/>
<field name="name" />
<field name="value" />
<field name="uom_id" />
Expand Down

0 comments on commit 16077a4

Please sign in to comment.