-
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
-
-
Save ofelix03/4456ad56b85586b661269a808de6d351 to your computer and use it in GitHub Desktop.
customer and supplier fields removed from res.partner
Make use of res_partner_search_mode
context.
<!-- For Customers -->
<field name="partner_id" context="{'res_partner_search_mode': 'customer'}" />
<!-- For Suppliers -->
<field name="partner_id" context="{'res_partner_search_mode': 'supplier'}" />
and for *.py
def mymethod(self):
partner_search_mode = self.env.context.get('res_partner_search_mode')
...
type
field on mail.message
model renamed to message_type
The function _create_payment_entry
in account.payment
model has been replaced with _prepare_move_line_default_vals
payment_date
field on account.payment
model renamed to date
NOTE:
There is no reference found for the date
field definition on the account.payment
model or it's inherit
and inherits
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 reports
communication
field on account.payment
removed
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>
customer
andsupplier
fields removed fromres.partner