Skip to content

Commit

Permalink
Merge pull request #80 from milleniumkid/16.0-ref-delivery_integratio…
Browse files Browse the repository at this point in the history
…n_base

[REF] v12 view fields
  • Loading branch information
yibudak authored Mar 6, 2025
2 parents b173f05 + da95e5d commit c3c24cd
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions delivery_integration_base/views/sale_order_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<field name="inherit_id" ref="sale.view_order_form" />
<field name="arch" type="xml">
<button name="action_confirm" position="before">
<!-- <button
<button
name="action_sale_get_rates_wizard"
type="object"
Help="Get delivery rates for this order"
Expand All @@ -17,12 +17,12 @@
('carrier_payment_type', '=', 'customer_pays'),
('state','in', ['done', 'cancel', 'sale'])
]}"
/> -->
/>
</button>
<!-- <xpath expr="//button[@name='get_delivery_price']" position="replace">
<xpath expr="//field[@name='commitment_date']" position="after">
<field name="carrier_payment_type" invisible="1" />
</xpath>
<xpath expr="//field[@name='delivery_price']" position="after">
<xpath expr="//field[@name='currency_id']" position="after">
<field name="currency_id_try" invisible="1" />

<field
Expand All @@ -34,21 +34,21 @@
attrs="{'invisible': ['|', ('currency_id', '=', 'currency_id_try'), ('carrier_id','=', False)]}"
/>

</xpath> -->
<!-- <xpath expr="//button[@name='set_delivery_line']" position="replace">
</xpath>
<xpath expr="//field[@name='partner_shipping_id']" position="after">
<span attrs="{'invisible': [('sale_deci', '&lt;=', 0.001)]}">
<span class="ml-3">Deci:</span>
<field name="sale_deci" readonly="1" />
</span>
</xpath> -->
</xpath>

<!-- <xpath expr="//label[@for='analytic_tag_ids']" position="before">
<xpath expr="//field[@name='price_unit']" position="after">
<label for="deci" />
<div>
<field name="deci" class="oe_inline" />
Deci
</div>
</xpath> -->
</xpath>
</field>
</record>

Expand Down

0 comments on commit c3c24cd

Please sign in to comment.