Add scheduler.procurement.log
Re-organize the code, so that each module xxx_usability only depend on xxx
This commit is contained in:
@@ -103,21 +103,3 @@ class StockMove(models.Model):
|
||||
name = name + ' ' + fields.Date.to_string(date_expec_dt)
|
||||
res.append((line.id, name))
|
||||
return res
|
||||
|
||||
|
||||
class ProcurementOrder(models.Model):
|
||||
_inherit = "procurement.order"
|
||||
|
||||
def _procure_orderpoint_confirm(
|
||||
self, cr, uid, use_new_cursor=False, company_id=False,
|
||||
context=None):
|
||||
logger.info(
|
||||
'procurement scheduler: START to create procurements from '
|
||||
'orderpoints')
|
||||
res = super(ProcurementOrder, self)._procure_orderpoint_confirm(
|
||||
cr, uid, use_new_cursor=use_new_cursor, company_id=company_id,
|
||||
context=context)
|
||||
logger.info(
|
||||
'procurement scheduler: END creation of procurements from '
|
||||
'orderpoints')
|
||||
return res
|
||||
|
||||
Reference in New Issue
Block a user