Files
odoo_source/addons
Xavier Morel 44af6d1e09 [IMP] significantly improve handling of trying to create a new page which already exists
# Through the menu

Rather than output a generic error (500 due to an IntegrityError),
return a templated 409 letting the user either visit the
page-which-already-exists-with-the-name-he'd-picked or open the page
creation dialog again for a second round.

An alternative would be to promote the website.prompt use to
full-blown dialog as a result of selecting "New Page" and handle the
"page already exists" case without even closing the dialog.

# Through the link dialog

Added an RPC call to check if a page already exists (essentially a
cheaper version of opening /page/whatever and checking whether it's a
200 over JSON-RPC), if the page matching the completion term already
exists, do *not* add the choice of creating the page, only provide
completions from existing pages.

bzr revid: xmo@openerp.com-20131126160148-wrk4zvz9istscwa0
2013-11-26 17:01:48 +01:00
..
2013-11-15 13:10:27 +01:00
2013-10-22 19:06:59 +02:00
2013-11-16 10:58:14 +01:00
2013-10-28 17:33:21 +01:00
2013-11-17 12:07:20 +01:00
2013-10-22 19:06:59 +02:00
2013-11-15 13:10:27 +01:00
2013-11-15 13:10:27 +01:00
2013-11-26 16:48:53 +01:00
2013-11-25 15:37:13 +01:00