diff --git a/.hgtags b/.hgtags index cd45c192246a966d1b80ab55508f60d02131646b_LmhndGFncw==..b13f9c6268e5dd5125f828a51ba5e031643d708e_LmhndGFncw== 100644 --- a/.hgtags +++ b/.hgtags @@ -4,3 +4,4 @@ 57fd473a6f7e5a2b30c834ac846945add1fe6b23 11.0.1.0 6e17210958b7832aa943ef41c0fcffb55fdb97ab 11.0.1.1 fa8bd323fcfe5ae1e6db73023fa4690c3ee5341b 11.0.1.1.1 +c19b593d855fae3c0236889d26bc6da684f40f01 11.0.1.1.2 diff --git a/NEWS.rst b/NEWS.rst index cd45c192246a966d1b80ab55508f60d02131646b_TkVXUy5yc3Q=..b13f9c6268e5dd5125f828a51ba5e031643d708e_TkVXUy5yc3Q= 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -7,6 +7,11 @@ * Refactoring code and adding `send_header_body`` in the xbus.emitter model. +11.0.1.1.2 +========== + +Flake8 + 11.0.1.1.1 ========== diff --git a/__manifest__.py b/__manifest__.py index cd45c192246a966d1b80ab55508f60d02131646b_X19tYW5pZmVzdF9fLnB5..b13f9c6268e5dd5125f828a51ba5e031643d708e_X19tYW5pZmVzdF9fLnB5 100644 --- a/__manifest__.py +++ b/__manifest__.py @@ -21,24 +21,6 @@ { "name": "Xbus Emitter", "license": "AGPL-3", - "description": """ -Xbus emitter for Odoo -===================== - -Emit messages to Xbus <https://xbus.io/> from Odoo. - -Requires the ``xbus-odoo`` emitter <https://bitbucket.org/xcg/xbus-odoo> to -actually send the data (all this module does is storing it in a table and -signaling that external component). - - -Setup ------ - -- Odoo settings > Xbus emitters: Add one. - -- Follow ``xbus-odoo`` <https://bitbucket.org/xcg/xbus-odoo> setup docs. -""", "version": "11.0.1.2.0", "category": "", "author": "XCG Consulting", diff --git a/models/xbus_emitter_job.py b/models/xbus_emitter_job.py index cd45c192246a966d1b80ab55508f60d02131646b_bW9kZWxzL3hidXNfZW1pdHRlcl9qb2IucHk=..b13f9c6268e5dd5125f828a51ba5e031643d708e_bW9kZWxzL3hidXNfZW1pdHRlcl9qb2IucHk= 100644 --- a/models/xbus_emitter_job.py +++ b/models/xbus_emitter_job.py @@ -135,7 +135,8 @@ @api.model def autovacuum(self): - """Delete all emissions done since more than ``_removal_interval`` days. + """Delete all emissions done since more than ``_removal_interval`` + days. Legacy jobs without a "date_sent" value are removed after twice ``_removal_interval`` days.