How to call a create method from other methods.
@api.model def process_demo_scheduler_queue(self): _logger.info("here")
@api.model def test1(self,vals): attachment = super(scheduler_demo, self).create(vals) print attachment return attachment |
This code not working. Any help?? |