-
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
post()
method on account.payment
model renamed to action_post()
cancel()
method on account.payment
model renamed to action_cancel()
The external id on form view invoice_form
for the model account.move
is renamed to view_move_form
track_visiblity
attribute renamed to tracking
taking a boolean
value
All compute methods must have the prefix _compute
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
payment_date
field onaccount.payment
model renamed todate
NOTE:
There is no reference found for the
date
field definition on theaccount.payment
model or it'sinherit
andinherits
models.We are still researching on where this
date
field was defined.date
field is not being persisted in the database, hence can not be used in Pentaho reportscommunication
field onaccount.payment
removed