Update of snippets

This commit is contained in:
Kurt Gisler committed 2024-12-21 19:23:35 +01:00
1 parent 3da8600046
commit 5dfbd255ed
3 files changed
+21 -1

No files matched your search

@@ -0,0 +1,8 @@
<?xml version="1.0"?>
<data inherit_id="stock.report_delivery_document" priority="50">
<xpath expr="//span[@t-field='o.name']" position="before">
<t t-if="o.picking_type_id.id == 2">
<span>Delivery slip </span>
</t>
</xpath>
</data>
@@ -0,0 +1,12 @@
<?xml version="1.0"?>
<data inherit_id="stock.report_delivery_document">
<xpath expr="//div/table[1]" position="attributes">
<attribute name="style" separator=";" add="margin-top: 1rem"/>
</xpath>
<xpath expr="//div/table[2]" position="attributes">
<attribute name="style" separator=";" add="margin-top: 1rem"/>
</xpath>
</data>
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<data inherit_id="stock.report_delivery_document" priority="50">
<xpath expr="//div[@class='page']/div[1]" position="replace">
<xpath expr="//div[@class='report-wrapping-flexbox clearfix row mt32 mb32']" position="replace">
<div>
<table style="border-style:none; width:100%">
<tr>