Tweak organization panel for product view template
for better customization
This commit is contained in:
parent
543bf5338a
commit
bef0a2d0b6
|
@ -103,12 +103,7 @@
|
|||
</%def>
|
||||
|
||||
<%def name="right_column()">
|
||||
<div class="panel">
|
||||
<h2>Organization</h2>
|
||||
<div class="panel-body">
|
||||
${self.render_organization_fields(form)}
|
||||
</div>
|
||||
</div>
|
||||
${self.organization_panel()}
|
||||
${self.movement_panel()}
|
||||
${self.sources_panel()}
|
||||
${self.notes_panel()}
|
||||
|
@ -119,6 +114,15 @@
|
|||
|
||||
<%def name="extra_main_fields(form)"></%def>
|
||||
|
||||
<%def name="organization_panel()">
|
||||
<div class="panel">
|
||||
<h2>Organization</h2>
|
||||
<div class="panel-body">
|
||||
${self.render_organization_fields(form)}
|
||||
</div>
|
||||
</div>
|
||||
</%def>
|
||||
|
||||
<%def name="render_organization_fields(form)">
|
||||
${render_field_readonly(form.fieldset.department)}
|
||||
${render_field_readonly(form.fieldset.subdepartment)}
|
||||
|
|
Loading…
Reference in a new issue