changeset f80b86865a95 in modules/stock:default
details: https://hg.tryton.org/modules/stock?cmd=changeset&node=f80b86865a95
description:
        Use date instead of datetime on delivery note report

        issue11748
        review431671003
diffstat:

 delivery_note.fodt |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 449fb2bdb0c0 -r f80b86865a95 delivery_note.fodt
--- a/delivery_note.fodt        Thu Sep 29 23:42:06 2022 +0200
+++ b/delivery_note.fodt        Fri Sep 30 09:01:20 2022 +0200
@@ -459,7 +459,7 @@
    <text:p text:style-name="P15"><text:placeholder 
text:placeholder-type="text">&lt;line&gt;</text:placeholder></text:p>
    <text:p text:style-name="P15"><text:placeholder 
text:placeholder-type="text">&lt;/for&gt;</text:placeholder></text:p>
    <text:p text:style-name="P20">Delivery Note</text:p>
-   <text:p text:style-name="P21"><text:span text:style-name="T1">Shipment 
Number:</text:span> <text:placeholder 
text:placeholder-type="text">&lt;shipment.number&gt;</text:placeholder><text:span
 text:style-name="T2"><text:line-break/></text:span><text:span 
text:style-name="T1">Customer Code:</text:span><text:span text:style-name="T2"> 
</text:span><text:span text:style-name="T2"><text:placeholder 
text:placeholder-type="text">&lt;shipment.customer.code&gt;</text:placeholder></text:span><text:span
 text:style-name="T2"><text:line-break/></text:span><text:span 
text:style-name="T1">Reference:</text:span><text:span text:style-name="T2"> 
</text:span><text:span text:style-name="T2"><text:placeholder 
text:placeholder-type="text">&lt;shipment.origins or 
&apos;&apos;&gt;</text:placeholder></text:span><text:span 
text:style-name="T2"><text:placeholder text:placeholder-type="text">&lt;&apos;, 
&apos; if (shipment.origins and shipment.reference) else 
&apos;&apos;&gt;</text:placeholder></text:span><text:span 
text:style-name="T2"><text:placeholder 
text:placeholder-type="text">&lt;shipment.reference or 
&apos;&apos;&gt;</text:placeholder></text:span><text:span 
text:style-name="T2"><text:line-break/></text:span><text:span 
text:style-name="T1">Date: </text:span><text:span 
text:style-name="T2"><text:placeholder 
text:placeholder-type="text">&lt;format_date(shipment.effective_date and 
shipment.effective_date or datetime.datetime.today(), 
shipment.delivery_address.party.lang)&gt;</text:placeholder></text:span></text:p>
+   <text:p text:style-name="P21"><text:span text:style-name="T1">Shipment 
Number:</text:span> <text:placeholder 
text:placeholder-type="text">&lt;shipment.number&gt;</text:placeholder><text:span
 text:style-name="T2"><text:line-break/></text:span><text:span 
text:style-name="T1">Customer Code:</text:span><text:span text:style-name="T2"> 
</text:span><text:span text:style-name="T2"><text:placeholder 
text:placeholder-type="text">&lt;shipment.customer.code&gt;</text:placeholder></text:span><text:span
 text:style-name="T2"><text:line-break/></text:span><text:span 
text:style-name="T1">Reference:</text:span><text:span text:style-name="T2"> 
</text:span><text:span text:style-name="T2"><text:placeholder 
text:placeholder-type="text">&lt;shipment.origins or 
&apos;&apos;&gt;</text:placeholder></text:span><text:span 
text:style-name="T2"><text:placeholder text:placeholder-type="text">&lt;&apos;, 
&apos; if (shipment.origins and shipment.reference) else 
&apos;&apos;&gt;</text:placeholder></text:span><text:span 
text:style-name="T2"><text:placeholder 
text:placeholder-type="text">&lt;shipment.reference or 
&apos;&apos;&gt;</text:placeholder></text:span><text:span 
text:style-name="T2"><text:line-break/></text:span><text:span 
text:style-name="T1">Date: </text:span><text:span 
text:style-name="T2"><text:placeholder 
text:placeholder-type="text">&lt;format_date(shipment.effective_date or 
datetime.date.today(), 
shipment.delivery_address.party.lang)&gt;</text:placeholder></text:span></text:p>
    <table:table table:name="Table1" table:style-name="Table1">
     <table:table-column table:style-name="Table1.A"/>
     <table:table-column table:style-name="Table1.B"/>

Reply via email to