diff options
| author | IT Fixcomart <it@fixcomart.co.id> | 2023-07-24 08:38:12 +0000 |
|---|---|---|
| committer | IT Fixcomart <it@fixcomart.co.id> | 2023-07-24 08:38:12 +0000 |
| commit | c344ccd81208b5b466ae047dbb9e084dd5d0f358 (patch) | |
| tree | c07caf6a1df48719b828fbe270bb62ccc3e0c947 /indoteknik_custom/views/voucher.xml | |
| parent | 989002aca3ed9b1e724e9b98d8ca3513ba598663 (diff) | |
| parent | 2ad6b4ecf783b5dfe0d4aa11f238cbf6aefd9747 (diff) | |
Merged in production (pull request #66)
Production
Diffstat (limited to 'indoteknik_custom/views/voucher.xml')
| -rwxr-xr-x | indoteknik_custom/views/voucher.xml | 23 |
1 files changed, 15 insertions, 8 deletions
diff --git a/indoteknik_custom/views/voucher.xml b/indoteknik_custom/views/voucher.xml index cd42586e..c6741a8d 100755 --- a/indoteknik_custom/views/voucher.xml +++ b/indoteknik_custom/views/voucher.xml @@ -28,15 +28,7 @@ <group> <field name="image" widget="image" width="120"/> <field name="name" required="1" /> - <field name="description" placeholder="Insert short description..." /> - </group> - <group string="Rules"> - <field name="code" required="1" /> - <field name="visibility" required="1" /> - <field name="start_time" required="1"/> - <field name="end_time" required="1"/> </group> - <group></group> <group string="Discount Settings"> <field name="min_purchase_amount" widget="monetary" required="1" /> <field name="discount_type" required="1" /> @@ -60,12 +52,27 @@ <field name="max_discount_amount" widget="monetary" required="1" attrs="{'invisible': [('discount_type', '!=', 'percentage')]}"/> </group> + <group string="Rules"> + <field name="code" required="1" /> + <field name="visibility" required="1" /> + <field name="start_time" required="1"/> + <field name="end_time" required="1"/> + <field name="limit" required="1"/> + <field name="manufacture_ids" widget="many2many_tags"/> + <field name="excl_pricelist_ids" widget="many2many_tags"/> + </group> </group> <notebook> + <page name="description" string="Description"> + <label for="description" string="Max 120 characters:" class="font-weight-normal mb-2 oe_edit_only"/> + <field name="description" placeholder="Insert short description..." /> + </page> <page name="order_page" string="Orders"> <field name="order_ids" readonly="1"> <tree> <field name="name" /> + <field name="partner_id" /> + <field name="amount_voucher_disc" /> <field name="amount_total" /> </tree> </field> |
