summaryrefslogtreecommitdiff
path: root/addons/mail/wizard/mail_resend_message.py
diff options
context:
space:
mode:
authoryhu-odoo <yhu@odoo.com>2020-01-31 10:40:09 +0000
committeryhu-odoo <yhu@odoo.com>2020-03-17 12:40:26 +0000
commit86f091c0c6f617285b6464ddf4ffaeb614f9f204 (patch)
tree39de9a3e8976bd3ce4c34f1679b013d1f44bf3d8 /addons/mail/wizard/mail_resend_message.py
parent41b83e425b286c12d8c65369ce72ce5fa6455422 (diff)
[IMP]stock,product_expiry: improve error message for sn number check
======= PURPOSE ======= Improve duplicated serial number message to show more information. ======= SPEC ======= In this commit, we show full information about all invalide product name and lot/sn number when the user enters duplicated ones. - Change the sql constraint for checking duplicate sn/lot to python constraint to support customised error message. - Create lot in batch to show all invalide ones in error message. ======= LINKS ======= task 2083605 pr #44366 Related: odoo/upgrade#954 Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
Diffstat (limited to 'addons/mail/wizard/mail_resend_message.py')
0 files changed, 0 insertions, 0 deletions