5.0: changes for Tryton 5.0
This commit is contained in:
parent
569b4e2fc8
commit
504aab41a1
14 changed files with 34 additions and 33 deletions
|
@ -24,7 +24,7 @@ this repository contains the full copyright notices and license terms. -->
|
|||
</ram:SpecifiedTaxRegistration>
|
||||
</py:def>
|
||||
<py:def function="TradeAddress(address)">
|
||||
<ram:PostcodeCode py:if="address.postal_code">${address.postal_code}</ram:PostcodeCode>
|
||||
<ram:PostcodeCode py:if="address.zip">${address.zip}</ram:PostcodeCode>
|
||||
<py:with vars="lines = (address.street or '').splitlines()">
|
||||
<ram:LineOne py:if="len(lines) > 0">${this.quote_text(lines[0])}</ram:LineOne>
|
||||
<ram:LineTwo py:if="len(lines) > 1">${this.quote_text(lines[1])}</ram:LineTwo>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue