Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docsource/modules140-150.rst
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ Module coverage 14.0 -> 15.0
+-------------------------------------------------+----------------------+-------------------------------------------------+
| hr_timesheet_attendance | Nothing to do | |
+-------------------------------------------------+----------------------+-------------------------------------------------+
| hr_work_entry | | |
| hr_work_entry | Nothing to do | |
+-------------------------------------------------+----------------------+-------------------------------------------------+
| |new| hr_work_entry_contract | | |
+-------------------------------------------------+----------------------+-------------------------------------------------+
Expand Down Expand Up @@ -510,7 +510,7 @@ Module coverage 14.0 -> 15.0
+-------------------------------------------------+----------------------+-------------------------------------------------+
| mass_mailing_slides |Nothing to do |No analysis file. No DB layout changes. |
+-------------------------------------------------+----------------------+-------------------------------------------------+
| mass_mailing_sms | | |
| mass_mailing_sms | Nothing to do | |
+-------------------------------------------------+----------------------+-------------------------------------------------+
| membership | Nothing to do | |
+-------------------------------------------------+----------------------+-------------------------------------------------+
Expand Down Expand Up @@ -674,7 +674,7 @@ Module coverage 14.0 -> 15.0
+-------------------------------------------------+----------------------+-------------------------------------------------+
| rating | Done | |
+-------------------------------------------------+----------------------+-------------------------------------------------+
| repair | | |
| repair | Done | |
+-------------------------------------------------+----------------------+-------------------------------------------------+
| resource | Nothing to do | |
+-------------------------------------------------+----------------------+-------------------------------------------------+
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---Models in module 'hr_work_entry'---
---Fields in module 'hr_work_entry'---
hr_work_entry / hr.work.entry / department_id (many2one) : NEW relation: hr.department, isrelated: related, stored
# NOTHING TO DO: handle by ORM

---XML records in module 'hr_work_entry'---
NEW ir.model.constraint: hr_work_entry.constraint_hr_work_entry__work_entries_no_validated_conflict
NEW ir.ui.view: hr_work_entry.hr_employee_view_form
NEW ir.ui.view: hr_work_entry.resource_calendar_leaves_view_search_inherit
DEL ir.ui.view: hr_work_entry.resource_calendar_view_form
# NOTHING TO DO
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---Models in module 'mass_mailing_sms'---
---Fields in module 'mass_mailing_sms'---
mass_mailing_sms / mailing.contact / phone_mobile_search (char) : NEW
mass_mailing_sms / mailing.trace / failure_type (False) : selection_keys is now '['mail_bl', 'mail_dup', 'mail_email_invalid', 'mail_email_missing', 'mail_optout', 'mail_smtp', 'sms_acc', 'sms_blacklist', 'sms_credit', 'sms_duplicate', 'sms_number_format', 'sms_number_missing', 'sms_optout', 'sms_server', 'unknown']' ('['BOUNCE', 'RECIPIENT', 'SMTP', 'UNKNOWN', 'sms_acc', 'sms_blacklist', 'sms_credit', 'sms_duplicate', 'sms_number_format', 'sms_number_missing', 'sms_server']')
mass_mailing_sms / utm.campaign / ab_testing_sms_winner_selection (selection): NEW selection_keys: ['clicks_ratio', 'manual'], hasdefault: default
# NOTHING TO DO

---XML records in module 'mass_mailing_sms'---
NEW ir.actions.act_window.view: mass_mailing_sms.mailing_trace_report_action_sms_view_tree
NEW ir.ui.view: mass_mailing_sms.mailing_list_view_kanban
NEW ir.ui.view: mass_mailing_sms.mailing_trace_report_sms_view_tree
# NOTHING TO DO
6 changes: 6 additions & 0 deletions openupgrade_scripts/scripts/repair/15.0.1.0/post-migration.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from openupgradelib import openupgrade


@openupgrade.migrate()
def migrate(env, version):
openupgrade.load_data(env.cr, "repair", "15.0.1.0/noupdate_changes.xml")
15 changes: 15 additions & 0 deletions openupgrade_scripts/scripts/repair/15.0.1.0/pre-migration.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
from openupgradelib import openupgrade


def _convert_field_to_html(env):
openupgrade.convert_field_to_html(
env.cr, "repair_order ", "internal_notes", "internal_notes"
)
openupgrade.convert_field_to_html(
env.cr, "repair_order ", "quotation_notes", "quotation_notes"
)


@openupgrade.migrate()
def migrate(env, version):
_convert_field_to_html(env)
13 changes: 13 additions & 0 deletions openupgrade_scripts/scripts/repair/15.0.1.0/upgrade_analysis.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,28 @@
---Fields in module 'repair'---
repair / repair.order / _order : _order is now 'priority desc, create_date desc' ('create_date desc')
repair / repair.order / description (char) : NEW
# NOTHING TO DO

repair / repair.order / internal_notes (text) : type is now 'html' ('text')
# DONE: pre-migration: converted to html

repair / repair.order / priority (selection) : NEW selection_keys: ['0', '1'], hasdefault: default
# NOTHING TO DO

repair / repair.order / quotation_notes (text) : type is now 'html' ('text')
# DONE: pre-migration: converted to html

repair / repair.order / sale_order_id (many2one) : NEW relation: sale.order
repair / repair.order / schedule_date (date) : NEW
# NOTHING TO DO

repair / repair.order / state (selection) : selection_keys is now '['2binvoiced', 'cancel', 'confirmed', 'done', 'draft', 'ready', 'under_repair']' ('['2binvoiced', 'cancel', 'confirmed', 'done', 'draft', 'invoice_except', 'ready', 'under_repair']')
# NOTHING TO DO

---XML records in module 'repair'---
NEW ir.actions.act_window: repair.action_repair_move_lines
DEL ir.model.access: repair.access_stock_production_lot_user
DEL ir.model.constraint: repair.constraint_repair_order_name
DEL ir.model.constraint: repair.constraint_repair_tags_name_uniq
NEW ir.ui.view: repair.stock_production_lot_view_form
# NOTHING TO DO
Loading