fix purchase file upload
This commit is contained in:
parent
449de8373a
commit
a15e50a7cb
|
|
@ -671,10 +671,9 @@ class ProductCustom(models.Model):
|
|||
'Sale Price: ') + '{}'.format(product.list_price) + '\n' + _('Description: ') + '{}'.format(
|
||||
product.description) + '\n' + _('On Date: ') + '{}'.format(fields.Date.today()) + '\n' + _(
|
||||
'Created By: ') + '{}'.format(self.env.user.name)
|
||||
group = 'purchase.group_purchase_manager'
|
||||
# group = 'purchase.group_purchase_manager'
|
||||
author_id = self.env.user.partner_id.id or None
|
||||
self.env.user.partner_id.send_notification_message(subject=subject, body=message, author_id=author_id,
|
||||
group=group)
|
||||
self.env.user.partner_id.send_notification_message(subject=subject, body=message, author_id=author_id)
|
||||
|
||||
@api.model
|
||||
def create(self, vals):
|
||||
|
|
|
|||
Loading…
Reference in New Issue