diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-04-28 16:26:16 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-04-28 16:26:16 +0700 |
| commit | f704fbd43aac910fb5b2023ad2d61eac918acebc (patch) | |
| tree | 2a78ed4af3874965e721b22e323896ba612c9fc7 /indoteknik_custom/views | |
| parent | 5eddde4da5740afa752ce997d5c95b43b4131218 (diff) | |
| parent | 0eba3c4c50ecda45e90ba5e8199afd30fe4a6214 (diff) | |
Merge branch 'release' of bitbucket.org:altafixco/indoteknik-addons into release
Diffstat (limited to 'indoteknik_custom/views')
| -rw-r--r-- | indoteknik_custom/views/product_pricelist.xml | 3 | ||||
| -rw-r--r-- | indoteknik_custom/views/product_product.xml | 16 |
2 files changed, 19 insertions, 0 deletions
diff --git a/indoteknik_custom/views/product_pricelist.xml b/indoteknik_custom/views/product_pricelist.xml index 4cf06e18..0ad9e200 100644 --- a/indoteknik_custom/views/product_pricelist.xml +++ b/indoteknik_custom/views/product_pricelist.xml @@ -17,6 +17,9 @@ <field name="banner_mobile" widget="image" attrs="{ 'invisible': [('is_flash_sale', '=', False)] }" /> + <field name="banner_top" widget="image" attrs="{ + 'invisible': [('is_flash_sale', '=', False)] + }" /> <field name="start_date" attrs="{ 'invisible': [('is_flash_sale', '=', False)], 'required': [('is_flash_sale', '=', True)] diff --git a/indoteknik_custom/views/product_product.xml b/indoteknik_custom/views/product_product.xml new file mode 100644 index 00000000..d3ef3e15 --- /dev/null +++ b/indoteknik_custom/views/product_product.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<odoo> + <data> + <record id="product_product_tree_inherit" model="ir.ui.view"> + <field name="name">Product Product</field> + <field name="model">product.product</field> + <field name="inherit_id" ref="product.product_product_tree_view"/> + <field name="arch" type="xml"> + <field name="qty_available" position="after"> + <field name="outgoing_qty"/> + <field name="incoming_qty"/> + </field> + </field> + </record> + </data> +</odoo>
\ No newline at end of file |
