hide =-Values for taxes in dp_reports_sale & dp_reports_account in summary-section
							parent
							
								
									7b8913b665
								
							
						
					
					
						commit
						ab58980d2b
					
				|  | @ -261,13 +261,15 @@ | ||||||
|                                     </td> |                                     </td> | ||||||
|                                 </tr> |                                 </tr> | ||||||
|                                 <tr t-foreach="o.tax_line_ids" t-as="tax_line"> |                                 <tr t-foreach="o.tax_line_ids" t-as="tax_line"> | ||||||
|                                     <td> |                                     <t t-if="tax_line.amount > 0"> | ||||||
|                                         <span t-field="tax_line.tax_id.description"/> |                                         <td> | ||||||
|                                     </td> |                                             <span t-field="tax_line.tax_id.description"/> | ||||||
|                                     <td class="text-right"> |                                         </td> | ||||||
|                                         <span t-field="tax_line.amount" |                                         <td class="text-right"> | ||||||
|                                               t-options='{"widget": "monetary", "display_currency": o.currency_id}'/> |                                             <span t-field="tax_line.amount" | ||||||
|                                     </td> |                                                   t-options='{"widget": "monetary", "display_currency": o.currency_id}'/> | ||||||
|  |                                         </td> | ||||||
|  |                                     </t> | ||||||
|                                 </tr> |                                 </tr> | ||||||
|                                 <tr class="amount-total"> |                                 <tr class="amount-total"> | ||||||
|                                     <td> |                                     <td> | ||||||
|  |  | ||||||
|  | @ -266,29 +266,31 @@ | ||||||
|                                 <t t-set="tax_groups_length" t-value="len(o._get_tax_amount_by_group())"/> |                                 <t t-set="tax_groups_length" t-value="len(o._get_tax_amount_by_group())"/> | ||||||
|                                 <t t-foreach="o._get_tax_amount_by_group()" t-as="amount_by_group"> |                                 <t t-foreach="o._get_tax_amount_by_group()" t-as="amount_by_group"> | ||||||
|                                     <tr style="border-bottom:1px solid #dddddd;"> |                                     <tr style="border-bottom:1px solid #dddddd;"> | ||||||
|                                         <t t-if="amount_by_group[3] == 1 and o.amount_untaxed == amount_by_group[2]"> |                                         <t t-if="amount_by_group[1] > 0"> | ||||||
| <!--                                            <span>Loop 1</span>  --> |                                             <t t-if="amount_by_group[3] == 1 and o.amount_untaxed == amount_by_group[2]"> | ||||||
|                                             <td> |     <!--                                            <span>Loop 1</span>  --> | ||||||
|                                                 <span t-esc="amount_by_group[0]"/> |                                                 <td> | ||||||
|                                             </td> |                                                     <span t-esc="amount_by_group[0]"/> | ||||||
|                                             <td class="text-right"> |                                                 </td> | ||||||
|                                                 <span t-esc="amount_by_group[1]" |                                                 <td class="text-right"> | ||||||
|                                                       t-options='{"widget": "monetary", "display_currency": o.pricelist_id.currency_id}'/> |                                                     <span t-esc="amount_by_group[1]" | ||||||
|                                             </td> |                                                           t-options='{"widget": "monetary", "display_currency": o.pricelist_id.currency_id}'/> | ||||||
|                                         </t> |                                                 </td> | ||||||
|                                         <t t-else=""> |                                             </t> | ||||||
| <!--                                            <span>Loop 2</span> --> |                                             <t t-else=""> | ||||||
|                                             <td> |     <!--                                            <span>Loop 2</span> --> | ||||||
|                                                 <span t-esc="amount_by_group[0]"/> |                                                 <td> | ||||||
|                                                 <span>&nbsp;<span>on</span>&nbsp; |                                                     <span t-esc="amount_by_group[0]"/> | ||||||
|                                                     <t t-esc="amount_by_group[2]" |                                                     <span>&nbsp;<span>on</span>&nbsp; | ||||||
|                                                        t-options='{"widget": "monetary", "display_currency": o.pricelist_id.currency_id}'/> |                                                         <t t-esc="amount_by_group[2]" | ||||||
|                                                 </span> |                                                            t-options='{"widget": "monetary", "display_currency": o.pricelist_id.currency_id}'/> | ||||||
|                                             </td> |                                                     </span> | ||||||
|                                             <td class="text-right"> |                                                 </td> | ||||||
|                                                 <span t-esc="amount_by_group[1]" |                                                 <td class="text-right"> | ||||||
|                                                       t-options='{"widget": "monetary", "display_currency": o.pricelist_id.currency_id}'/> |                                                     <span t-esc="amount_by_group[1]" | ||||||
|                                             </td> |                                                           t-options='{"widget": "monetary", "display_currency": o.pricelist_id.currency_id}'/> | ||||||
|  |                                                 </td> | ||||||
|  |                                             </t> | ||||||
|                                         </t> |                                         </t> | ||||||
|                                     </tr> |                                     </tr> | ||||||
|                                 </t> |                                 </t> | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue