Various changes to support current receiving workflows
i.e. for sake of truck dump, adding child from invoice etc.
This commit is contained in:
parent
210508480e
commit
b0e8f7d985
7 changed files with 153 additions and 44 deletions
|
@ -54,7 +54,7 @@
|
|||
% if master.deletable and instance_deletable and request.has_perm('{}.delete'.format(permission_prefix)):
|
||||
<li>${h.link_to("Delete this {}".format(model_title), action_url('delete', instance), class_='delete-instance')}</li>
|
||||
% endif
|
||||
% if master.creatable and request.has_perm('{}.create'.format(permission_prefix)):
|
||||
% if master.creatable and master.show_create_link and request.has_perm('{}.create'.format(permission_prefix)):
|
||||
% if master.creates_multiple:
|
||||
<li>${h.link_to("Create new {}".format(model_title_plural), url('{}.create'.format(route_prefix)))}</li>
|
||||
% else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue