Commit c9b30aad authored by Rafael Monnerat's avatar Rafael Monnerat

erp5_payroll_l10n_fr: Improve jump if no document related.

   Also include a minimal message.
parent 514bf524
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 @@ ...@@ -6,18 +6,18 @@
</pickle> </pickle>
<pickle> <pickle>
<dictionary> <dictionary>
<item>
<key> <string>Script_magic</string> </key>
<value> <int>3</int> </value>
</item>
<item> <item>
<key> <string>_bind_names</string> </key> <key> <string>_bind_names</string> </key>
<value> <value>
<object> <object>
<klass> <klass>
<global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/> <global name="_reconstructor" module="copy_reg"/>
</klass> </klass>
<tuple/> <tuple>
<global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
<global name="object" module="__builtin__"/>
<none/>
</tuple>
<state> <state>
<dictionary> <dictionary>
<item> <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