Skip to content

Commit

Permalink
[14.0][IMP] batch_liquidation_report: Remove phone from picking report.
Browse files Browse the repository at this point in the history
  • Loading branch information
Berezi committed Dec 19, 2024
1 parent 9b29a37 commit d6e7072
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 37 deletions.
2 changes: 1 addition & 1 deletion batch_liquidation_report/report/account_move_report.xml
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@
/>
</td>
</tr>
<t>
<t t-if="print_with_payments">
<t t-if="o.payment_state != 'invoicing_legacy'">
<t
t-set="payments_vals"
Expand Down
37 changes: 1 addition & 36 deletions batch_liquidation_report/report/stock_picking_report.xml
Original file line number Diff line number Diff line change
Expand Up @@ -167,45 +167,13 @@
<t t-esc="o.company_id.country_id.vat_label or 'Tax ID'" />:
<span t-field="o.crm_driver_id.vat" />
</div>
<div
t-if="o.crm_driver_id.mobile or o.crm_driver_id.phone"
class="mt16"
>Phone:
<span
t-if="o.crm_driver_id.phone"
t-field="o.crm_driver_id.phone"
/>
<span
t-if="o.crm_driver_id.mobile and o.crm_driver_id.phone"
> / </span>
<span
t-if="o.crm_driver_id.mobile"
t-field="o.crm_driver_id.mobile"
/>
</div>
<div t-if="o.cmr_second_driver_id" class="mt16">Second Driver:
<span t-field="o.cmr_second_driver_id.name" />
</div>
<div t-if="o.cmr_second_driver_id.vat" class="mt16">
<t t-esc="o.company_id.country_id.vat_label or 'Tax ID'" />:
<span t-field="o.cmr_second_driver_id.vat" />
</div>
<div
t-if="o.cmr_second_driver_id.mobile or o.cmr_second_driver_id.phone"
class="mt16"
>Phone:
<span
t-if="o.cmr_second_driver_id.phone"
t-field="o.cmr_second_driver_id.phone"
/>
<span
t-if="o.cmr_second_driver_id.mobile and o.cmr_second_driver_id.phone"
> / </span>
<span
t-if="o.cmr_second_driver_id.mobile"
t-field="o.cmr_second_driver_id.mobile"
/>
</div>
<div t-if="o.cmr_tractor_license_plate" class="mt16">
License Plate Head: <span
t-field="o.cmr_tractor_license_plate"
Expand Down Expand Up @@ -266,10 +234,7 @@
</tr>
</thead>
<tbody>
<tr
t-foreach="move_lines.sorted(key=lambda r: r.move_id.name)"
t-as="line"
>
<tr t-foreach="move_lines" t-as="line">
<td>
<span t-field="line.move_id.name" />
</td>
Expand Down

0 comments on commit d6e7072

Please sign in to comment.