mariomolinos

xml gradual

Apr 16th, 2026
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 29.14 KB | None | 0 0
  1. <data>
  2.     <xpath expr="/t[@t-name='sale.report_saleorder_document']" position="replace" mode="inner">
  3.  
  4.             <t t-call="web.external_layout">
  5.                 <t t-set="doc" t-value="doc.with_context(lang=doc.partner_id.lang)"/>
  6.                
  7.                 <t t-set="forced_vat" t-value="doc.fiscal_position_id.foreign_vat"/> <!-- So that it appears in the footer of the report instead of the company VAT if it's set -->
  8.                 <t t-set="address">
  9.                     <div t-field="doc.partner_id" t-options="{&quot;widget&quot;: &quot;contact&quot;, &quot;fields&quot;: [&quot;address&quot;, &quot;name&quot;], &quot;no_marker&quot;: True}"/>
  10.                     <p t-if="doc.partner_id.vat">
  11.                         <t t-if="doc.company_id.account_fiscal_country_id.vat_label" t-out="doc.company_id.account_fiscal_country_id.vat_label"/>
  12.                         <t t-else="">Tax ID</t>: <span t-field="doc.partner_id.vat"/>
  13.                     </p>
  14.                 </t>
  15.                 <t t-if="doc.partner_shipping_id == doc.partner_invoice_id                              and doc.partner_invoice_id != doc.partner_id                              or doc.partner_shipping_id != doc.partner_invoice_id">
  16.                     <t t-set="information_block">
  17.                         <strong>
  18.                             <t t-if="doc.partner_shipping_id == doc.partner_invoice_id">
  19.                                 Invoicing and Shipping Address
  20.                             </t>
  21.                             <t t-else="">
  22.                                 Invoicing Address
  23.                             </t>
  24.                         </strong>
  25.                         <div t-field="doc.partner_invoice_id" t-options="{&quot;widget&quot;: &quot;contact&quot;, &quot;fields&quot;: [&quot;address&quot;, &quot;name&quot;, &quot;phone&quot;], &quot;no_marker&quot;: True, &quot;phone_icons&quot;: True}"/>
  26.                         <t t-if="doc.partner_shipping_id != doc.partner_invoice_id">
  27.                             <strong>Shipping Address</strong>
  28.                             <div t-field="doc.partner_shipping_id" t-options="{&quot;widget&quot;: &quot;contact&quot;, &quot;fields&quot;: [&quot;address&quot;, &quot;name&quot;, &quot;phone&quot;], &quot;no_marker&quot;: True, &quot;phone_icons&quot;: True}"/>
  29.                         </t>
  30.                     </t>
  31.                 </t>
  32.                 <div class="page">
  33.                     <div id="introduction" class="mb-3">
  34.                         <h5 t-out="doc.x_studio_titulo"/>
  35.                     </div>  
  36.  
  37.                     <div class="oe_structure"/>
  38.        
  39.                     <t t-set="is_proforma" t-value="env.context.get('proforma', False) or is_pro_forma"/>
  40.                     <t t-set="layout_document_title">
  41.                         <span t-if="is_proforma" style="font-size: 12pt; font-weight: normal;">Factura Pro-Forma # </span>
  42.                         <span t-elif="doc.state in ['draft','sent']" style="font-size: 12pt; font-weight: normal;">Presupuesto # </span>
  43.                         <span t-else="" style="font-size: 12pt; font-weight: normal;">Pedido # </span>
  44.                         <span t-field="doc.name" style="font-size: 12pt; font-weight: normal;">SO0000</span>
  45.                     </t>
  46.        
  47.                     <div class="row mb-4" id="informations">
  48.                         <div t-if="doc.client_order_ref" class="col" name="informations_reference">
  49.                             <strong>Your Reference</strong>
  50.                             <div t-field="doc.client_order_ref">SO0000</div>
  51.                         </div>
  52.                     <t t-if="doc.is_subscription">
  53.                         <div class="col" name="plan">
  54.                             <strong>Recurring Plan</strong>
  55.                             <div t-field="doc.plan_id.name"/>
  56.                         </div>
  57.                         <div t-if="doc.start_date" class="col" name="subscription_start_date">
  58.                             <strong>Start Date</strong>
  59.                             <div t-field="doc.start_date"/>
  60.                         </div>
  61.                     </t>
  62.                         <div t-if="doc.date_order" class="col" name="informations_date">
  63.                             <strong t-if="is_proforma">Issued Date</strong>
  64.                             <strong t-elif="doc.state in ['draft', 'sent']">Fecha presupuesto</strong>
  65.                             <strong t-else="">Fecha pedido</strong>
  66.                             <div t-field="doc.date_order" t-options="{&quot;widget&quot;: &quot;date&quot;}">2023-12-31</div>
  67.                         </div>
  68.                         <div t-if="doc.validity_date and doc.state in ['draft', 'sent']" class="col" name="expiration_date">
  69.                             <strong>Vencimiento de la propuesta</strong>
  70.                             <div t-field="doc.validity_date">2023-12-31</div>
  71.                         </div>
  72.                     <div class="col" t-if="doc.incoterm">
  73.                         <strong>Incoterm</strong>
  74.                         <div t-if="doc.incoterm_location">
  75.                             <span t-field="doc.incoterm.code"/> <br/>
  76.                             <span t-field="doc.incoterm_location"/>
  77.                         </div>
  78.                         <div t-else="" t-field="doc.incoterm.code"/>
  79.                     </div>
  80.                         <div t-if="doc.user_id.name" class="col">
  81.                             <strong>Salesperson</strong>
  82.                             <div t-field="doc.user_id">Mitchell Admin</div>
  83.                         </div>
  84.                     </div>
  85.                    
  86.                     <!-- ====== ANTECEDENTES (bloque indivisible, mantiene texto e imagen juntos) ====== -->
  87.                     <!--<t t-if="doc.x_studio_texto_antecedentes or doc.x_studio_imagen_antecedentes">-->
  88.                     <!--<t t-if="(doc.x_studio_texto_antecedentes and not ('&lt;br' in doc.x_studio_texto_antecedentes or '&amp;nbsp;' in doc.x_studio_texto_antecedentes or doc.x_studio_texto_antecedentes.strip() == '')) or doc.x_studio_imagen_antecedentes">-->
  89.                     <t t-if="doc.x_studio_antecedentes_bool">
  90.                       <div style="page-break-inside: avoid;">
  91.                         <section class="mt-4" style="page-break-inside: avoid; overflow: hidden;">
  92.                           <h4>ANTECEDENTES</h4>
  93.                           <hr class="mt-0 mb-1"/>
  94.                    
  95.                           <t t-if="doc.x_studio_texto_antecedentes">
  96.                             <div class="mb-3" style="page-break-inside: avoid;">
  97.                               <t t-raw="doc.x_studio_texto_antecedentes"/>
  98.                             </div>
  99.                           </t>
  100.                    
  101.                           <t t-if="doc.x_studio_imagen_antecedentes">
  102.                             <div style="text-align:center; margin-top:10px; page-break-inside: avoid;">
  103.                               <img t-att-src="image_data_uri(doc.x_studio_imagen_antecedentes)" style="max-width:70%; height:auto; display:block; margin-left:auto; margin-right:auto; max-height:18cm;"/>
  104.                             </div>
  105.                           </t>
  106.                         </section>
  107.                       </div>
  108.                     </t>
  109.                     <!-- ====== ALCANCE ====== -->
  110.                     <!--<t t-if="(doc.x_studio_texto_alcance and not ('&lt;br' in doc.x_studio_texto_alcance or '&amp;nbsp;' in doc.x_studio_texto_alcance or doc.x_studio_texto_alcance.strip() == ''))">-->
  111.                    
  112.                     <t t-if="doc.x_studio_alcance_bool">
  113.                         <div style="page-break-inside: avoid;">
  114.                             <section class="mt-4">
  115.                                 <h4>ALCANCE DE LOS TRABAJOS OFERTADOS</h4>
  116.                                 <hr class="mt-0 mb-1"/>
  117.                                 <div class="mb-3"><t t-raw="doc.x_studio_texto_alcance"/></div>
  118.                             </section>
  119.                         </div>    
  120.                     </t>                    
  121.  
  122.                     <!-- Is there a discount on at least one line? -->
  123.                     <t t-set="lines_to_report" t-value="doc._get_order_lines_to_report().filtered(lambda l: l.product_template_id.id == 30)"/>
  124.                     <t t-set="display_discount" t-value="any(l.discount for l in lines_to_report)"/>
  125.        
  126.                     <div class="oe_structure"/>
  127.                    
  128.                     <!--<div style="display: block; page-break-inside: avoid; overflow: hidden;">-->
  129.  
  130.                         <!--<div style="display:block; page-break-before: auto;">-->
  131.                         <!--  <h4 style="margin-top:45px">HONORARIOS</h4>-->
  132.                         <!--  <hr class="mt-0 mb-1"/>-->
  133.                        
  134.                         <!--  <table class="o_has_total_table table o_main_table table-borderless">-->
  135.                         <!--    <thead style="display: table-row-group">-->
  136.                         <!--      <tr>-->
  137.                         <!--        <th name="th_description" class="text-start">Description</th>-->
  138.                         <!--        <th name="th_quantity" class="text-end text-nowrap">Quantity</th>-->
  139.                         <!--        <th name="th_priceunit" class="text-end text-nowrap">Unit Price</th>-->
  140.                         <!--        <th name="th_discount" t-if="display_discount" class="text-end"><span>Disc.%</span></th>-->
  141.                         <!--        <th name="th_taxes" class="text-end">Taxes</th>-->
  142.                         <!--        <th name="th_subtotal" class="text-end"><span>Amount</span></th>-->
  143.                         <!--      </tr>-->
  144.                         <!--    </thead>-->
  145.                        
  146.                         <!--    <tbody class="sale_tbody">-->
  147.                         <!--      <t t-set="current_subtotal" t-value="0"/>-->
  148.                        
  149.                         <!--      <t t-foreach="lines_to_report" t-as="line">-->
  150.                         <!--        <t t-set="current_subtotal" t-value="current_subtotal + line.price_subtotal"/>-->
  151.                        
  152.                         <!--        <tr t-att-class="'fw-bold o_line_section' if (line.display_type == 'line_section' or line.product_type == 'combo')                                                  else 'fst-italic o_line_note' if line.display_type == 'line_note'                                                  else ''">-->
  153.                        
  154.                         <!--          <t t-if="not line.display_type and line.product_type != 'combo'">-->
  155.                         <!--            <td name="td_name">-->
  156.                         <!--              <span t-esc="line.name.split('\n', 1)[-1]"/>-->
  157.                         <!--            </td>-->
  158.                         <!--            <td name="td_quantity" class="text-end text-nowrap">-->
  159.                         <!--              <span t-field="line.product_uom_qty"/>-->
  160.                         <!--              <span t-field="line.product_uom"/>-->
  161.                         <!--              <span t-if="line.product_packaging_id">-->
  162.                         <!--                (<span t-field="line.product_packaging_qty" t-options="{'widget':'integer'}"/>-->
  163.                         <!--                 <span t-field="line.product_packaging_id"/>)-->
  164.                         <!--              </span>-->
  165.                         <!--            </td>-->
  166.                         <!--            <td name="td_priceunit" class="text-end text-nowrap">-->
  167.                         <!--              <span t-field="line.price_unit"/>-->
  168.                         <!--            </td>-->
  169.                         <!--            <td t-if="display_discount" class="text-end">-->
  170.                         <!--              <span t-field="line.discount"/>-->
  171.                         <!--            </td>-->
  172.                         <!--            <t t-set="taxes" t-value="', '.join([(tax.invoice_label or tax.name) for tax in line.tax_id])"/>-->
  173.                         <!--            <td name="td_taxes" t-attf-class="text-end {{ 'text-nowrap' if len(taxes) &lt; 10 else '' }}">-->
  174.                         <!--              <span t-out="taxes"/>-->
  175.                         <!--            </td>-->
  176.                         <!--            <td t-if="not line.is_downpayment" name="td_subtotal" class="text-end o_price_total">-->
  177.                         <!--              <span t-field="line.price_subtotal"/>-->
  178.                         <!--            </td>-->
  179.                         <!--          </t>-->
  180.                        
  181.                         <!--          <t t-elif="line.display_type == 'line_section' or line.product_type == 'combo'">-->
  182.                         <!--            <td name="td_section_line" colspan="99">-->
  183.                         <!--              <span t-field="line.name"/>-->
  184.                         <!--            </td>-->
  185.                         <!--            <t t-set="current_section" t-value="line"/>-->
  186.                         <!--            <t t-set="current_subtotal" t-value="0"/>-->
  187.                         <!--          </t>-->
  188.                        
  189.                         <!--          <t t-elif="line.display_type == 'line_note'">-->
  190.                         <!--            <td name="td_note_line" colspan="99">-->
  191.                         <!--              <span t-field="line.name"/>-->
  192.                         <!--            </td>-->
  193.                         <!--          </t>-->
  194.                        
  195.                         <!--        </tr>-->
  196.                        
  197.                         <!--        <t t-if="current_section and (                                             line_last                                             or lines_to_report[line_index+1].display_type == 'line_section'                                             or lines_to_report[line_index+1].product_type == 'combo'                                             or (line.combo_item_id and not lines_to_report[line_index+1].combo_item_id)                                           ) and not line.is_downpayment">-->
  198.                         <!--          <t t-set="current_section" t-value="None"/>-->
  199.                         <!--          <tr class="is-subtotal text-end">-->
  200.                         <!--            <td name="td_section_subtotal" colspan="99">-->
  201.                         <!--              <strong class="mr16">Subtotal</strong>-->
  202.                         <!--              <span t-out="current_subtotal" t-options="{'widget':'monetary','display_currency': doc.currency_id}"/>-->
  203.                         <!--            </td>-->
  204.                         <!--          </tr>-->
  205.                         <!--        </t>-->
  206.                        
  207.                         <!--      </t>-->
  208.                         <!--    </tbody>-->
  209.                         <!--  </table>-->
  210.                         <!--  <div class="clearfix" name="so_total_summary">-->
  211.                         <!--    <div id="total" class="row mt-n3" name="total">-->
  212.                         <!--        <div t-attf-class="#{'col-6' if report_type != 'html' else 'col-sm-7 col-md-6'} ms-auto">-->
  213.                         <!--            <table class="o_total_table table table-borderless">-->
  214.                                         <!-- Tax totals -->
  215.                         <!--                <t t-call="sale.document_tax_totals_copy_1">-->
  216.                         <!--                    <t t-set="tax_totals" t-value="doc.tax_totals"/>-->
  217.                         <!--                    <t t-set="currency" t-value="doc.currency_id"/>-->
  218.                         <!--                </t>-->
  219.                         <!--            </table>-->
  220.                         <!--        </div>-->
  221.                         <!--    </div>-->
  222.                         <!--  </div>                           -->
  223.                         <!--</div>-->
  224.  
  225.                         <div style="page-break-inside: avoid; break-inside: avoid; display: block;">
  226.                             <h4 style="margin-top:45px;">HONORARIOS</h4>
  227.                             <hr class="mt-0 mb-1"/>
  228.                        
  229.                             <table class="o_has_total_table table o_main_table table-borderless" style="page-break-inside: avoid; break-inside: avoid;">
  230.                                 <thead>
  231.                                     <tr>
  232.                                         <th name="th_description" class="text-start">Description</th>
  233.                                         <th name="th_quantity" class="text-end text-nowrap">Quantity</th>
  234.                                         <th name="th_priceunit" class="text-end text-nowrap">Unit Price</th>
  235.                                         <th name="th_discount" t-if="display_discount" class="text-end">
  236.                                             <span>Disc.%</span>
  237.                                         </th>
  238.                                         <th name="th_taxes" class="text-end">Taxes</th>
  239.                                         <th name="th_subtotal" class="text-end">
  240.                                             <span>Amount</span>
  241.                                         </th>
  242.                                     </tr>
  243.                                 </thead>
  244.                        
  245.                                 <tbody class="sale_tbody">
  246.                                     <t t-set="current_subtotal" t-value="0"/>
  247.                        
  248.                                     <t t-foreach="lines_to_report" t-as="line">
  249.                                         <t t-set="current_subtotal" t-value="current_subtotal + line.price_subtotal"/>
  250.                        
  251.                                         <tr t-att-class="'fw-bold o_line_section' if (line.display_type == 'line_section' or line.product_type == 'combo') else 'fst-italic o_line_note' if line.display_type == 'line_note' else ''">
  252.                                             <t t-if="not line.display_type and line.product_type != 'combo'">
  253.                                                 <td name="td_name">
  254.                                                     <span t-esc="line.name.split('\n', 1)[-1]"/>
  255.                                                 </td>
  256.                                                 <td name="td_quantity" class="text-end text-nowrap">
  257.                                                     <span t-field="line.product_uom_qty"/>
  258.                                                     <span t-field="line.product_uom"/>
  259.                                                     <span t-if="line.product_packaging_id">
  260.                                                         (<span t-field="line.product_packaging_qty" t-options="{'widget':'integer'}"/>
  261.                                                         <span t-field="line.product_packaging_id"/>)
  262.                                                     </span>
  263.                                                 </td>
  264.                                                 <td name="td_priceunit" class="text-end text-nowrap">
  265.                                                     <span t-field="line.price_unit"/>
  266.                                                 </td>
  267.                                                 <td t-if="display_discount" class="text-end">
  268.                                                     <span t-field="line.discount"/>
  269.                                                 </td>
  270.                                                 <t t-set="taxes" t-value="', '.join([(tax.invoice_label or tax.name) for tax in line.tax_id])"/>
  271.                                                 <td name="td_taxes" t-attf-class="text-end {{ 'text-nowrap' if len(taxes) &lt; 10 else '' }}">
  272.                                                     <span t-out="taxes"/>
  273.                                                 </td>
  274.                                                 <td t-if="not line.is_downpayment" name="td_subtotal" class="text-end o_price_total">
  275.                                                     <span t-field="line.price_subtotal"/>
  276.                                                 </td>
  277.                                             </t>
  278.                        
  279.                                             <t t-elif="line.display_type == 'line_section' or line.product_type == 'combo'">
  280.                                                 <td name="td_section_line" colspan="99">
  281.                                                     <span t-field="line.name"/>
  282.                                                 </td>
  283.                                                 <t t-set="current_section" t-value="line"/>
  284.                                                 <t t-set="current_subtotal" t-value="0"/>
  285.                                             </t>
  286.                        
  287.                                             <t t-elif="line.display_type == 'line_note'">
  288.                                                 <td name="td_note_line" colspan="99">
  289.                                                     <span t-field="line.name"/>
  290.                                                 </td>
  291.                                             </t>
  292.                                         </tr>
  293.                        
  294.                                         <t t-if="current_section and (                                             line_last                                             or lines_to_report[line_index+1].display_type == 'line_section'                                             or lines_to_report[line_index+1].product_type == 'combo'                                             or (line.combo_item_id and not lines_to_report[line_index+1].combo_item_id)                                         ) and not line.is_downpayment">
  295.                                             <t t-set="current_section" t-value="None"/>
  296.                                             <tr class="is-subtotal text-end">
  297.                                                 <td name="td_section_subtotal" colspan="99">
  298.                                                     <strong class="mr16">Subtotal</strong>
  299.                                                     <span t-out="current_subtotal" t-options="{'widget':'monetary','display_currency': doc.currency_id}"/>
  300.                                                 </td>
  301.                                             </tr>
  302.                                         </t>
  303.                                     </t>
  304.                                 </tbody>
  305.                             </table>
  306.                        
  307.                             <div class="clearfix" name="so_total_summary" style="page-break-inside: avoid; break-inside: avoid;">
  308.                                 <div id="total" class="row mt-n3" name="total" style="page-break-inside: avoid; break-inside: avoid;">
  309.                                     <div t-attf-class="#{'col-6' if report_type != 'html' else 'col-sm-7 col-md-6'} ms-auto">
  310.                                         <table class="o_total_table table table-borderless" style="page-break-inside: avoid; break-inside: avoid;">
  311.                                             <t t-call="sale.document_tax_totals_copy_1">
  312.                                                 <t t-set="tax_totals" t-value="doc.tax_totals"/>
  313.                                                 <t t-set="currency" t-value="doc.currency_id"/>
  314.                                             </t>
  315.                                         </table>
  316.                                     </div>
  317.                                 </div>
  318.                             </div>
  319.                         </div>
  320.                      
  321.                     <div class="oe_structure"/>
  322.  
  323.                     <!-- ====== FORMA DE PAGO ====== -->
  324.                     <t t-if="doc.x_studio_informacion_pago_bool">
  325.                    
  326.                     <!--<t t-if="doc.x_studio_texto_forma_de_pago">-->
  327.                         <section class="mt-4">
  328.                             <h4>FORMA DE PAGO</h4>
  329.                             <hr class="mt-0 mb-1"/>
  330.                             <div><t t-raw="doc.x_studio_texto_forma_de_pago"/></div>
  331.                         </section>
  332.                     </t>
  333.                     <!-- ====== PLAZO DE ENTREGA ====== -->
  334.                     <t t-if="doc.x_studio_plazo_entrega_bool">
  335.                    
  336.                     <!--<t t-if="doc.x_studio_texto_plazo">-->
  337.                         <section class="mt-4">
  338.                             <h4>PLAZO DE ENTREGA</h4>
  339.                             <hr class="mt-0 mb-1"/>
  340.                             <div><t t-raw="doc.x_studio_texto_plazo"/></div>
  341.                         </section>
  342.                     </t>                    
  343.                    
  344.                     <div t-if="not doc.signature" class="oe_structure"/>
  345.                     <div t-else="" class="mt-4 ml64 mr4" name="signature">
  346.                         <div class="offset-8">
  347.                             <strong>Signature</strong>
  348.                         </div>
  349.                         <div class="offset-8">
  350.                             <img t-att-src="image_data_uri(doc.signature)" style="max-height: 4cm; max-width: 8cm;"/>
  351.                         </div>
  352.                         <div class="offset-8 text-center">
  353.                             <span t-field="doc.signed_by">Oscar Morgan</span>
  354.                         </div>
  355.                     </div>
  356.                 <div t-if="not (doc.sale_order_option_ids and doc.state in ['draft', 'sent'])" class="oe_structure"></div>
  357.                 <div t-else="">
  358.                     <t t-set="has_option_discount" t-value="any(option.discount != 0.0 for option in doc.sale_order_option_ids)"/>
  359.                     <h4 name="h_optional_products">
  360.                         <span>Options</span>
  361.                     </h4>
  362.                     <table name="table_optional_products" class="table table-sm">
  363.                         <thead class="fw-bold">
  364.                             <tr>
  365.                                 <td name="th_option_name" class="text-start">Description</td>
  366.                                 <td t-if="has_option_discount" name="th_option_discount" class="text-start">Disc.%</td>
  367.                                 <td name="th_option_price_unit" class="text-end">Unit Price</td>
  368.                             </tr>
  369.                         </thead>
  370.                         <tbody class="sale_tbody">
  371.                             <tr t-foreach="doc.sale_order_option_ids" t-as="option">
  372.                                 <td name="td_option_name">
  373.                                     <span t-field="option.name">Extra Chips</span>
  374.                                 </td>
  375.                                 <td t-if="has_option_discount" name="td_option_discount">
  376.                                     <strong t-if="option.discount != 0.0" class="text-info">
  377.                                         <t t-out="((option.discount % 1) and '%s' or '%d') % option.discount">-</t>%
  378.                                     </strong>
  379.                                 </td>
  380.                                 <td name="td_option_price_unit">
  381.                                     <strong class="text-end">
  382.                                         <div t-field="option.price_unit" t-options="{&quot;widget&quot;: &quot;monetary&quot;, &quot;display_currency&quot;: doc.currency_id}" t-att-style="option.discount and 'text-decoration: line-through' or None" t-att-class="option.discount and 'text-danger' or None">1.5</div>
  383.                                         <div t-if="option.discount">
  384.                                             <t t-out="((1-option.discount / 100.0) * option.price_unit)" t-options="{&quot;widget&quot;: &quot;monetary&quot;, &quot;display_currency&quot;: doc.currency_id}"> </t>
  385.                                         </div>
  386.                                     </strong>
  387.                                 </td>
  388.                             </tr>
  389.                         </tbody>
  390.                     </table>
  391.                     <div class="oe_structure"></div>
  392.                 </div>
  393.                 <div style="page-break-after: auto;"/>
  394.                     <div>
  395.                         <h4>CONDICIONES GENERALES</h4>
  396.                         <hr class="mt-0 mb-1"/>
  397.                         <span t-field="doc.note" t-attf-style="#{'text-align:justify;text-justify:inter-word;' if doc.company_id.terms_type != 'html' else ''}" name="order_note"/>
  398.                         <p t-if="not is_html_empty(doc.payment_term_id.note)">
  399.                             <span t-field="doc.payment_term_id.note">The payment should also be transmitted with love</span>
  400.                         </p>
  401.                         <div class="oe_structure"/>
  402.                         <p t-if="doc.fiscal_position_id and not is_html_empty(doc.fiscal_position_id.sudo().note)" id="fiscal_position_remark">
  403.                             <strong>Fiscal Position Remark:</strong>
  404.                             <span t-field="doc.fiscal_position_id.sudo().note">No further requirements for this payment</span>
  405.                         </p>
  406.                     </div>
  407.                     <div class="oe_structure"/>
  408.                 </div>
  409.             </t>
  410.        
  411.     </xpath>
  412. </data>
Add Comment
Please, Sign In to add comment