[FIX] mrp: empty list message on product attachments

This commit is contained in:
Fabien Pinckaers
2016-08-21 13:12:10 -07:00
parent c2f5457d98
commit fc44dcd019
+3 -3
View File
@@ -260,9 +260,9 @@ class MrpBomLine(models.Model):
'view_mode': 'kanban,tree,form',
'view_type': 'form',
'help': _('''<p class="oe_view_nocontent_create">
Documents are attached to the tasks and issues of your project.</p><p>
Send messages or log internal notes with attachments to link
documents to your project.
Click to upload files to your product.
</p><p>
Use this feature to store any files, like drawings or specifications.
</p>'''),
'limit': 80,
'context': "{'default_res_model': '%s','default_res_id': %d}" % ('product.product', self.product_id.id)