Skip to content

Commit

Permalink
IMP: warning and material object
Browse files Browse the repository at this point in the history
  • Loading branch information
mboscolo committed Sep 26, 2024
1 parent 47e62c3 commit f0159c5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion plm/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
##############################################################################
{
"name": "Product Lifecycle Management",
"version": "17.0.0.5",
"version": "17.0.0.6",
"author": "OmniaSolutions",
"website": "https://odooplm.omniasolutions.website",
"category": "Manufacturing/Product Lifecycle Management (PLM)",
Expand Down
2 changes: 1 addition & 1 deletion plm/models/ir_attachment_relations.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ class PlmDocumentRelations(models.Model):
userid = fields.Many2one('res.users',
_('CheckOut User'),
default=False,
readonly="True")
readonly=True)
notes = fields.Char(string="Notes: ")

_sql_constraints = [
Expand Down
12 changes: 6 additions & 6 deletions plm/views/plm_material_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
<field name="arch" type="xml">
<form string="Material">
<sheet>
<group colspan="4" col="6">
<field name="name" select="1" colspan="4"/>
<field name="description" select="1"/>
<field name="sequence"/>
</group>
<group>
<field name="name" select="1"/>
<field name="description" />
<field name="sequence"/>
</group>
</sheet>
</form>
</field>
Expand All @@ -24,7 +24,7 @@
<field name="type">tree</field>
<field name="priority" eval="1"/>
<field name="arch" type="xml">
<tree string="Materials">
<tree string="Materials" editable="bottom">
<field name="name"/>
<field name="description"/>
<field name="sequence"/>
Expand Down

0 comments on commit f0159c5

Please sign in to comment.