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
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
<field name="state_required">1</field>
<field name="vat_label">TRN</field>
</record>
<record id="az" model="res.country">
<field eval="'%(street)s\n%(street2)s\n%(city)s %(state_name)s %(zip)s\n%(country_name)s'" name="address_format"/>
</record>
Comment thread
hbrunn marked this conversation as resolved.
<record id="cd" model="res.country">
<field name="name">Congo (DRC)</field>
</record>
Expand Down
77 changes: 77 additions & 0 deletions openupgrade_scripts/scripts/base/19.0.1.3/upgrade_analysis.txt
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,83 @@ NEW res.country.state: base.state_at_6 [renamed from l10n_at module]
NEW res.country.state: base.state_at_7 [renamed from l10n_at module]
NEW res.country.state: base.state_at_8 [renamed from l10n_at module]
NEW res.country.state: base.state_at_9 [renamed from l10n_at module]
NEW res.country.state: base.state_az_abs
NEW res.country.state: base.state_az_aga
NEW res.country.state: base.state_az_agc
NEW res.country.state: base.state_az_agm
NEW res.country.state: base.state_az_ags
NEW res.country.state: base.state_az_agu
NEW res.country.state: base.state_az_ast
NEW res.country.state: base.state_az_ba
NEW res.country.state: base.state_az_bab
NEW res.country.state: base.state_az_bal
NEW res.country.state: base.state_az_bar
NEW res.country.state: base.state_az_bey
NEW res.country.state: base.state_az_bil
NEW res.country.state: base.state_az_cab
NEW res.country.state: base.state_az_cal
NEW res.country.state: base.state_az_cul
NEW res.country.state: base.state_az_das
NEW res.country.state: base.state_az_fuz
NEW res.country.state: base.state_az_ga
NEW res.country.state: base.state_az_gad
NEW res.country.state: base.state_az_gor
NEW res.country.state: base.state_az_goy
NEW res.country.state: base.state_az_gyg
NEW res.country.state: base.state_az_hac
NEW res.country.state: base.state_az_imi
NEW res.country.state: base.state_az_ism
NEW res.country.state: base.state_az_kal
NEW res.country.state: base.state_az_kan
NEW res.country.state: base.state_az_kur
NEW res.country.state: base.state_az_la
NEW res.country.state: base.state_az_lac
NEW res.country.state: base.state_az_lan
NEW res.country.state: base.state_az_ler
NEW res.country.state: base.state_az_mas
NEW res.country.state: base.state_az_mi
NEW res.country.state: base.state_az_na
NEW res.country.state: base.state_az_nef
NEW res.country.state: base.state_az_nv
NEW res.country.state: base.state_az_ogu
NEW res.country.state: base.state_az_ord
NEW res.country.state: base.state_az_qab
NEW res.country.state: base.state_az_qax
NEW res.country.state: base.state_az_qaz
NEW res.country.state: base.state_az_qba
NEW res.country.state: base.state_az_qbi
NEW res.country.state: base.state_az_qob
NEW res.country.state: base.state_az_qus
NEW res.country.state: base.state_az_sa
NEW res.country.state: base.state_az_sab
NEW res.country.state: base.state_az_sad
NEW res.country.state: base.state_az_sah
NEW res.country.state: base.state_az_sak
NEW res.country.state: base.state_az_sal
NEW res.country.state: base.state_az_sar
NEW res.country.state: base.state_az_sat
NEW res.country.state: base.state_az_sbn
NEW res.country.state: base.state_az_siy
NEW res.country.state: base.state_az_skr
NEW res.country.state: base.state_az_sm
NEW res.country.state: base.state_az_smi
NEW res.country.state: base.state_az_smx
NEW res.country.state: base.state_az_sr
NEW res.country.state: base.state_az_sus
NEW res.country.state: base.state_az_tar
NEW res.country.state: base.state_az_tov
NEW res.country.state: base.state_az_uca
NEW res.country.state: base.state_az_xa
NEW res.country.state: base.state_az_xac
NEW res.country.state: base.state_az_xci
NEW res.country.state: base.state_az_xiz
NEW res.country.state: base.state_az_xvd
NEW res.country.state: base.state_az_yar
NEW res.country.state: base.state_az_ye
NEW res.country.state: base.state_az_yev
NEW res.country.state: base.state_az_zan
NEW res.country.state: base.state_az_zaq
NEW res.country.state: base.state_az_zar
NEW res.country.state: base.state_bd_a [renamed from l10n_bd module]
NEW res.country.state: base.state_bd_b [renamed from l10n_bd module]
NEW res.country.state: base.state_bd_c [renamed from l10n_bd module]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ new model website.technical.page [module website]
# Found in other module: 143
# Found with different type: 32
# In obsolete models: 207
# New columns: 1774
# New columns: 1779
# Not matched: 1002
---XML records in module 'general'---
---Probably obsolete module l10n_in_ewaybill_port---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ new model l10n_in.pan.entity
---Fields in module 'l10n_in'---
l10n_in / account.account / l10n_in_tcs_feature_enabled (boolean): NEW isfunction: function, stored
l10n_in / account.account / l10n_in_tds_feature_enabled (boolean): NEW isfunction: function, stored
l10n_in / account.move.line / l10n_in_gstr_section (selection): NEW selection_keys: ['purchase_b2b_rcm', 'purchase_b2b_regular', 'purchase_b2c_rcm', 'purchase_b2c_regular', 'purchase_cdnr_rcm', 'purchase_cdnr_regular', 'purchase_cdnur_rcm', 'purchase_cdnur_regular', 'purchase_exempt', 'purchase_imp_goods', 'purchase_imp_services', 'purchase_nil_rated', 'purchase_non_gst_supplies', 'purchase_out_of_scope', 'sale_b2b_rcm', 'sale_b2b_regular', 'sale_b2cl', 'sale_b2cs', 'sale_cdnr_deemed_export', 'sale_cdnr_rcm', 'sale_cdnr_regular', 'sale_cdnr_sez_wop', 'sale_cdnr_sez_wp', 'sale_cdnur_b2cl', 'sale_cdnur_exp_wop', 'sale_cdnur_exp_wp', 'sale_deemed_export', 'sale_eco_9_5', 'sale_exempt', 'sale_exp_wop', 'sale_exp_wp', 'sale_nil_rated', 'sale_non_gst_supplies', 'sale_out_of_scope', 'sale_sez_wop', 'sale_sez_wp']
l10n_in / account.move.line / l10n_in_gstr_section (selection): NEW selection_keys: ['purchase_b2b_rcm', 'purchase_b2b_regular', 'purchase_b2c_rcm', 'purchase_b2c_regular', 'purchase_cdnr_rcm', 'purchase_cdnr_regular', 'purchase_cdnur_rcm', 'purchase_cdnur_regular', 'purchase_composition_supplies', 'purchase_exempt', 'purchase_imp_goods', 'purchase_imp_services', 'purchase_nil_rated', 'purchase_non_gst_supplies', 'purchase_out_of_scope', 'sale_b2b_rcm', 'sale_b2b_regular', 'sale_b2cl', 'sale_b2cs', 'sale_cdnr_deemed_export', 'sale_cdnr_rcm', 'sale_cdnr_regular', 'sale_cdnr_sez_wop', 'sale_cdnr_sez_wp', 'sale_cdnur_b2cl', 'sale_cdnur_exp_wop', 'sale_cdnur_exp_wp', 'sale_deemed_export', 'sale_eco_9_5', 'sale_exempt', 'sale_exp_wop', 'sale_exp_wp', 'sale_nil_rated', 'sale_non_gst_supplies', 'sale_out_of_scope', 'sale_sez_wop', 'sale_sez_wp']
l10n_in / account.tax / l10n_in_is_lut (boolean) : NEW
l10n_in / account.tax / l10n_in_tax_type (selection) : is now stored
l10n_in / account.tax / l10n_in_tax_type (selection) : not a function anymore
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@
---XML records in module 'l10n_ma'---
NEW account.report.expression: l10n_ma.tax_report_line_129_base_purchase
NEW account.report.expression: l10n_ma.tax_report_line_129_base_sale
DEL account.report.expression: l10n_ma.l10n_ma_vat_d_prorata_pro_default
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---Models in module 'pos_cashmatic'---
---Fields in module 'pos_cashmatic'---
pos_cashmatic / pos.payment.method / cashmatic_ip (char) : NEW
pos_cashmatic / pos.payment.method / cashmatic_password (char) : NEW
pos_cashmatic / pos.payment.method / cashmatic_use_lna (boolean) : NEW
pos_cashmatic / pos.payment.method / cashmatic_username (char) : NEW
---XML records in module 'pos_cashmatic'---
NEW ir.ui.view: pos_cashmatic.pos_payment_method_view_form_inherit_pos_cashmatic
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version='1.0' encoding='utf-8'?>
<odoo>
<!-- don't set template inactive unconditionally, happens in post-migration -->
<xpath expr="./record[@id='rating_project_request_email_template']/field[@name='active']" position="replace" />
</odoo>
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@
]</field>
</record>
<record id="rating_project_request_email_template" model="mail.template">
<field name="active" eval="False"/>
Comment thread
hbrunn marked this conversation as resolved.
<field name="body_html" type="html">
<div>
<t t-set="access_token" t-value="object._rating_get_access_token()"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,16 @@ def project_task_type_rating(env):
task_type.write(vals)


def rating_project_request_email_template_active(env):
"""
Set project.rating_project_request_email_template's active flag based on rating
being active for some task type
"""
env.ref("project.rating_project_request_email_template").active = bool(
env["project.task.type"].search([("rating_active", "=", True)])
)


def project_task_priority(env):
"""
Map priorities of "1" (v18 high) to "2" (v19 high), but only if there are no
Expand All @@ -78,8 +88,14 @@ def project_task_priority(env):
def migrate(env, version):
project_project_allow_recurring_tasks(env)
project_task_type_rating(env)
rating_project_request_email_template_active(env)
project_task_priority(env)
openupgrade.load_data(env, "project", "19.0.1.3/noupdate_changes.xml")
openupgrade.load_data(
env,
"project",
"19.0.1.4/noupdate_changes.xml",
xml_transformation_filename="19.0.1.4/noupdate_changes-transformation.xml",
)
openupgrade.delete_record_translations(
env.cr,
"project",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
sale_expense / hr.expense / sale_order_line_id (many2one) : NEW relation: sale.order.line, isfunction: function, stored
sale_expense / sale.order.line / expense_ids (one2many) : NEW relation: hr.expense
---XML records in module 'sale_expense'---
NEW ir.ui.view: sale_expense.sale_order_reinvoice_tree_view
DEL ir.ui.view: sale_expense.hr_expense_sheet_form_view_inherit_sale_expense
DEL ir.ui.view: sale_expense.hr_expense_sheet_view_form
Loading