(self)
return True
Create any possible account move entry and set state to posted.
Create any possible account move entry and set state to posted.
Create any possible account move entry and set state to posted .
def button_post(self):
        """Create any possible account move entry and set state to posted."""
        for report in self:
            report.create_regularization_move()
        self.write({"state": "posted"})
        return True
def button_post ( self ) : for report in self : report . create_regularization_move ( ) self . write ( { "state" : "posted" } ) return True