(name, args, args_json, domain)
Submit a system action to be recorded as a form

    Alias: `system_action.submit(...)`

    Record a system action (un/archive form, etc.) in the stream of
    submitted forms, which allows it to be reproduced during a
    migration, for example.

    :param name: system action name.
    :param args: list of action arguments, some of which may not be
    JSON-serializable.
    :param args_json: a JSON-serializable object having enough
    information to reconstruct `args` given the action name.
    :param domain: The domain in which to perform the action.
Submit a system action to be recorded as a form
Submit a system action to be recorded as a form
def submit_system_action(name, args, args_json, domain):
    """Submit a system action to be recorded as a form

    Alias: `system_action.submit(...)`

    Record a system action (un/archive form, etc.) in the stream of
    submitted forms, which allows it to be reproduced during a
    migration, for example.

    :param name: system action name.
    :param args: list of action arguments, some of which may not be
    JSON-serializable.
    :param args_json: a JSON-serializable object having enough
    information to reconstruct `args` given the action name.
    :param domain: The domain in which to perform the action.
    """
    if name not in _actions:
        raise ValueError("unknown system action: {}".format(name))
    do_system_action(name, args)
def submit_system_action ( name , args , args_json , domain ) : if name not in _actions : raise ValueError ( "unknown system action: {}" . format ( name ) ) do_system_action ( name , args )