Commit Graph
2 Commits
Author SHA1 Message Date
Adrian Torres 1daf8eb127 [FIX] *: set ondelete policy of required Selection fields
With this commit, Selection fields with `required=True` which are
extended via `selection_add` are given proper ondelete policies to
ensure the cleanup of records containing these extended options during
uninstall of the extending module.

This commit also cleans up leftover uninstall hooks that were being used
to handle the same set of problems prior to the ondelete mechanism being
implemented for Selection fields.

closes odoo/odoo#46325

Related: odoo/enterprise#9117
Signed-off-by: Raphael Collet (rco) <rco@openerp.com>
2020-03-30 13:42:04 +00:00
Hardik Prajapati 22223e144a [IMP] l10n_no: generate payment reference called KID
the KID number is base on invoice and payment

the KID number control digit is calculated from the MOD10 (luan)

the last digit in the KID number is a control digit.

task-1969040

closes #33779

Signed-off-by: Josse Colpaert <jco@openerp.com>
2019-07-29 12:44:12 +00:00