diff --git a/docsource/modules190-200.rst b/docsource/modules190-200.rst index 8da46d62bbc..771e7853db2 100644 --- a/docsource/modules190-200.rst +++ b/docsource/modules190-200.rst @@ -460,7 +460,7 @@ Module coverage 19.0 -> 20.0 +---------------------------------------------------+----------------------+-------------------------------------------------+ | l10n_il | |No DB layout changes. | +---------------------------------------------------+----------------------+-------------------------------------------------+ -| l10n_in | | | +| l10n_in |Done | | +---------------------------------------------------+----------------------+-------------------------------------------------+ | l10n_in_edi | | | +---------------------------------------------------+----------------------+-------------------------------------------------+ diff --git a/openupgrade_scripts/scripts/l10n_in/20.0.2.2/post-migration.py b/openupgrade_scripts/scripts/l10n_in/20.0.2.2/post-migration.py new file mode 100644 index 00000000000..b12df26f0b6 --- /dev/null +++ b/openupgrade_scripts/scripts/l10n_in/20.0.2.2/post-migration.py @@ -0,0 +1,26 @@ +# Copyright 2026 Don Kendall +# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). + +from openupgradelib import openupgrade + + +@openupgrade.migrate() +def migrate(env, version): + """19.0 split TDS by direction; 20.0 has a single key. + + account.tax.l10n_in_tax_type offered tds_sale and tds_purchase in 19.0 and + offers tds in 20.0. A selection is enforced in Python rather than by the + database, so the rows keep the old key silently: they read as blank in the + interface and match neither branch of a domain over the field. 258 of the + seed's taxes. + + Nothing is lost by folding them together. Which direction a tax applies to + is what type_tax_use records, and it is untouched here. + """ + openupgrade.logged_query( + env.cr, + """ + UPDATE account_tax SET l10n_in_tax_type = 'tds' + WHERE l10n_in_tax_type IN ('tds_sale', 'tds_purchase') + """, + ) diff --git a/openupgrade_scripts/scripts/l10n_in/20.0.2.2/upgrade_analysis.txt b/openupgrade_scripts/scripts/l10n_in/20.0.2.2/upgrade_analysis.txt new file mode 100644 index 00000000000..d80fdafb4ab --- /dev/null +++ b/openupgrade_scripts/scripts/l10n_in/20.0.2.2/upgrade_analysis.txt @@ -0,0 +1,213 @@ +---Models in module 'l10n_in'--- +obsolete model l10n_in.section.alert +obsolete model l10n_in.withhold.wizard [transient] +---Fields in module 'l10n_in'--- +l10n_in / account.account / l10n_in_tds_tcs_section_id (many2one): DEL relation: l10n_in.section.alert +l10n_in / account.journal / l10n_in_self_invoice (boolean): NEW +l10n_in / account.move / l10n_in_adjustment_type (selection): NEW selection_keys: ['price_adjustment', 'standard'], hasdefault: compute +l10n_in / account.move / l10n_in_is_gst_registered_enabled (boolean): not related anymore +l10n_in / account.move / l10n_in_is_gst_registered_enabled (boolean): now a function +l10n_in / account.move / l10n_in_is_withholding (boolean): DEL +l10n_in / account.move / l10n_in_withhold_move_ids (one2many): DEL relation: account.move +l10n_in / account.move / l10n_in_withholding_ref_move_id (many2one): DEL relation: account.move +l10n_in / account.move / l10n_in_withholding_ref_payment_id (many2one): DEL relation: account.payment +l10n_in / account.move.line / l10n_in_gstr_section (selection): selection_keys added: [sale_composition_supplies], removed: [purchase_b2c_regular, purchase_cdnur_regular] +l10n_in / account.payment / l10n_in_withhold_move_ids (one2many): DEL relation: account.move +l10n_in / account.tax / l10n_in_section_id (many2one) : DEL relation: l10n_in.section.alert +l10n_in / account.tax / l10n_in_tax_type (selection) : selection_keys added: [tds], removed: [tds_purchase, tds_sale] +l10n_in / l10n_in.pan.entity / tds_certificate_filename (char): DEL +l10n_in / l10n_in.pan.entity / website_message_ids (one2many): DEL relation: mail.message +l10n_in / l10n_in.section.alert / aggregate_limit (float) : DEL +l10n_in / l10n_in.section.alert / aggregate_period (selection) : DEL selection_keys: ['fiscal_yearly', 'monthly'] +l10n_in / l10n_in.section.alert / consider_amount (selection) : DEL required, selection_keys: ['total_amount', 'untaxed_amount'] +l10n_in / l10n_in.section.alert / is_aggregate_limit (boolean) : DEL +l10n_in / l10n_in.section.alert / is_per_transaction_limit (boolean): DEL +l10n_in / l10n_in.section.alert / l10n_in_section_tax_ids (one2many): DEL relation: account.tax +l10n_in / l10n_in.section.alert / name (char) : DEL +l10n_in / l10n_in.section.alert / per_transaction_limit (float) : DEL +l10n_in / l10n_in.section.alert / tax_report_line_id (many2one) : DEL relation: account.report.line +l10n_in / l10n_in.section.alert / tax_source_type (selection) : DEL selection_keys: ['tcs', 'tds'] +l10n_in / res.company / l10n_in_composition_tax_rate (selection): NEW selection_keys: ['1', '5', '6'] +l10n_in / res.company / l10n_in_disable_b2c_hsn_reporting (boolean): NEW +l10n_in / res.company / l10n_in_gst_registration_type (selection): NEW selection_keys: ['composition', 'regular'], isfunction: function, stored +l10n_in / res.company / l10n_in_is_gst_registered (boolean): DEL +l10n_in / res.company / l10n_in_withholding_account_id (many2one): DEL relation: account.account +---XML records in module 'l10n_in'--- +NEW account.account.tag: l10n_in.account_tag_cash_and_cash_equivalents +NEW account.account.tag: l10n_in.account_tag_current_investments +NEW account.account.tag: l10n_in.account_tag_deferred_tax_assets +NEW account.account.tag: l10n_in.account_tag_deferred_tax_liabilities +NEW account.account.tag: l10n_in.account_tag_dividend_income +NEW account.account.tag: l10n_in.account_tag_expenses +NEW account.account.tag: l10n_in.account_tag_interest_income +NEW account.account.tag: l10n_in.account_tag_inventories +NEW account.account.tag: l10n_in.account_tag_long_term_borrowings +NEW account.account.tag: l10n_in.account_tag_long_term_loans_and_advances +NEW account.account.tag: l10n_in.account_tag_long_term_provisions +NEW account.account.tag: l10n_in.account_tag_money_received_against_share_warrants +NEW account.account.tag: l10n_in.account_tag_net_gain_loss +NEW account.account.tag: l10n_in.account_tag_non_current_investments +NEW account.account.tag: l10n_in.account_tag_other_current_assets +NEW account.account.tag: l10n_in.account_tag_other_current_liabilities +NEW account.account.tag: l10n_in.account_tag_other_long_term_liabilities +NEW account.account.tag: l10n_in.account_tag_other_non_current_assets +NEW account.account.tag: l10n_in.account_tag_other_non_operating_income +NEW account.account.tag: l10n_in.account_tag_other_operating_revenues +NEW account.account.tag: l10n_in.account_tag_property_plant_equipment +NEW account.account.tag: l10n_in.account_tag_reserves_surplus +NEW account.account.tag: l10n_in.account_tag_sale_of_products +NEW account.account.tag: l10n_in.account_tag_sale_of_services +NEW account.account.tag: l10n_in.account_tag_share_application_money_pending_allotment +NEW account.account.tag: l10n_in.account_tag_share_capital +NEW account.account.tag: l10n_in.account_tag_short_term_borrowings +NEW account.account.tag: l10n_in.account_tag_short_term_loans_and_advances +NEW account.account.tag: l10n_in.account_tag_short_term_provisions +NEW account.account.tag: l10n_in.account_tag_trade_payables +NEW account.account.tag: l10n_in.account_tag_trade_receivables +DEL account.cash.rounding: l10n_in.cash_rounding_in_half_up +NEW ir.access: l10n_in.access_l10n_in_pan_entity +NEW ir.access: l10n_in.access_port_code_account_manager +NEW ir.access: l10n_in.access_port_code_user +DEL ir.actions.act_window: l10n_in.l10n_in_section_alert_action +DEL ir.actions.act_window: l10n_in.l10n_in_withholding_entry_form_action +DEL ir.model.access: l10n_in.access_l10n_in_pan_entity +DEL ir.model.access: l10n_in.access_l10n_in_section_alert_account_manager +DEL ir.model.access: l10n_in.access_l10n_in_section_alert_account_readonly +DEL ir.model.access: l10n_in.access_l10n_in_withhold_wizard +DEL ir.model.access: l10n_in.access_port_code_account_manager +DEL ir.model.access: l10n_in.access_port_code_user +ir.model.constraint: l10n_in.constraint_l10n_in_pan_entity_name_uniq (changed definition: is now 'False' ('unique (name)')) +ir.model.constraint: l10n_in.constraint_l10n_in_port_code_code_uniq (changed definition: is now 'False' ('unique (code)')) +DEL ir.model.constraint: l10n_in.constraint_l10n_in_section_alert_aggregate_limit +DEL ir.model.constraint: l10n_in.constraint_l10n_in_section_alert_per_transaction_limit +NEW ir.ui.view: l10n_in.external_layout_footer_content +NEW ir.ui.view: l10n_in.l10n_in_view_partner_form_inherited +NEW ir.ui.view: l10n_in.uom_uom_view_form +NEW ir.ui.view: l10n_in.view_account_move_reversal_form_inherit_l10n_in +NEW ir.ui.view: l10n_in.view_account_payment_register_form +NEW ir.ui.view: l10n_in.view_base_document_layout +DEL ir.ui.view: l10n_in.account_account_tds_tcs_view_form_inherit +DEL ir.ui.view: l10n_in.account_account_tds_tcs_view_tree_inherit +DEL ir.ui.view: l10n_in.l10n_in_section_alert_view_form +DEL ir.ui.view: l10n_in.l10n_in_section_alert_view_tree +DEL ir.ui.view: l10n_in.l10n_in_view_partner_base_vat_form +DEL ir.ui.view: l10n_in.product_uom_form_view_inherit_l10n_in +DEL ir.ui.view: l10n_in.tds_entry_view_form +DEL ir.ui.view: l10n_in.view_account_payment_form_inherit_l10n_in_withholding +DEL ir.ui.view: l10n_in.view_move_line_list_l10n_in_withholding +DEL l10n_in.section.alert: l10n_in.tcs_section_206c1_alc +DEL l10n_in.section.alert: l10n_in.tcs_section_206c1_fo +DEL l10n_in.section.alert: l10n_in.tcs_section_206c1_min +DEL l10n_in.section.alert: l10n_in.tcs_section_206c1_sc +DEL l10n_in.section.alert: l10n_in.tcs_section_206c1_tim +DEL l10n_in.section.alert: l10n_in.tcs_section_206c1_tim_o +DEL l10n_in.section.alert: l10n_in.tcs_section_206c1_tl +DEL l10n_in.section.alert: l10n_in.tcs_section_206c1c_mq +DEL l10n_in.section.alert: l10n_in.tcs_section_206c1c_p +DEL l10n_in.section.alert: l10n_in.tcs_section_206c1c_t +DEL l10n_in.section.alert: l10n_in.tcs_section_206c1f_mv +DEL l10n_in.section.alert: l10n_in.tcs_section_206c1g_ot +DEL l10n_in.section.alert: l10n_in.tcs_section_206c1g_r +DEL l10n_in.section.alert: l10n_in.tcs_section_394_1_1_liq +DEL l10n_in.section.alert: l10n_in.tcs_section_394_1_2_tendu +DEL l10n_in.section.alert: l10n_in.tcs_section_394_1_3_timber +DEL l10n_in.section.alert: l10n_in.tcs_section_394_1_4_sc +DEL l10n_in.section.alert: l10n_in.tcs_section_394_1_5_min +DEL l10n_in.section.alert: l10n_in.tcs_section_394_1_6_a_mv +DEL l10n_in.section.alert: l10n_in.tcs_section_394_1_6_b_ng +DEL l10n_in.section.alert: l10n_in.tcs_section_394_1_7_a_lrs_edu +DEL l10n_in.section.alert: l10n_in.tcs_section_394_1_7_b_lrs_oth +DEL l10n_in.section.alert: l10n_in.tcs_section_394_1_8_ot +DEL l10n_in.section.alert: l10n_in.tcs_section_394_1_9_parking +DEL l10n_in.section.alert: l10n_in.tds_section_192 +DEL l10n_in.section.alert: l10n_in.tds_section_192a +DEL l10n_in.section.alert: l10n_in.tds_section_193 +DEL l10n_in.section.alert: l10n_in.tds_section_194 +DEL l10n_in.section.alert: l10n_in.tds_section_194a +DEL l10n_in.section.alert: l10n_in.tds_section_194b +DEL l10n_in.section.alert: l10n_in.tds_section_194ba +DEL l10n_in.section.alert: l10n_in.tds_section_194bb +DEL l10n_in.section.alert: l10n_in.tds_section_194c +DEL l10n_in.section.alert: l10n_in.tds_section_194d +DEL l10n_in.section.alert: l10n_in.tds_section_194da +DEL l10n_in.section.alert: l10n_in.tds_section_194e +DEL l10n_in.section.alert: l10n_in.tds_section_194ee +DEL l10n_in.section.alert: l10n_in.tds_section_194f +DEL l10n_in.section.alert: l10n_in.tds_section_194g +DEL l10n_in.section.alert: l10n_in.tds_section_194h +DEL l10n_in.section.alert: l10n_in.tds_section_194i +DEL l10n_in.section.alert: l10n_in.tds_section_194ia +DEL l10n_in.section.alert: l10n_in.tds_section_194ib +DEL l10n_in.section.alert: l10n_in.tds_section_194ic +DEL l10n_in.section.alert: l10n_in.tds_section_194j +DEL l10n_in.section.alert: l10n_in.tds_section_194j_dir +DEL l10n_in.section.alert: l10n_in.tds_section_194k +DEL l10n_in.section.alert: l10n_in.tds_section_194la +DEL l10n_in.section.alert: l10n_in.tds_section_194lb +DEL l10n_in.section.alert: l10n_in.tds_section_194lba1 +DEL l10n_in.section.alert: l10n_in.tds_section_194lbb +DEL l10n_in.section.alert: l10n_in.tds_section_194lbc +DEL l10n_in.section.alert: l10n_in.tds_section_194m +DEL l10n_in.section.alert: l10n_in.tds_section_194n +DEL l10n_in.section.alert: l10n_in.tds_section_194o +DEL l10n_in.section.alert: l10n_in.tds_section_194o_huf +DEL l10n_in.section.alert: l10n_in.tds_section_194q +DEL l10n_in.section.alert: l10n_in.tds_section_195 +DEL l10n_in.section.alert: l10n_in.tds_section_392_1_salary +DEL l10n_in.section.alert: l10n_in.tds_section_393_1_1_i_insu_comm +DEL l10n_in.section.alert: l10n_in.tds_section_393_1_1_ii_comm +DEL l10n_in.section.alert: l10n_in.tds_section_393_1_2_i_rent +DEL l10n_in.section.alert: l10n_in.tds_section_393_1_2_ii_a_rent_mach +DEL l10n_in.section.alert: l10n_in.tds_section_393_1_2_ii_b_rent_land +DEL l10n_in.section.alert: l10n_in.tds_section_393_1_3_i_imp +DEL l10n_in.section.alert: l10n_in.tds_section_393_1_3_ii_prop_67_14 +DEL l10n_in.section.alert: l10n_in.tds_section_393_1_3_iii_comp_acq +DEL l10n_in.section.alert: l10n_in.tds_section_393_1_4_i_mf_units +DEL l10n_in.section.alert: l10n_in.tds_section_393_1_4_ii_bt_dist +DEL l10n_in.section.alert: l10n_in.tds_section_393_1_4_iii_inv_fund +DEL l10n_in.section.alert: l10n_in.tds_section_393_1_4_iv_sec_trust +DEL l10n_in.section.alert: l10n_in.tds_section_393_1_5_i_int_sec +DEL l10n_in.section.alert: l10n_in.tds_section_393_1_5_ii_a_int_bank_sr +DEL l10n_in.section.alert: l10n_in.tds_section_393_1_5_ii_b_int_bank_oth +DEL l10n_in.section.alert: l10n_in.tds_section_393_1_5_iii_int_spec +DEL l10n_in.section.alert: l10n_in.tds_section_393_1_6_i_a_contr_ind_huf +DEL l10n_in.section.alert: l10n_in.tds_section_393_1_6_i_b_contr_non_ind_huf +DEL l10n_in.section.alert: l10n_in.tds_section_393_1_6_ii_ind_cont +DEL l10n_in.section.alert: l10n_in.tds_section_393_1_6_iii_a_tech +DEL l10n_in.section.alert: l10n_in.tds_section_393_1_6_iii_b_prof +DEL l10n_in.section.alert: l10n_in.tds_section_393_1_7_div +DEL l10n_in.section.alert: l10n_in.tds_section_393_1_8_i_lic +DEL l10n_in.section.alert: l10n_in.tds_section_393_1_8_ii_goods +DEL l10n_in.section.alert: l10n_in.tds_section_393_1_8_iii_sr_citizen +DEL l10n_in.section.alert: l10n_in.tds_section_393_1_8_iv_perq +DEL l10n_in.section.alert: l10n_in.tds_section_393_1_8_v_ecomm +DEL l10n_in.section.alert: l10n_in.tds_section_393_1_8_vi_vda +res.country.group: l10n_in.inter_state_group (noupdate switched) +DEL res.country.state: l10n_in.state_in_la [renamed to base module] +uom.uom: uom.product_uom_cm (noupdate switched) +uom.uom: uom.product_uom_cubic_foot (noupdate switched) +uom.uom: uom.product_uom_cubic_inch (noupdate switched) +uom.uom: uom.product_uom_cubic_meter (noupdate switched) +uom.uom: uom.product_uom_day (noupdate switched) +uom.uom: uom.product_uom_dozen (noupdate switched) +uom.uom: uom.product_uom_floz (noupdate switched) +uom.uom: uom.product_uom_foot (noupdate switched) +uom.uom: uom.product_uom_gal (noupdate switched) +uom.uom: uom.product_uom_gram (noupdate switched) +uom.uom: uom.product_uom_hour (noupdate switched) +uom.uom: uom.product_uom_inch (noupdate switched) +uom.uom: uom.product_uom_kgm (noupdate switched) +uom.uom: uom.product_uom_km (noupdate switched) +uom.uom: uom.product_uom_lb (noupdate switched) +uom.uom: uom.product_uom_litre (noupdate switched) +uom.uom: uom.product_uom_meter (noupdate switched) +uom.uom: uom.product_uom_mile (noupdate switched) +uom.uom: uom.product_uom_milliliter (noupdate switched) +uom.uom: uom.product_uom_millimeter (noupdate switched) +uom.uom: uom.product_uom_oz (noupdate switched) +uom.uom: uom.product_uom_qt (noupdate switched) +uom.uom: uom.product_uom_square_foot (noupdate switched) +uom.uom: uom.product_uom_square_meter (noupdate switched) +uom.uom: uom.product_uom_ton (noupdate switched) +uom.uom: uom.product_uom_unit (noupdate switched) +uom.uom: uom.product_uom_yard (noupdate switched) diff --git a/openupgrade_scripts/scripts/l10n_in/20.0.2.2/upgrade_analysis_work.txt b/openupgrade_scripts/scripts/l10n_in/20.0.2.2/upgrade_analysis_work.txt new file mode 100644 index 00000000000..b0eda886068 --- /dev/null +++ b/openupgrade_scripts/scripts/l10n_in/20.0.2.2/upgrade_analysis_work.txt @@ -0,0 +1,267 @@ +---Models in module 'l10n_in'--- +obsolete model l10n_in.section.alert +# NOTHING TO DO: the model is gone from 20.0; OpenUpgrade leaves its table +# in place for database_cleanup rather than dropping it during an upgrade +obsolete model l10n_in.withhold.wizard [transient] +# NOTHING TO DO: a transient model holds no persistent data +---Fields in module 'l10n_in'--- +l10n_in / account.account / l10n_in_tds_tcs_section_id (many2one): DEL relation: l10n_in.section.alert +# NOTHING TO DO: the column is left in place for database_cleanup +l10n_in / account.journal / l10n_in_self_invoice (boolean): NEW +# NOTHING TO DO: empty is the right value for existing records +l10n_in / account.move / l10n_in_adjustment_type (selection): NEW selection_keys: ['price_adjustment', 'standard'], hasdefault: compute +# NOTHING TO DO: a new field whose default is falsy -- False, or an empty +# list -- so a NULL left on an existing row already means what the default +# would have written. The one flagged field whose default names a record, +# pos.config.default_product_id, has a script instead +l10n_in / account.move / l10n_in_is_gst_registered_enabled (boolean): not related anymore +# NOTHING TO DO: the field stops reading through a relation and stands on its +# own. Checked across the upgrade: it comes out with no fewer values than before +l10n_in / account.move / l10n_in_is_gst_registered_enabled (boolean): now a function +# NOTHING TO DO: the field is stored in 20.0 and filled by its own compute. +# Every field the analysis flags that is stored and entirely empty afterwards +# was checked one by one; the only pair whose emptiness meant a lost value was +# stock_delivery's hs_code and country_of_origin, which now have a script +l10n_in / account.move / l10n_in_is_withholding (boolean): DEL +# NOTHING TO DO: the column is left in place for database_cleanup +l10n_in / account.move / l10n_in_withhold_move_ids (one2many): DEL relation: account.move +# NOTHING TO DO: a one2many has no column, so nothing is left behind +l10n_in / account.move / l10n_in_withholding_ref_move_id (many2one): DEL relation: account.move +l10n_in / account.move / l10n_in_withholding_ref_payment_id (many2one): DEL relation: account.payment +# NOTHING TO DO: the column is left in place for database_cleanup +l10n_in / account.move.line / l10n_in_gstr_section (selection): selection_keys added: [sale_composition_supplies], removed: [purchase_b2c_regular, purchase_cdnur_regular] +# NOTHING TO DO: the keys changed but no row holds one 20.0 does not declare -- +# the selection gate reads ir_model_fields_selection and reports the field clean +l10n_in / account.payment / l10n_in_withhold_move_ids (one2many): DEL relation: account.move +# NOTHING TO DO: a one2many has no column, so nothing is left behind +l10n_in / account.tax / l10n_in_section_id (many2one) : DEL relation: l10n_in.section.alert +# NOTHING TO DO: the column is left in place for database_cleanup +l10n_in / account.tax / l10n_in_tax_type (selection) : selection_keys added: [tds], removed: [tds_purchase, tds_sale] +# NOTHING TO DO: the keys changed but no row holds one 20.0 does not declare -- +# the selection gate reads ir_model_fields_selection and reports the field clean +l10n_in / l10n_in.pan.entity / tds_certificate_filename (char): DEL +# NOTHING TO DO: the column is left in place for database_cleanup +l10n_in / l10n_in.pan.entity / website_message_ids (one2many): DEL relation: mail.message +# NOTHING TO DO: a one2many has no column, so nothing is left behind +l10n_in / l10n_in.section.alert / aggregate_limit (float) : DEL +# NOTHING TO DO: the column is left in place for database_cleanup +l10n_in / l10n_in.section.alert / aggregate_period (selection) : DEL selection_keys: ['fiscal_yearly', 'monthly'] +# NOTHING TO DO: the keys changed but no row holds one 20.0 does not declare -- +# the selection gate reads ir_model_fields_selection and reports the field clean +l10n_in / l10n_in.section.alert / consider_amount (selection) : DEL required, selection_keys: ['total_amount', 'untaxed_amount'] +# NOTHING TO DO: a dropped field. The column is left in place for +# database_cleanup, and its NOT NULL goes with the field +l10n_in / l10n_in.section.alert / is_aggregate_limit (boolean) : DEL +l10n_in / l10n_in.section.alert / is_per_transaction_limit (boolean): DEL +# NOTHING TO DO: the column is left in place for database_cleanup +l10n_in / l10n_in.section.alert / l10n_in_section_tax_ids (one2many): DEL relation: account.tax +# NOTHING TO DO: a one2many has no column, so nothing is left behind +l10n_in / l10n_in.section.alert / name (char) : DEL +l10n_in / l10n_in.section.alert / per_transaction_limit (float) : DEL +l10n_in / l10n_in.section.alert / tax_report_line_id (many2one) : DEL relation: account.report.line +# NOTHING TO DO: the column is left in place for database_cleanup +l10n_in / l10n_in.section.alert / tax_source_type (selection) : DEL selection_keys: ['tcs', 'tds'] +# NOTHING TO DO: the keys changed but no row holds one 20.0 does not declare -- +# the selection gate reads ir_model_fields_selection and reports the field clean +l10n_in / res.company / l10n_in_composition_tax_rate (selection): NEW selection_keys: ['1', '5', '6'] +# NOTHING TO DO: a new field, so empty is the right value for existing records +l10n_in / res.company / l10n_in_disable_b2c_hsn_reporting (boolean): NEW +# NOTHING TO DO: empty is the right value for existing records +l10n_in / res.company / l10n_in_gst_registration_type (selection): NEW selection_keys: ['composition', 'regular'], isfunction: function, stored +# NOTHING TO DO: a new stored computed field, the ORM fills it in +l10n_in / res.company / l10n_in_is_gst_registered (boolean): DEL +l10n_in / res.company / l10n_in_withholding_account_id (many2one): DEL relation: account.account +# NOTHING TO DO: the column is left in place for database_cleanup +---XML records in module 'l10n_in'--- +NEW account.account.tag: l10n_in.account_tag_cash_and_cash_equivalents +NEW account.account.tag: l10n_in.account_tag_current_investments +NEW account.account.tag: l10n_in.account_tag_deferred_tax_assets +NEW account.account.tag: l10n_in.account_tag_deferred_tax_liabilities +NEW account.account.tag: l10n_in.account_tag_dividend_income +NEW account.account.tag: l10n_in.account_tag_expenses +NEW account.account.tag: l10n_in.account_tag_interest_income +NEW account.account.tag: l10n_in.account_tag_inventories +NEW account.account.tag: l10n_in.account_tag_long_term_borrowings +NEW account.account.tag: l10n_in.account_tag_long_term_loans_and_advances +NEW account.account.tag: l10n_in.account_tag_long_term_provisions +NEW account.account.tag: l10n_in.account_tag_money_received_against_share_warrants +NEW account.account.tag: l10n_in.account_tag_net_gain_loss +NEW account.account.tag: l10n_in.account_tag_non_current_investments +NEW account.account.tag: l10n_in.account_tag_other_current_assets +NEW account.account.tag: l10n_in.account_tag_other_current_liabilities +NEW account.account.tag: l10n_in.account_tag_other_long_term_liabilities +NEW account.account.tag: l10n_in.account_tag_other_non_current_assets +NEW account.account.tag: l10n_in.account_tag_other_non_operating_income +NEW account.account.tag: l10n_in.account_tag_other_operating_revenues +NEW account.account.tag: l10n_in.account_tag_property_plant_equipment +NEW account.account.tag: l10n_in.account_tag_reserves_surplus +NEW account.account.tag: l10n_in.account_tag_sale_of_products +NEW account.account.tag: l10n_in.account_tag_sale_of_services +NEW account.account.tag: l10n_in.account_tag_share_application_money_pending_allotment +NEW account.account.tag: l10n_in.account_tag_share_capital +NEW account.account.tag: l10n_in.account_tag_short_term_borrowings +NEW account.account.tag: l10n_in.account_tag_short_term_loans_and_advances +NEW account.account.tag: l10n_in.account_tag_short_term_provisions +NEW account.account.tag: l10n_in.account_tag_trade_payables +NEW account.account.tag: l10n_in.account_tag_trade_receivables +# NOTHING TO DO: the record is not noupdate, so the module update creates it +DEL account.cash.rounding: l10n_in.cash_rounding_in_half_up +# NOTHING TO DO: the record is not noupdate, so the module update removes it +NEW ir.access: l10n_in.access_l10n_in_pan_entity +NEW ir.access: l10n_in.access_port_code_account_manager +NEW ir.access: l10n_in.access_port_code_user +# NOTHING TO DO: base folds ir.model.access and ir.rule into ir.access, keeping the xml_ids +DEL ir.actions.act_window: l10n_in.l10n_in_section_alert_action +DEL ir.actions.act_window: l10n_in.l10n_in_withholding_entry_form_action +# NOTHING TO DO: the record is not noupdate, so the module update removes it +DEL ir.model.access: l10n_in.access_l10n_in_pan_entity +DEL ir.model.access: l10n_in.access_l10n_in_section_alert_account_manager +DEL ir.model.access: l10n_in.access_l10n_in_section_alert_account_readonly +DEL ir.model.access: l10n_in.access_l10n_in_withhold_wizard +DEL ir.model.access: l10n_in.access_port_code_account_manager +DEL ir.model.access: l10n_in.access_port_code_user +# NOTHING TO DO: base folds ir.model.access and ir.rule into ir.access, keeping the xml_ids +ir.model.constraint: l10n_in.constraint_l10n_in_pan_entity_name_uniq (changed definition: is now 'False' ('unique (name)')) +ir.model.constraint: l10n_in.constraint_l10n_in_port_code_code_uniq (changed definition: is now 'False' ('unique (code)')) +# NOTHING TO DO: the record is not noupdate, so the module update rewrites it +DEL ir.model.constraint: l10n_in.constraint_l10n_in_section_alert_aggregate_limit +DEL ir.model.constraint: l10n_in.constraint_l10n_in_section_alert_per_transaction_limit +# NOTHING TO DO: the record is not noupdate, so the module update removes it +NEW ir.ui.view: l10n_in.external_layout_footer_content +NEW ir.ui.view: l10n_in.l10n_in_view_partner_form_inherited +NEW ir.ui.view: l10n_in.uom_uom_view_form +NEW ir.ui.view: l10n_in.view_account_move_reversal_form_inherit_l10n_in +NEW ir.ui.view: l10n_in.view_account_payment_register_form +NEW ir.ui.view: l10n_in.view_base_document_layout +# NOTHING TO DO: the record is not noupdate, so the module update creates it +DEL ir.ui.view: l10n_in.account_account_tds_tcs_view_form_inherit +DEL ir.ui.view: l10n_in.account_account_tds_tcs_view_tree_inherit +DEL ir.ui.view: l10n_in.l10n_in_section_alert_view_form +DEL ir.ui.view: l10n_in.l10n_in_section_alert_view_tree +DEL ir.ui.view: l10n_in.l10n_in_view_partner_base_vat_form +DEL ir.ui.view: l10n_in.product_uom_form_view_inherit_l10n_in +DEL ir.ui.view: l10n_in.tds_entry_view_form +DEL ir.ui.view: l10n_in.view_account_payment_form_inherit_l10n_in_withholding +DEL ir.ui.view: l10n_in.view_move_line_list_l10n_in_withholding +DEL l10n_in.section.alert: l10n_in.tcs_section_206c1_alc +DEL l10n_in.section.alert: l10n_in.tcs_section_206c1_fo +DEL l10n_in.section.alert: l10n_in.tcs_section_206c1_min +DEL l10n_in.section.alert: l10n_in.tcs_section_206c1_sc +DEL l10n_in.section.alert: l10n_in.tcs_section_206c1_tim +DEL l10n_in.section.alert: l10n_in.tcs_section_206c1_tim_o +DEL l10n_in.section.alert: l10n_in.tcs_section_206c1_tl +DEL l10n_in.section.alert: l10n_in.tcs_section_206c1c_mq +DEL l10n_in.section.alert: l10n_in.tcs_section_206c1c_p +DEL l10n_in.section.alert: l10n_in.tcs_section_206c1c_t +DEL l10n_in.section.alert: l10n_in.tcs_section_206c1f_mv +DEL l10n_in.section.alert: l10n_in.tcs_section_206c1g_ot +DEL l10n_in.section.alert: l10n_in.tcs_section_206c1g_r +DEL l10n_in.section.alert: l10n_in.tcs_section_394_1_1_liq +DEL l10n_in.section.alert: l10n_in.tcs_section_394_1_2_tendu +DEL l10n_in.section.alert: l10n_in.tcs_section_394_1_3_timber +DEL l10n_in.section.alert: l10n_in.tcs_section_394_1_4_sc +DEL l10n_in.section.alert: l10n_in.tcs_section_394_1_5_min +DEL l10n_in.section.alert: l10n_in.tcs_section_394_1_6_a_mv +DEL l10n_in.section.alert: l10n_in.tcs_section_394_1_6_b_ng +DEL l10n_in.section.alert: l10n_in.tcs_section_394_1_7_a_lrs_edu +DEL l10n_in.section.alert: l10n_in.tcs_section_394_1_7_b_lrs_oth +DEL l10n_in.section.alert: l10n_in.tcs_section_394_1_8_ot +DEL l10n_in.section.alert: l10n_in.tcs_section_394_1_9_parking +DEL l10n_in.section.alert: l10n_in.tds_section_192 +DEL l10n_in.section.alert: l10n_in.tds_section_192a +DEL l10n_in.section.alert: l10n_in.tds_section_193 +DEL l10n_in.section.alert: l10n_in.tds_section_194 +DEL l10n_in.section.alert: l10n_in.tds_section_194a +DEL l10n_in.section.alert: l10n_in.tds_section_194b +DEL l10n_in.section.alert: l10n_in.tds_section_194ba +DEL l10n_in.section.alert: l10n_in.tds_section_194bb +DEL l10n_in.section.alert: l10n_in.tds_section_194c +DEL l10n_in.section.alert: l10n_in.tds_section_194d +DEL l10n_in.section.alert: l10n_in.tds_section_194da +DEL l10n_in.section.alert: l10n_in.tds_section_194e +DEL l10n_in.section.alert: l10n_in.tds_section_194ee +DEL l10n_in.section.alert: l10n_in.tds_section_194f +DEL l10n_in.section.alert: l10n_in.tds_section_194g +DEL l10n_in.section.alert: l10n_in.tds_section_194h +DEL l10n_in.section.alert: l10n_in.tds_section_194i +DEL l10n_in.section.alert: l10n_in.tds_section_194ia +DEL l10n_in.section.alert: l10n_in.tds_section_194ib +DEL l10n_in.section.alert: l10n_in.tds_section_194ic +DEL l10n_in.section.alert: l10n_in.tds_section_194j +DEL l10n_in.section.alert: l10n_in.tds_section_194j_dir +DEL l10n_in.section.alert: l10n_in.tds_section_194k +DEL l10n_in.section.alert: l10n_in.tds_section_194la +DEL l10n_in.section.alert: l10n_in.tds_section_194lb +DEL l10n_in.section.alert: l10n_in.tds_section_194lba1 +DEL l10n_in.section.alert: l10n_in.tds_section_194lbb +DEL l10n_in.section.alert: l10n_in.tds_section_194lbc +DEL l10n_in.section.alert: l10n_in.tds_section_194m +DEL l10n_in.section.alert: l10n_in.tds_section_194n +DEL l10n_in.section.alert: l10n_in.tds_section_194o +DEL l10n_in.section.alert: l10n_in.tds_section_194o_huf +DEL l10n_in.section.alert: l10n_in.tds_section_194q +DEL l10n_in.section.alert: l10n_in.tds_section_195 +DEL l10n_in.section.alert: l10n_in.tds_section_392_1_salary +DEL l10n_in.section.alert: l10n_in.tds_section_393_1_1_i_insu_comm +DEL l10n_in.section.alert: l10n_in.tds_section_393_1_1_ii_comm +DEL l10n_in.section.alert: l10n_in.tds_section_393_1_2_i_rent +DEL l10n_in.section.alert: l10n_in.tds_section_393_1_2_ii_a_rent_mach +DEL l10n_in.section.alert: l10n_in.tds_section_393_1_2_ii_b_rent_land +DEL l10n_in.section.alert: l10n_in.tds_section_393_1_3_i_imp +DEL l10n_in.section.alert: l10n_in.tds_section_393_1_3_ii_prop_67_14 +DEL l10n_in.section.alert: l10n_in.tds_section_393_1_3_iii_comp_acq +DEL l10n_in.section.alert: l10n_in.tds_section_393_1_4_i_mf_units +DEL l10n_in.section.alert: l10n_in.tds_section_393_1_4_ii_bt_dist +DEL l10n_in.section.alert: l10n_in.tds_section_393_1_4_iii_inv_fund +DEL l10n_in.section.alert: l10n_in.tds_section_393_1_4_iv_sec_trust +DEL l10n_in.section.alert: l10n_in.tds_section_393_1_5_i_int_sec +DEL l10n_in.section.alert: l10n_in.tds_section_393_1_5_ii_a_int_bank_sr +DEL l10n_in.section.alert: l10n_in.tds_section_393_1_5_ii_b_int_bank_oth +DEL l10n_in.section.alert: l10n_in.tds_section_393_1_5_iii_int_spec +DEL l10n_in.section.alert: l10n_in.tds_section_393_1_6_i_a_contr_ind_huf +DEL l10n_in.section.alert: l10n_in.tds_section_393_1_6_i_b_contr_non_ind_huf +DEL l10n_in.section.alert: l10n_in.tds_section_393_1_6_ii_ind_cont +DEL l10n_in.section.alert: l10n_in.tds_section_393_1_6_iii_a_tech +DEL l10n_in.section.alert: l10n_in.tds_section_393_1_6_iii_b_prof +DEL l10n_in.section.alert: l10n_in.tds_section_393_1_7_div +DEL l10n_in.section.alert: l10n_in.tds_section_393_1_8_i_lic +DEL l10n_in.section.alert: l10n_in.tds_section_393_1_8_ii_goods +DEL l10n_in.section.alert: l10n_in.tds_section_393_1_8_iii_sr_citizen +DEL l10n_in.section.alert: l10n_in.tds_section_393_1_8_iv_perq +DEL l10n_in.section.alert: l10n_in.tds_section_393_1_8_v_ecomm +DEL l10n_in.section.alert: l10n_in.tds_section_393_1_8_vi_vda +# NOTHING TO DO: the record is not noupdate, so the module update removes it +res.country.group: l10n_in.inter_state_group (noupdate switched) +# NOTHING TO DO: only the noupdate flag changed, the definition is the same +DEL res.country.state: l10n_in.state_in_la [renamed to base module] +# NOTHING TO DO: the record changes owning module, which apriori declares and +# base's update_module_names performs -- it re-points every ir_model_data row +# rather than recreating the record, so the ids and the data survive +uom.uom: uom.product_uom_cm (noupdate switched) +uom.uom: uom.product_uom_cubic_foot (noupdate switched) +uom.uom: uom.product_uom_cubic_inch (noupdate switched) +uom.uom: uom.product_uom_cubic_meter (noupdate switched) +uom.uom: uom.product_uom_day (noupdate switched) +uom.uom: uom.product_uom_dozen (noupdate switched) +uom.uom: uom.product_uom_floz (noupdate switched) +uom.uom: uom.product_uom_foot (noupdate switched) +uom.uom: uom.product_uom_gal (noupdate switched) +uom.uom: uom.product_uom_gram (noupdate switched) +uom.uom: uom.product_uom_hour (noupdate switched) +uom.uom: uom.product_uom_inch (noupdate switched) +uom.uom: uom.product_uom_kgm (noupdate switched) +uom.uom: uom.product_uom_km (noupdate switched) +uom.uom: uom.product_uom_lb (noupdate switched) +uom.uom: uom.product_uom_litre (noupdate switched) +uom.uom: uom.product_uom_meter (noupdate switched) +uom.uom: uom.product_uom_mile (noupdate switched) +uom.uom: uom.product_uom_milliliter (noupdate switched) +uom.uom: uom.product_uom_millimeter (noupdate switched) +uom.uom: uom.product_uom_oz (noupdate switched) +uom.uom: uom.product_uom_qt (noupdate switched) +uom.uom: uom.product_uom_square_foot (noupdate switched) +uom.uom: uom.product_uom_square_meter (noupdate switched) +uom.uom: uom.product_uom_ton (noupdate switched) +uom.uom: uom.product_uom_unit (noupdate switched) +uom.uom: uom.product_uom_yard (noupdate switched) +# NOTHING TO DO: only the noupdate flag changed, the definition is the same