fix(portal): recover full-bleed wrapper fix + Schedule Payslips tab
These round-2 portal fixes (white-border wrapper neutralisation in portal_clock.css, and the Payslips nav tab on the fusion_planning Schedule page) were briefly bundled into a concurrent NFC commit that a parallel session then rebased, dropping them from main. They are deployed and verified on entech (fusion_clock 3.12.3 / fusion_planning 1.3.0); re-committing so git matches. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
{
|
||||
'name': 'Fusion Planning',
|
||||
'version': '19.0.1.2.0',
|
||||
'version': '19.0.1.3.0',
|
||||
'category': 'Human Resources/Planning',
|
||||
'summary': 'Fusion Clock bridge to Odoo Planning - employee schedule on the portal',
|
||||
'description': """
|
||||
|
||||
@@ -93,5 +93,8 @@ class FusionPlanningPortal(http.Controller):
|
||||
'slot_count': len(slots),
|
||||
'next_slot': next_slot_data,
|
||||
'page_name': 'fusion_clock_schedule',
|
||||
# Match the other portal pages so the Payslips nav tab appears
|
||||
# consistently when payroll is installed.
|
||||
'show_payslips': 'hr.payslip' in request.env,
|
||||
}
|
||||
return request.render('fusion_planning.portal_schedule_page', values)
|
||||
|
||||
@@ -155,6 +155,15 @@
|
||||
</svg>
|
||||
<span>Reports</span>
|
||||
</a>
|
||||
<t t-if="show_payslips">
|
||||
<a href="/my/clock/payslips" class="fclk-nav-item">
|
||||
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
||||
<rect x="2" y="5" width="20" height="14" rx="2"/>
|
||||
<line x1="2" y1="10" x2="22" y2="10"/>
|
||||
</svg>
|
||||
<span>Payslips</span>
|
||||
</a>
|
||||
</t>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user