Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[17.0][OU] New analysis #4428

Merged
merged 1 commit into from
May 23, 2024
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 @@ -18,9 +18,6 @@
<record id="account_move_line_comp_rule" model="ir.rule">
<field name="domain_force">[('company_id', 'in', company_ids)]</field>
</record>
<record id="account_payment_comp_rule" model="ir.rule">
<field name="domain_force">[('company_id', 'in', company_ids)]</field>
</record>
<record id="account_payment_term_15days" model="account.payment.term">
<field name="line_ids" eval="[Command.clear(), Command.create({'value': 'percent', 'value_amount': 100.0, 'nb_days': 15})]"/>
</record>
Expand All @@ -47,6 +44,9 @@
<record id="account_payment_term_advance_60days" model="account.payment.term">
<field name="line_ids" eval="[ Command.clear(), Command.create({'value': 'percent', 'value_amount': 30.0, 'nb_days': 0}), Command.create({'value': 'percent', 'value_amount': 70.0, 'nb_days': 60})]"/>
</record>
<record id="account_payment_term_comp_rule" model="ir.rule">
<field name="domain_force">['|', ('company_id', '=', False), ('company_id', 'parent_of', company_ids)]</field>
</record>
<record id="account_payment_term_end_following_month" model="account.payment.term">
<field name="line_ids" eval="[Command.clear(), Command.create({'value': 'percent', 'value_amount': 100.0, 'delay_type':'days_after_end_of_next_month', 'nb_days': 0})]"/>
</record>
Expand Down
26 changes: 8 additions & 18 deletions openupgrade_scripts/scripts/account/17.0.1.2/upgrade_analysis.txt
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ account / account.move / activity_user_id (many2one) : now a
account / account.move / amount_total_words (char) : previously in module l10n_dz
account / account.move / delivery_date (date) : NEW isfunction: function, stored
account / account.move / incoterm_location (char) : NEW hasdefault: compute
account / account.move / invoice_payment_term_id (many2one): now a function
account / account.move / invoice_pdf_report_file (binary): NEW attachment: True
account / account.move / rating_ids (one2many) : NEW relation: rating.rating
account / account.move / send_and_print_values (json) : NEW
Expand All @@ -121,7 +122,6 @@ account / account.payment / activity_user_id (many2one) : now a
account / account.payment / amount_total_words (char) : previously in module l10n_dz
account / account.payment / qr_code (char) : type is now 'html' ('char')
account / account.payment / rating_ids (one2many) : NEW relation: rating.rating
account / account.payment.term / currency_id (many2one) : NEW relation: res.currency, hasdefault: default
account / account.payment.term / discount_days (integer) : NEW hasdefault: default
account / account.payment.term / discount_percentage (float) : NEW hasdefault: default
account / account.payment.term / early_discount (boolean) : NEW
Expand Down Expand Up @@ -193,7 +193,7 @@ account / account.report.column / figure_type (selection) : select
account / account.report.expression / figure_type (selection) : selection_keys is now '['boolean', 'date', 'datetime', 'float', 'integer', 'monetary', 'percentage', 'string']' ('['date', 'datetime', 'float', 'integer', 'monetary', 'none', 'percentage']')
account / account.report.external.value / text_value (char) : NEW
account / account.report.line / external_formula (char) : NEW
account / account.report.line / user_groupby (char) : NEW
account / account.report.line / user_groupby (char) : NEW hasdefault: compute
account / account.tax / invoice_label (char) : NEW
account / account.tax / message_follower_ids (one2many): NEW relation: mail.followers
account / account.tax / message_ids (one2many) : NEW relation: mail.message
Expand Down Expand Up @@ -291,6 +291,7 @@ NEW ir.actions.server: account.action_automatic_entry_change_account
NEW ir.actions.server: account.action_automatic_entry_change_period
NEW ir.actions.server: account.action_move_switch_move_type
DEL ir.actions.server: account.action_automatic_entry
DEL ir.actions.server: account.action_duplicate_account
DEL ir.actions.server: account.action_move_switch_invoice_to_credit_note
NEW ir.cron: account.ir_cron_account_move_send
NEW ir.model.access: account.access_account_journal_group_invoice
Expand All @@ -310,23 +311,14 @@ DEL ir.model.access: account.access_account_tag_internal_user
DEL ir.model.access: account.access_account_tax_repartition_line_template_manager
DEL ir.model.access: account.access_account_tax_template
DEL ir.model.access: account.access_product_template_account_manager
NEW ir.model.constraint: account.constraint_account_account_tag_name_uniq
NEW ir.model.constraint: account.constraint_account_move_unique_name [renamed from account_sequence module]
NEW ir.model.constraint: account.constraint_account_report_expression_domain_engine_subformula_required
NEW ir.model.constraint: account.constraint_account_report_expression_line_label_uniq
ir.model.constraint: account.constraint_account_report_line_code_uniq (changed definition: is now 'unique(report_id,code)' ('unique(code)'))
DEL ir.model.constraint: account.constraint_account_account_code_company_uniq
DEL ir.model.constraint: account.constraint_account_fiscal_position_account_account_src_dest_uniq
DEL ir.model.constraint: account.constraint_account_fiscal_position_tax_tax_src_dest_uniq
DEL ir.model.constraint: account.constraint_account_group_check_length_prefix
DEL ir.model.constraint: account.constraint_account_journal_code_company_uniq
DEL ir.model.constraint: account.constraint_account_journal_group_uniq_name
DEL ir.model.constraint: account.constraint_account_move_line_check_accountable_required_fields
DEL ir.model.constraint: account.constraint_account_move_line_check_amount_currency_balance_sign
DEL ir.model.constraint: account.constraint_account_move_line_check_credit_debit
DEL ir.model.constraint: account.constraint_account_move_line_check_non_accountable_fields_null
DEL ir.model.constraint: account.constraint_account_payment_check_amount_not_negative
DEL ir.model.constraint: account.constraint_account_payment_method_name_code_unique
DEL ir.model.constraint: account.constraint_account_reconcile_model_name_unique
DEL ir.model.constraint: account.constraint_account_report_line_code_uniq
DEL ir.model.constraint: account.constraint_account_tax_name_company_uniq
DEL ir.model.constraint: account.constraint_account_tax_template_name_company_uniq
DEL ir.model.constraint: account_sequence.constraint_account_move_unique_name
NEW ir.module.category: account.module_category_accounting_bank
NEW ir.rule: account.account_move_send_rule_group_invoice (noupdate)
NEW ir.rule: account.ir_rule_res_partner_bank_billing_officers (noupdate)
Expand All @@ -335,8 +327,6 @@ DEL ir.rule: account.account_invoice_send_rule_group_invoice (noupdate)
DEL ir.sequence: account.sequence_reconcile_seq (noupdate)
NEW ir.ui.menu: account.menu_account_supplier_accounts
NEW ir.ui.menu: account.menu_action_analytic_reporting
NEW ir.ui.menu: account.menu_action_open_payment_items
NEW ir.ui.menu: account.menu_action_open_sale_payment_items
NEW ir.ui.view: account.account_move_send_form
NEW ir.ui.view: account.account_move_view_activity
NEW ir.ui.view: account.document_tax_totals_company_currency_template
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ account_edi_proxy_client / account_edi_proxy_client.user / edi_format_id (many2o
account_edi_proxy_client / account_edi_proxy_client.user / edi_mode (selection) : NEW selection_keys: ['demo', 'prod', 'test']
account_edi_proxy_client / account_edi_proxy_client.user / proxy_type (selection) : NEW required, selection_keys: []
---XML records in module 'account_edi_proxy_client'---
NEW ir.model.constraint: account_edi_proxy_client.constraint_account_edi_proxy_client_user_unique_active_company_proxy
NEW ir.model.constraint: account_edi_proxy_client.constraint_account_edi_proxy_client_user_unique_active_edi_identification
DEL ir.model.constraint: account_edi_proxy_client.constraint_account_edi_proxy_client_user_unique_edi_identification_per_format
DEL ir.model.constraint: account_edi_proxy_client.constraint_account_edi_proxy_client_user_unique_id_client
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
---Models in module 'account_payment'---
---Fields in module 'account_payment'---
account_payment / account.payment.method.line / payment_provider_id (many2one): now a function
---XML records in module 'account_payment'---
NEW ir.config_parameter: account_payment.enable_portal_payment [renamed from account_payment_invoice_online_payment_patch module] (noupdate)
DEL ir.config_parameter: account_payment_invoice_online_payment_patch.enable_portal_payment [renamed to account_payment module] (noupdate)
NEW ir.model.access: account_payment.payment_transaction_user [renamed from payment module]
DEL ir.rule: account_payment.payment_transaction_billing_rule (noupdate)
NEW ir.ui.menu: account_payment.payment_method_menu
DEL ir.ui.menu: account_payment.payment_icon_menu
NEW ir.ui.view: account_payment.res_config_settings_view_form
DEL ir.ui.view: account_payment.payment_checkout_inherit
DEL ir.ui.view: account_payment.payment_manage_inherit
DEL ir.ui.view: account_payment_invoice_online_payment_patch.portal_invoice_page_inherit_payment
DEL ir.ui.view: account_payment_invoice_online_payment_patch.portal_my_invoices_payment
DEL ir.ui.view: account_payment_invoice_online_payment_patch.res_config_settings_view_form
NEW onboarding.onboarding.step: account_payment.onboarding_onboarding_step_payment_provider (noupdate)
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ account_peppol / res.company / account_peppol_proxy_state (selectio
account_peppol / res.company / is_account_peppol_participant (boolean): NEW
account_peppol / res.company / peppol_purchase_journal_id (many2one): NEW relation: account.journal, isfunction: function, stored
account_peppol / res.partner / account_peppol_is_endpoint_valid (boolean): NEW isfunction: function, stored
account_peppol / res.partner / account_peppol_validity_last_check (date): NEW
account_peppol / res.partner / account_peppol_validity_last_check (date): NEW isfunction: function, stored
---XML records in module 'account_peppol'---
NEW ir.actions.server: account_peppol.partner_action_verify_peppol
NEW ir.cron: account_peppol.ir_cron_peppol_get_message_status
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---Models in module 'auth_oauth'---
---Fields in module 'auth_oauth'---
---XML records in module 'auth_oauth'---
DEL ir.model.constraint: auth_oauth.constraint_res_users_uniq_users_oauth_provider_oauth_uid
---nothing has changed in this module--
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
<record id="ca" model="res.country">
<field name="vat_label">GST/HST number</field>
</record>
<record id="ec" model="res.country">
<field name="zip_required">0</field>
</record>
<record id="es" model="res.country">
<field eval="'%(street)s\n%(street2)s\n%(zip)s %(city)s\n%(state_name)s\n%(country_name)s'" name="address_format"/>
</record>
Expand All @@ -21,6 +24,9 @@
<record id="main_company" model="res.company">
<field name="currency_id" ref="base.USD"/>
</record>
<record id="nz" model="res.country">
<field name="vat_label">GST</field>
</record>
<record id="sl" model="res.country">
<field name="currency_id" ref="SLE"/>
</record>
Expand All @@ -30,4 +36,7 @@
<record id="uy" model="res.country">
<field name="vat_label">RUT</field>
</record>
<record id="zm" model="res.country">
<field name="vat_label">TPIN</field>
</record>
</odoo>
12 changes: 12 additions & 0 deletions openupgrade_scripts/scripts/base/17.0.1.3/upgrade_analysis.txt
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,18 @@ NEW res.country.group: base.eurasian_economic_union (noupdate)
NEW res.country.state: base.state_hk_hk
NEW res.country.state: base.state_hk_kln
NEW res.country.state: base.state_hk_nt
NEW res.country.state: base.state_jo_aj
NEW res.country.state: base.state_jo_am
NEW res.country.state: base.state_jo_aq
NEW res.country.state: base.state_jo_at
NEW res.country.state: base.state_jo_az
NEW res.country.state: base.state_jo_ba
NEW res.country.state: base.state_jo_ir
NEW res.country.state: base.state_jo_ja
NEW res.country.state: base.state_jo_ka
NEW res.country.state: base.state_jo_ma
NEW res.country.state: base.state_jo_md
NEW res.country.state: base.state_jo_mn
NEW res.country.state: base.state_ke_01
NEW res.country.state: base.state_ke_02
NEW res.country.state: base.state_ke_03
Expand Down
Loading
Loading