diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-06-22 13:43:42 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-06-22 13:43:42 +0700 |
| commit | 329668e82ca9e4ebd2ee93d6670380abf6ed6377 (patch) | |
| tree | 4180e03acdd15f33654a6cf3d5e8f856ac677848 /indoteknik_custom/views/promotion_program_line.xml | |
| parent | 4e9a5a025012afe63133524eeea8987b9af9e050 (diff) | |
Add program line to order line relation, update remaining_qty response on get product promotion api, show order line on program line
Diffstat (limited to 'indoteknik_custom/views/promotion_program_line.xml')
| -rw-r--r-- | indoteknik_custom/views/promotion_program_line.xml | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/indoteknik_custom/views/promotion_program_line.xml b/indoteknik_custom/views/promotion_program_line.xml index e15bb0d7..5963d0dd 100644 --- a/indoteknik_custom/views/promotion_program_line.xml +++ b/indoteknik_custom/views/promotion_program_line.xml @@ -58,10 +58,23 @@ <page string="Line Free Item" name="line_free_items" - attrs="{'invisible': [('promotion_type', '=', 'specific_product')]}" + attrs="{'invisible': [('promotion_type', '=', 'special_price')]}" > <field name="line_free_item" /> </page> + <page + string="Order Line" + name="order_line" + > + <field name="order_line_ids" readonly="1"> + <tree> + <field name="order_id" /> + <field name="name" /> + <field name="product_id" /> + <field name="product_uom_qty" /> + </tree> + </field> + </page> </notebook> </sheet> </form> |
