diff --git a/odex25_purchase/purchase_requisition_custom/models/purchase_order.py b/odex25_purchase/purchase_requisition_custom/models/purchase_order.py index 9b010f1b7..e1c7cadc3 100644 --- a/odex25_purchase/purchase_requisition_custom/models/purchase_order.py +++ b/odex25_purchase/purchase_requisition_custom/models/purchase_order.py @@ -293,11 +293,6 @@ class PurchaseOrderCustom(models.Model): fields.Date.from_string(x.date_from) <= fields.Date.from_string( rec.date_order) <= fields.Date.from_string(x.date_to)) super(PurchaseOrderCustom, rec).button_approve() - def print_quotation(self): - if self.state in ['draft','wait']: - self.write({'state': "sent"}) - return self.env.ref('purchase.report_purchase_quotation').report_action(self) - def action_rfq_send(self): res=super(PurchaseOrderCustom,self).action_rfq_send() if self.state=='wait':