summaryrefslogtreecommitdiff
path: root/addons/account_tax_python/models
diff options
context:
space:
mode:
authorOdoo's Mergebot <xmo+roboto@odoo.com>2020-03-30 15:36:00 +0200
committerGitHub <noreply@github.com>2020-03-30 15:36:00 +0200
commit73dc42d6d598785e381305c30b6b5149cd4e9309 (patch)
treeaf4b2db5e87443ce12a9f51f1a3139ac298770c0 /addons/account_tax_python/models
parentfba2f5d33105eb20a4c2689a1ddba97d50c47c40 (diff)
parent0abe4437dc7ace4aaa0717ae9b61d2b8310c5e9e (diff)
[MERGE] mail, maintenance: prevent re-using alias
PURPOSE Make aliases usage more unique, prevent re-using bounce or catchall aliases and remove auto-uniqueness of aliases. SPECIFICATIONS Before this commit, user could create an email alias having same name as catchall/bounce email alias, which should not happen. Also, while creating or duplicating alias, if the same name was already available, a new unique name was generated by adding a sequence number to existing name. This behavior is not considered as a good one as it magically creates aliases different from what user expects. User could even not own the newly-created alias, leading to a broken mail gateway. In this merge we improve that behavior by ensuring that no duplicate alias name should be entered while creation / update for both catcall/bounce and mail alias. Also, while duplicating an alias, name will now be blank by default to force user to enter the name. Finally when creating an alias an error is raised if the name is already taken. TaskID 2160070 closes odoo/odoo#47567 Related: odoo/enterprise#9211 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/account_tax_python/models')
0 files changed, 0 insertions, 0 deletions