Commit acdb1447 authored by Rafael Monnerat's avatar Rafael Monnerat Committed by Kazuhiko Shiozaki

erp5_payroll_l10n_fr: Improve jump if no document related.

   Also include a minimal message.
parent b60c521e
return context.LeaveRequest_getRelatedPaySheetTransaction().Base_redirect()
transaction = context.LeaveRequest_getRelatedPaySheetTransaction()
translateString = context.Base_translateString
if transaction is not None:
return transaction.Base_redirect("view",
keep_items={
'portal_status_message': translateString('Related Pay Sheet Transaction.')})
return context.Base_redirect("view",
keep_items={
'portal_status_message': translateString('No Related Pay Sheet Transaction.')})
......@@ -6,18 +6,18 @@
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>Script_magic</string> </key>
<value> <int>3</int> </value>
</item>
<item>
<key> <string>_bind_names</string> </key>
<value>
<object>
<klass>
<global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
<global name="_reconstructor" module="copy_reg"/>
</klass>
<tuple/>
<tuple>
<global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
<global name="object" module="__builtin__"/>
<none/>
</tuple>
<state>
<dictionary>
<item>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment