Wednesday, May 27, 2020
5 changes · master
Enhancements to existing features
Odoo now uses its standard creation and update date fields for internal system records instead of older duplicate date fields. This reduces inconsistency in metadata and helps ensure record history is stored more reliably, including when records are created through direct database operations.
Original PR description
@moylop260's odoo/odoo#50516 led me to take a look, notice that create_date and write_date were pretty much never set on ir.model.data records and the it also had `date_init`/`date_update` which are…
@moylop260's odoo/odoo#50516 led me to take a look, notice that create_date and write_date were pretty much never set on ir.model.data records and the it also had `date_init`/`date_update` which are not reliably set, and seem like redundant ad-hoc versions of `create_date` and `write_date`. odoo/odoo#34988 removed them constrains & relations, but we might as well also nuke them from ir.model.data, and fix the various points where a date should be set and is not: * removes the date_init/date_update fields from the SQL and model * converts the one bit of code which did set those to set create_date/write_date * use create_date/write_date in the view * adds setting those columns to a bunch of raw SQL queries which were missing them (also updates the queries some to merge the literal values into the queries as it seems unnecessary to interpolate e.g. a boolean literal) Assuming this is considered a good idea, will require some migrationy bits: * copy date_init and date_update over to `create_date` and `write_date` * possibly update the schema to set default values on create_date and write_date if we decide to do that (?)
This update lets Odoo customize the labels shown on form dialog buttons, such as changing “Save” to “Add” when creating a new social stream. It also enables tailored celebration messages at the end of guided tours, making user flows clearer and more contextual.
Original PR description
Purpose ======= In Social, we want to be able to change the "Save" button into a "Add" button when we add a new stream. For that purpose, we need to be able to customize the text of the `FormViewDialog` buttons. Be able to customize the rainbowman message when a tour is ended. Task-2234580 See odoo/enterprise/pull/9933
The recruitment referral job view no longer shows the extra search panel. This simplifies the hiring referral experience by reducing screen clutter and helping users focus on the main job list.
Original PR description
TaskID: 2196767
This update makes sure the SMS message composer receives the right information when sending account follow-up messages. It helps reduce errors and makes customer payment reminders more reliable.
This update makes the SMS reminder setup more explicit so the system chooses the correct default sending mode. It helps ensure customer follow-up messages are prepared consistently when using the follow-up report.