Advertisement
Guest User

Untitled

a guest
Mar 20th, 2019
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.37 KB | None | 0 0
  1. <t t-jquery=".orderlines" t-operation="replace">
  2.             <div class='orderlines' line-ratio='0.6'>
  3.                 <line>
  4.                     <left>
  5.                         <t t-esc="'________________________'"/>
  6.                     </left>
  7.                     <right>
  8.                         <t t-esc="'________________________'"/>
  9.                     </right>
  10.                 </line>
  11.                 <line bold="on">
  12.                     <left>
  13.                         <div>
  14.                             <t t-esc="'CANT.  '"/>
  15.                         </div>
  16.                         <div>
  17.                             <t t-esc="'DESCRIPCION'" />
  18.                         </div>
  19.                     </left>
  20.                     <right>
  21.                         <t t-esc="'$/Und.'"/>
  22.                         <t t-esc="'Valor'"/>
  23.                     </right>
  24.                 </line>
  25.                 <line>
  26.                     <left>
  27.                         <t t-esc="'________________________'"/>
  28.                     </left>
  29.                     <right>
  30.                         <t t-esc="'________________________'"/>
  31.                     </right>
  32.                 </line>
  33.                 <t t-foreach='receipt.orderlines' t-as='line'>
  34.                     <line>
  35.                         <left>
  36.                             <t t-esc='line.generate_wrapped_quantity_str[0]'/>
  37.                             <t t-esc='line.generate_wrapped_product_name[0]' />
  38.                         </left>
  39.                         <right>
  40.                             <value value-width="6" t-att-value-decimals='pos.currency.decimals'>
  41.                                 <t t-esc="line.price"/>
  42.                             </value>
  43.                             <value value-width="6" t-att-value-decimals='pos.currency.decimals'>
  44.                                 <t t-esc="line.price_display"/>
  45.                             </value>
  46.                         </right>
  47.                     </line>
  48.                     <t t-call="XmlReceiptWrappedProductNameOrderLines"/>
  49.                 </t>
  50.                 <line>
  51.                     <left>
  52.                         <t t-esc="'------------------------'"/>
  53.                     </left>
  54.                     <right>
  55.                         <t t-esc="'------------------------'"/>
  56.                     </right>
  57.                 </line>
  58.             </div>
  59.         </t>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement