When creating a partner, the fields where the information is not specified were
filled with an empty string value.
The empty string value is not ideal as prevents to use filters like "email not
set" and forces to use more complexe domain "... or email = ''"
Instead, set the value false for the fields were nothing is provided (same
behaviour as backend web client).
Remove the fields.barcode overwrite to empty string as it is probably an
unintentional side effect of 3b33e5c3.
opw-684902
This method is not very useful. Why ? When any exception is raised, odoo will rollback
all the transaction which were not committed, hence the purpose of the method won't be
served, which was, to update the 'history' record which was created before an invalid
action was performed.
- removed fields of 'res.partner.job' and 'res.partner.contact' models
- removed non-stored compute field 'base' of model 'account.invoice.tax' from anonymization list
- removed fields 'tax_amount' and 'amount_taxed' which no more exists in 'account.move.line' model
- removed field 'check_total' which no more exists in 'account.invoice' model
- removed field 'partner_phone' which no more exists in 'crm.phonecall' model
The 2 calendar notification routes were in auth
`none`. This causes no problem, but since they are
reimplementing the auth user mecanism, it is better
to set them directly in auth `user`. Moreover, they
are only called from webclient, when the user is
logged.
This commit also migrate them to new API (we forgot
them ....)
* Remove dead code
* Clean variable assignation to a record set and use a dedicated variable to
hold the result instead of setting a property on records
website_quote still calls sale_order_line.product_id_change() in old API,
giving arguments that are not supported anymore. It does not crash because
'reasons'. However the new onchange does not return values since v9. The
call is therefore not necessary anymore and the computation has been adapted
accordingly.