prevent check_time on report_stock_card
parent
342f07502b
commit
661f25bf1a
|
@ -4,6 +4,10 @@ from netforce.access import get_active_company
|
|||
class ReportStockCard(Model):
|
||||
_inherit="report.stock.card"
|
||||
|
||||
def write(self,ids,vals,**kw):
|
||||
kw['check_time']=False
|
||||
super().write(ids,vals,**kw)
|
||||
|
||||
def get_report_data(self,ids,context={}):
|
||||
company=get_model("company").browse(get_active_company())
|
||||
defaults=self.default_get(context=context)
|
||||
|
|
Loading…
Reference in New Issue