diff options
Diffstat (limited to 'indoteknik_custom/views/promotion_program_line.xml')
| -rw-r--r-- | indoteknik_custom/views/promotion_program_line.xml | 98 |
1 files changed, 0 insertions, 98 deletions
diff --git a/indoteknik_custom/views/promotion_program_line.xml b/indoteknik_custom/views/promotion_program_line.xml deleted file mode 100644 index 5963d0dd..00000000 --- a/indoteknik_custom/views/promotion_program_line.xml +++ /dev/null @@ -1,98 +0,0 @@ -<odoo> - <record id="promotion_program_line_tree" model="ir.ui.view"> - <field name="name">Promotion Program Line Tree</field> - <field name="model">promotion.program.line</field> - <field name="arch" type="xml"> - <tree> - <field name="name" /> - <field name="promotion_type" /> - <field name="limit_qty" /> - <field name="limit_qty_user" /> - <field name="limit_qty_transaction" /> - <field name="line_free_item" /> - <field name="display_on_homepage" /> - </tree> - </field> - </record> - - <record id="promotion_program_line_form" model="ir.ui.view"> - <field name="name">Promotion Program Line Form</field> - <field name="model">promotion.program.line</field> - <field name="arch" type="xml"> - <form> - <sheet> - <group> - <group> - <field name="name" /> - <field name="promotion_type"/> - <field name="product_id" /> - <field name="image" widget="image" height="160" /> - </group> - <group> - <field name="limit_qty" /> - <field name="limit_qty_user" /> - <field name="limit_qty_transaction" /> - <field - name="discount_type" - attrs="{'invisible': [('promotion_type', '!=', 'special_price')]}" - /> - <field - name="discount_amount" - attrs="{'invisible': [('promotion_type', '!=', 'special_price')]}" - /> - <field - name="minimum_purchase_qty" - attrs="{'invisible': [('promotion_type', 'not in', ['discount_loading', 'bundling', 'merchandise'])]}" - /> - <field - name="applies_multiply" - attrs="{'invisible': [('promotion_type', 'not in', ['discount_loading', 'bundling', 'merchandise'])]}" - /> - <field - name="display_on_homepage" - attrs="{'invisible': [('promotion_type', '!=', 'special_price')]}" - /> - </group> - </group> - <notebook> - <page - string="Line Free Item" - name="line_free_items" - 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> - </field> - </record> - - <record id="promotion_program_line_action" model="ir.actions.act_window"> - <field name="name">Promotion Program Line</field> - <field name="type">ir.actions.act_window</field> - <field name="res_model">promotion.program.line</field> - <field name="view_mode">tree,form</field> - </record> - - <menuitem - id="menu_promotion_program_line" - name="Program Line" - parent="indoteknik_custom.menu_promotion_program_parent" - sequence="2" - action="promotion_program_line_action" - /> -</odoo>
\ No newline at end of file |
