Skip to content
Snippets Groups Projects
Commit 6ac64c9896d2 authored by Christophe de Vienne's avatar Christophe de Vienne
Browse files

Add envelope and process info on the job

parent ece150b9350d
No related branches found
No related tags found
1 merge request!1Topic/11.0/process state
......@@ -61,6 +61,10 @@
("to_send", "To send"),
("sent_success", "Sent (success)"),
("sent_error", "Sent (error)"),
("process_running", "Sent, process running"),
("process_paused", "Sent, process paused"),
("process_done", "Sent, process done and successful"),
("process_error", "Sent, process error"),
],
string="State",
required=True,
......@@ -81,3 +85,20 @@
track_visibility="onchange",
default="legacy",
)
envelope_id = fields.Char(
string="Envelope ID",
help="The ID of the envelope that was forged by xbus-odoo and sent "
"into the bus",
)
process_id = fields.Char(
string="Process ID",
help="The ID of the process that was created by the sending of the "
"envelope",
)
date_sent = fields.Datetime(string="Envelope sending date", readonly=True)
date_done = fields.Datetime(
string="Process termination date", readonly=True
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment