-
account.register.payments model (in v12) renamed to account.payment.register (v13 & v14)
-
_compute_reconciled_invoice_ids(...) model (v12 & v13) renamed to _compute_stat_buttons_from_reconciliation(...) (v14)*
-
account.asset.asset (v10) model renamed to account.asset(in v12 upwards) and moved from core addons to enterprise [module: account_asset]
-
communication" field on account.payment has been removed in v14
Last active
June 15, 2021 10:35
-
-
Save ofelix03/4456ad56b85586b661269a808de6d351 to your computer and use it in GitHub Desktop.
Odoo v12 to v14: Technical Changes Note
DEPRECATED: methods decorated with @api.onchnage()
no longer return domain filters
<report>
tag deprecated. Use <record>
element instead
Example of what to use
<record id="action_report_saleorder" model="ir.actions.report">
<field name="name">Quotation / Order</field>
<field name="model">sale.order</field>
<field name="report_type">qweb-pdf</field>
<field name="report_name">sale.report_saleorder</field>
<field name="report_file">sale.report_saleorder</field>
<field name="print_report_name">(object.state in ('draft', 'sent') and 'Quotation - %s' % (object.name)) or 'Order - %s' % (object.name)</field>
<field name="binding_model_id" ref="model_sale_order"/>
<field name="binding_type">report</field>
</record>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
All compute methods must have the prefix
_compute