fix purchase file upload
This commit is contained in:
parent
129d71194f
commit
516f2b8837
Binary file not shown.
|
|
@ -120,7 +120,7 @@ msgstr "إعتماد"
|
|||
#. module: purchase_requisition_custom
|
||||
#: model_terms:ir.ui.view,arch_db:purchase_requisition_custom.purchase_order_custom_form_view
|
||||
msgid "Approve Order"
|
||||
msgstr ""
|
||||
msgstr "تاكيد امر الشراء"
|
||||
|
||||
#. module: purchase_requisition_custom
|
||||
#: model:res.groups,name:purchase_requisition_custom.group_approve_purchase_requisition
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -194,7 +194,7 @@ class PurchaseOrderCustom(models.Model):
|
|||
line.account_analytic_id = line.department_name.analytic_account_id
|
||||
|
||||
def button_draft(self):
|
||||
self.write({'state': 'draft'})
|
||||
self.write({'state': 'wait'})
|
||||
|
||||
def button_cancel(self):
|
||||
budgets = self.env['budget.confirmation'].search([
|
||||
|
|
@ -673,10 +673,10 @@ 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 = self.env.ref('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)
|
||||
group=group )
|
||||
|
||||
@api.model
|
||||
def create(self, vals):
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue