Skip to content

Commit

Permalink
Merge pull request OCA#4180 from Tecnativa/16.0-new_analysis
Browse files Browse the repository at this point in the history
[16.0][OU] New analysis
  • Loading branch information
pedrobaeza authored Oct 22, 2023
2 parents 94f3a52 + a0c7d3e commit 3d624f5
Show file tree
Hide file tree
Showing 174 changed files with 6,652 additions and 3,734 deletions.
2 changes: 1 addition & 1 deletion docsource/modules150-160.rst
Original file line number Diff line number Diff line change
Expand Up @@ -676,7 +676,7 @@ Module coverage 15.0 -> 16.0
+-------------------------------------------------+----------------------+-------------------------------------------------+
| repair | | |
+-------------------------------------------------+----------------------+-------------------------------------------------+
| resource | Nothing to do | |
| resource | Done | |
+-------------------------------------------------+----------------------+-------------------------------------------------+
| sale | | |
+-------------------------------------------------+----------------------+-------------------------------------------------+
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
</p>
</div>
</field>
<field name="email_from">{{ (object.invoice_user_id.email_formatted or object.company_id.email_formatted or user.email_formatted) }}</field>
<field name="name">Credit Note: Sending</field>
<field name="description">Sent to customers with the credit note in attachment</field>
</record>
Expand Down Expand Up @@ -98,6 +99,7 @@
</p>
</div>
</field>
<field name="email_from">{{ (object.invoice_user_id.email_formatted or object.company_id.email_formatted or user.email_formatted) }}</field>
<field name="name">Invoice: Sending</field>
<field name="description">Sent to customers with their invoices in attachment</field>
</record>
Expand Down
57 changes: 22 additions & 35 deletions openupgrade_scripts/scripts/account/16.0.1.2/upgrade_analysis.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ obsolete model account.cashbox.line
obsolete model account.common.journal.report [transient]
obsolete model account.common.report [transient]
obsolete model account.print.journal [transient]
obsolete model account.tax.carryover.line
obsolete model account.tax.report
obsolete model account.tax.report.line
obsolete model account.tax.carryover.line (renamed to account.report.external.value)
obsolete model account.tax.report (renamed to account.report)
obsolete model account.tax.report.line (renamed to account.report.line)
obsolete model cash.box.out [transient]
obsolete model report.account.report_journal [abstract]
obsolete model tax.adjustments.wizard [transient]
new model account.report
new model account.report (renamed from account.tax.report)
new model account.report.column
new model account.report.expression
new model account.report.external.value
new model account.report.line
new model account.report.external.value (renamed from account.tax.carryover.line)
new model account.report.line (renamed from account.tax.report.line)
---Fields in module 'account'---
account / account.account / account_type (selection) : NEW required, selection_keys: ['asset_cash', 'asset_current', 'asset_fixed', 'asset_non_current', 'asset_prepayments', 'asset_receivable', 'equity', 'equity_unaffected', 'expense', 'expense_depreciation', 'expense_direct_cost', 'income', 'income_other', 'liability_credit_card', 'liability_current', 'liability_non_current', 'liability_payable', 'off_balance'], hasdefault: compute
account / account.account / include_initial_balance (boolean): NEW isfunction: function, stored
Expand Down Expand Up @@ -101,7 +101,7 @@ account / account.chart.template / complete_tax_set (boolean) : DEL
account / account.chart.template / use_storno_accounting (boolean): NEW hasdefault: default
account / account.journal / default_account_type (many2one): relation is now 'False' ('account.account.type') [nothing to do]
account / account.journal / default_account_type (many2one): type is now 'char' ('many2one')
account / account.journal / payment_sequence (boolean) : NEW hasdefault: default
account / account.journal / payment_sequence (boolean) : NEW hasdefault: compute
account / account.journal / type_control_ids (many2many) : DEL relation: account.account.type
account / account.move / attachment_ids (one2many) : NEW relation: ir.attachment
account / account.move / auto_post (boolean) : now required
Expand All @@ -113,16 +113,20 @@ account / account.move / currency_id (many2one) : now a
account / account.move / invoice_outstanding_credits_debits_widget (text): type is now 'binary' ('text')
account / account.move / invoice_payments_widget (text): type is now 'binary' ('text')
account / account.move / is_storno (boolean) : NEW hasdefault: compute
account / account.move / journal_id (many2one) : now a function
account / account.move / name (char) : now a function
account / account.move / partner_shipping_id (many2one): previously in module sale
account / account.move / payment_ids (one2many) : NEW relation: account.payment
account / account.move / payment_reference (char) : now a function
account / account.move / quick_edit_total_amount (float): NEW
account / account.move / statement_line_ids (one2many) : NEW relation: account.bank.statement.line
account / account.move / tax_totals_json (char) : DEL
account / account.move.line / _order : _order is now 'date desc, move_name desc, sequence, id' ('date desc, move_name desc, id')
account / account.move.line / account_id (many2one) : now a function
account / account.move.line / amount_currency (float) : now a function
account / account.move.line / analytic_account_id (many2one): DEL relation: account.analytic.account
account / account.move.line / analytic_distribution_stored_char (char): NEW isfunction: function, stored
account / account.move.line / analytic_distribution (json) : NEW isfunction: function, stored
account / account.move.line / analytic_distribution_search (json): NEW
account / account.move.line / analytic_precision (integer) : NEW hasdefault: default
account / account.move.line / analytic_tag_ids (many2many) : DEL relation: account.analytic.tag
account / account.move.line / balance (float) : not a function anymore
account / account.move.line / credit (float) : now a function
Expand Down Expand Up @@ -166,12 +170,13 @@ account / account.payment.term.line / months (integer) : NEW r
account / account.payment.term.line / option (selection) : DEL required, selection_keys: ['after_invoice_month', 'day_after_invoice_date', 'day_current_month', 'day_following_month']
account / account.payment.term.line / sequence (integer) : DEL
account / account.reconcile.model.line / analytic_account_id (many2one): DEL relation: account.analytic.account
account / account.reconcile.model.line / analytic_distribution_stored_char (char): NEW isfunction: function, stored
account / account.reconcile.model.line / analytic_distribution (json) : NEW hasdefault: compute
account / account.reconcile.model.line / analytic_distribution_search (json): NEW
account / account.reconcile.model.line / analytic_precision (integer) : NEW hasdefault: default
account / account.reconcile.model.line / analytic_tag_ids (many2many) : DEL relation: account.analytic.tag
account / account.report / availability_condition (selection): NEW selection_keys: ['always', 'coa', 'country'], hasdefault: compute
account / account.report / chart_template_id (many2one) : NEW relation: account.chart.template
account / account.report / column_ids (one2many) : NEW relation: account.report.column
account / account.report / country_id (many2one) : NEW relation: res.country
account / account.report / default_opening_date_filter (selection): NEW selection_keys: ['last_month', 'last_quarter', 'last_year', 'this_month', 'this_quarter', 'this_year', 'today'], hasdefault: compute
account / account.report / filter_account_type (boolean) : NEW hasdefault: compute
account / account.report / filter_analytic (boolean) : NEW hasdefault: compute
Expand All @@ -186,10 +191,8 @@ account / account.report / filter_period_comparison (boolean): NE
account / account.report / filter_show_draft (boolean) : NEW hasdefault: compute
account / account.report / filter_unfold_all (boolean) : NEW hasdefault: compute
account / account.report / filter_unreconciled (boolean) : NEW hasdefault: compute
account / account.report / line_ids (one2many) : NEW relation: account.report.line
account / account.report / load_more_limit (integer) : NEW
account / account.report / name (char) : NEW required
account / account.report / only_tax_exigible (boolean) : NEW
account / account.report / only_tax_exigible (boolean) : NEW hasdefault: compute
account / account.report / root_report_id (many2one) : NEW relation: account.report
account / account.report / search_bar (boolean) : NEW
account / account.report / variant_report_ids (one2many) : NEW relation: account.report
Expand All @@ -214,58 +217,42 @@ account / account.report.expression / report_line_id (many2one) : NEW r
account / account.report.expression / subformula (char) : NEW
account / account.report.external.value / carryover_origin_expression_label (char): NEW
account / account.report.external.value / carryover_origin_report_line_id (many2one): NEW relation: account.report.line
account / account.report.external.value / company_id (many2one) : NEW relation: res.company, required, hasdefault: default
account / account.report.external.value / date (date) : NEW required
account / account.report.external.value / foreign_vat_fiscal_position_id (many2one): NEW relation: account.fiscal.position
account / account.report.external.value / name (char) : NEW required
account / account.report.external.value / target_report_expression_id (many2one): NEW relation: account.report.expression, required
account / account.report.external.value / value (float) : NEW required
account / account.report.line / account_codes_formula (char) : NEW
account / account.report.line / action_id (many2one) : NEW relation: ir.actions.actions
account / account.report.line / aggregation_formula (char) : NEW
account / account.report.line / children_ids (one2many) : NEW relation: account.report.line
account / account.report.line / code (char) : NEW
account / account.report.line / domain_formula (char) : NEW
account / account.report.line / expression_ids (one2many) : NEW relation: account.report.expression
account / account.report.line / foldable (boolean) : NEW
account / account.report.line / groupby (char) : NEW
account / account.report.line / hide_if_zero (boolean) : NEW
account / account.report.line / hierarchy_level (integer) : NEW required, hasdefault: compute
account / account.report.line / name (char) : NEW required
account / account.report.line / parent_id (many2one) : NEW relation: account.report.line
account / account.report.line / print_on_new_page (boolean) : NEW
account / account.report.line / report_id (many2one) : NEW relation: account.report, required, hasdefault: compute
account / account.report.line / sequence (integer) : NEW
account / account.tax / name_searchable (char) : NEW
account / account.tax / real_amount (float) : NEW isfunction: function, stored
account / account.tax.carryover.line / _order : _order is now 'date, id' ('id')
account / account.tax.carryover.line / amount (float) : DEL required
account / account.tax.carryover.line / company_id (many2one) : DEL relation: res.company, required
account / account.tax.carryover.line / date (date) : DEL required
account / account.tax.carryover.line / foreign_vat_fiscal_position_id (many2one): DEL relation: account.fiscal.position
account / account.tax.carryover.line / name (char) : DEL required
account / account.tax.carryover.line / tax_report_line_id (many2one) : DEL relation: account.tax.report.line
account / account.tax.repartition.line.template / minus_report_expression_ids (many2many): NEW relation: account.report.expression
account / account.tax.repartition.line.template / minus_report_line_ids (many2many): DEL relation: account.tax.report.line
account / account.tax.repartition.line.template / plus_report_expression_ids (many2many): NEW relation: account.report.expression
account / account.tax.repartition.line.template / plus_report_line_ids (many2many): DEL relation: account.tax.report.line
account / account.tax.report / country_id (many2one) : DEL relation: res.country, required
account / account.tax.report / line_ids (one2many) : DEL relation: account.tax.report.line
account / account.tax.report / name (char) : DEL required
account / account.tax.report / _order : _order is now 'id' ('country_id, name')
account / account.tax.report / line_ids (one2many) : relation is now 'account.report.line' ('account.tax.report.line') [nothing to do]
account / account.tax.report / root_line_ids (one2many) : DEL relation: account.tax.report.line
account / account.tax.report.line / carry_over_condition_method (selection): DEL selection_keys: ['always_carry_over_and_set_to_0', 'no_negative_amount_carry_over_condition']
account / account.tax.report.line / carry_over_destination_line_id (many2one): DEL relation: account.tax.report.line
account / account.tax.report.line / carryover_line_ids (one2many) : DEL relation: account.tax.carryover.line
account / account.tax.report.line / children_line_ids (one2many) : DEL relation: account.tax.report.line
account / account.tax.report.line / code (char) : DEL
account / account.tax.report.line / formula (char) : DEL
account / account.tax.report.line / is_carryover_persistent (boolean): DEL
account / account.tax.report.line / is_carryover_used_in_balance (boolean): DEL
account / account.tax.report.line / name (char) : DEL required
account / account.tax.report.line / parent_id (many2one) : DEL relation: account.tax.report.line
account / account.tax.report.line / parent_id (many2one) : relation is now 'account.report.line' ('account.tax.report.line') [nothing to do]
account / account.tax.report.line / parent_path (char) : DEL
account / account.tax.report.line / report_action_id (many2one) : DEL relation: ir.actions.act_window
account / account.tax.report.line / report_id (many2one) : DEL relation: account.tax.report, required
account / account.tax.report.line / sequence (integer) : DEL required
account / account.tax.report.line / report_id (many2one) : relation is now 'account.report' ('account.tax.report') [nothing to do]
account / account.tax.report.line / tag_ids (many2many) : DEL relation: account.account.tag
account / account.tax.report.line / tag_name (char) : DEL
account / res.company / account_journal_early_pay_discount_gain_account_id (many2one): NEW relation: account.account
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
---Models in module 'account_edi'---
---Fields in module 'account_edi'---
account_edi / account.payment / edi_show_abandon_cancel_button (boolean): not a function anymore
account_edi / account.payment / edi_show_abandon_cancel_button (boolean): now related
account_edi / account.payment / edi_show_cancel_button (boolean): not a function anymore
account_edi / account.payment / edi_show_cancel_button (boolean): now related
---XML records in module 'account_edi'---
---nothing has changed in this module--
NEW ir.ui.view: account_edi.view_in_invoice_refund_tree_inherit
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
---Models in module 'account_edi_proxy_client'---
---Fields in module 'account_edi_proxy_client'---
---XML records in module 'account_edi_proxy_client'---
---nothing has changed in this module--
NEW ir.actions.act_window: account_edi_proxy_client.action_tree_account_edi_proxy_client_user
NEW ir.rule: account_edi_proxy_client.account_edi_proxy_client_user_comp_rule
NEW ir.ui.menu: account_edi_proxy_client.menu_account_proxy_client_user
NEW ir.ui.view: account_edi_proxy_client.view_form_account_edi_proxy_client_user
NEW ir.ui.view: account_edi_proxy_client.view_tree_account_edi_proxy_client_user
Original file line number Diff line number Diff line change
@@ -1,7 +1,29 @@
---Models in module 'account_edi_ubl_cii'---
new model account.edi.xml.ubl_a_nz [abstract]
---Fields in module 'account_edi_ubl_cii'---
---XML records in module 'account_edi_ubl_cii'---
NEW account.edi.format: account_edi_ubl_cii.edi_efff_1 [renamed from l10n_be_edi module]
NEW account.edi.format: account_edi_ubl_cii.edi_facturx_1_0_05 [renamed from account_edi_facturx module]
NEW account.edi.format: account_edi_ubl_cii.edi_nlcius_1 [renamed from l10n_nl_edi module]
NEW account.edi.format: account_edi_ubl_cii.edi_ubl_2_1 [renamed from account_edi_ubl module]
NEW account.edi.format: account_edi_ubl_cii.ubl_a_nz
DEL account.edi.format: account_edi_facturx.edi_facturx_1_0_05 [renamed to account_edi_ubl_cii module]
DEL account.edi.format: account_edi_ubl.edi_ubl_2_1 [renamed to account_edi_ubl_cii module]
DEL account.edi.format: l10n_be_edi.edi_efff_1 [renamed to account_edi_ubl_cii module]
DEL account.edi.format: l10n_nl_edi.edi_nlcius_1 [renamed to account_edi_ubl_cii module]
DEL account.edi.format: l10n_no_edi.edi_ehf_3
DEL ir.ui.view: account_edi_facturx.account_invoice_facturx_export
DEL ir.ui.view: account_edi_facturx.account_invoice_line_facturx_export
DEL ir.ui.view: account_edi_facturx.account_invoice_partner_facturx_export
DEL ir.ui.view: account_edi_facturx.account_invoice_pdfa_3_facturx_metadata
DEL ir.ui.view: account_edi_ubl.export_ubl_invoice
DEL ir.ui.view: account_edi_ubl.export_ubl_invoice_line
DEL ir.ui.view: account_edi_ubl.export_ubl_invoice_partner
DEL ir.ui.view: account_edi_ubl_bis3.export_bis3_invoice
DEL ir.ui.view: account_edi_ubl_bis3.export_bis3_invoice_line
DEL ir.ui.view: account_edi_ubl_bis3.export_bis3_invoice_partner
DEL ir.ui.view: l10n_be_edi.export_efff_invoice
DEL ir.ui.view: l10n_nl_edi.export_nlcius_invoice
DEL ir.ui.view: l10n_nl_edi.export_nlcius_invoice_partner
DEL ir.ui.view: l10n_no_edi.export_ehf_3_invoice
DEL ir.ui.view: l10n_no_edi.export_ehf_3_invoice_partner
Loading

0 comments on commit 3d624f5

Please sign in to comment.