Required slaves fields that are not visible due to master/slave relationships are not considered mandatory anymore.
This commit is contained in:
parent
ba877e061e
commit
ca6dd26906
2 changed files with 40 additions and 4 deletions
|
@ -167,7 +167,7 @@ class BaseMixin:
|
|||
initiatorPage = splitted[2].split(':')[1]
|
||||
urlBack = initiator.getUrl(page=initiatorPage, nav='')
|
||||
else:
|
||||
# Go back to the Plone site (no better solution at present).
|
||||
# Go back to the root of the site.
|
||||
urlBack = self.portal_url.getPortalObject().absolute_url()
|
||||
else:
|
||||
urlBack = self.getUrl()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue