mirror of
https://github.com/bringout/oca-ocb-sale.git
synced 2026-04-24 17:31:59 +02:00
Initial commit: Sale packages
This commit is contained in:
commit
14e3d26998
6469 changed files with 2479670 additions and 0 deletions
|
|
@ -0,0 +1,45 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<templates>
|
||||
|
||||
<t t-name="product.report_pricelist_qty">
|
||||
<span>
|
||||
<div class="input-group flex-nowrap w-75">
|
||||
<input type="number" name="qty_to_add" class="o_input o_product_qty form-control text-end w-auto" value="1" min="1"/>
|
||||
<button class="btn btn-secondary o_add_qty text-end form-control" type="submit" title="Add a quantity">
|
||||
<i class="fa fa-plus"/>
|
||||
</button>
|
||||
</div>
|
||||
<span class="o_badges">
|
||||
<t t-set="quantities" t-value="widget.quantities"/>
|
||||
<t t-call="product.report_pricelist_qty_badges"/>
|
||||
</span>
|
||||
</span>
|
||||
</t>
|
||||
|
||||
<t t-name="product.report_pricelist_search">
|
||||
<form class="d-flex justify-content-around align-items-center o_pricelist_report_form">
|
||||
<div>
|
||||
<label class="fw-bold">Pricelist:</label>
|
||||
<span class="o_pricelist"/>
|
||||
</div>
|
||||
<div class="d-flex align-items-center">
|
||||
<label class="fw-bold mb-4" for="qty_to_add">Quantities:</label>
|
||||
<div class="o_product_qty"/>
|
||||
</div>
|
||||
<div class="form-check">
|
||||
<input class="form-check-input o_is_visible_title ms-2" type="checkbox"/>
|
||||
<label class="form-check-label">Display Pricelist</label>
|
||||
</div>
|
||||
</form>
|
||||
</t>
|
||||
|
||||
<t t-name="product.report_pricelist_qty_badges">
|
||||
<t t-foreach="quantities" t-as="qty">
|
||||
<span class="badge rounded-pill border" t-att-data-qty="qty">
|
||||
<t t-esc="qty"/>
|
||||
<i class="fa fa-close o_remove_qty" title="Remove quantity"/>
|
||||
</span>
|
||||
</t>
|
||||
</t>
|
||||
|
||||
</templates>
|
||||
Loading…
Add table
Add a link
Reference in a new issue