diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 17:21:18 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 17:21:18 +0700 |
| commit | 803e4f8b3cf9c1d6a43a354023edc1e065f4121e (patch) | |
| tree | b462ac26fd679c449f848dc8a2de7fc1b8fe3c5c | |
| parent | 37c91dd605b4ff1acc9941eed549164eb7de2089 (diff) | |
initial commit 2
25 files changed, 831 insertions, 0 deletions
diff --git a/indoteknik_custom/__init__.py b/indoteknik_custom/__init__.py new file mode 100644 index 00000000..9a7e03ed --- /dev/null +++ b/indoteknik_custom/__init__.py @@ -0,0 +1 @@ +from . import models
\ No newline at end of file diff --git a/indoteknik_custom/__manifest__.py b/indoteknik_custom/__manifest__.py new file mode 100644 index 00000000..fb309c56 --- /dev/null +++ b/indoteknik_custom/__manifest__.py @@ -0,0 +1,33 @@ +{ + 'name': 'Custom Indoteknik', + 'version': '1.0', + 'category': '', + 'sequence': 1, + 'summary': 'Custom Indoteknik', + 'description': '', + 'author': 'Rafi Zadanly', + 'website': '', + 'images': ['assets/favicon.ico'], + 'depends': ['base', 'coupon', 'delivery', 'sale', 'sale_management', 'vit_kelurahan'], + 'data': [ + 'security/ir.model.access.csv', + 'views/coupon_program.xml', + 'views/product_public_category.xml', + 'views/product_template.xml', + 'views/vit_kelurahan.xml', + 'views/vit_kecamatan.xml', + 'views/vit_kota.xml', + 'views/x_banner_banner.xml', + 'views/x_banner_category.xml', + 'views/x_biaya_kirim.xml', + 'views/x_manufactures.xml', + 'views/x_partner_purchase_order.xml', + 'views/x_product_tags.xml', + ], + 'demo': [], + 'css': [], + 'installable': True, + 'application': True, + 'auto_install': False, + 'license': '', +} diff --git a/indoteknik_custom/models/__init__.py b/indoteknik_custom/models/__init__.py new file mode 100644 index 00000000..2679aa23 --- /dev/null +++ b/indoteknik_custom/models/__init__.py @@ -0,0 +1,9 @@ +from . import x_banner_banner +from . import x_banner_category +from . import x_biaya_kirim +from . import x_manufactures +from . import coupon_program +from . import product_public_category +from . import product_template +from . import x_partner_purchase_order +from . import x_product_tags diff --git a/indoteknik_custom/models/coupon_program.py b/indoteknik_custom/models/coupon_program.py new file mode 100644 index 00000000..4c839c9f --- /dev/null +++ b/indoteknik_custom/models/coupon_program.py @@ -0,0 +1,20 @@ +from odoo import fields, models + + +class CouponProgram(models.Model): + _inherit = "coupon.program" + + x_studio_banner_promo = fields.Binary(string="Banner Promo") + x_studio_field_2Ul77 = fields.Binary(string="Icon Program Promo 2") + x_studio_field_Ifopn = fields.Binary(string="Icon Program Promo") + x_studio_field_xaRIr = fields.One2many( + comodel_name="x_banner.banner", + inverse_name="x_studio_field_7ppSi", + string="New One2many" + ) + x_studio_field_xo3cl = fields.One2many( + comodel_name="x_banner.banner", + inverse_name="x_studio_field_7ppSi", + string="Relasi Banner" + ) + x_studio_image_promo = fields.Binary(string="Image Promo") diff --git a/indoteknik_custom/models/product_public_category.py b/indoteknik_custom/models/product_public_category.py new file mode 100644 index 00000000..bb661772 --- /dev/null +++ b/indoteknik_custom/models/product_public_category.py @@ -0,0 +1,11 @@ +from odoo import fields, models + +class ProductPublicCategory(models.Model): + _inherit = "product.public.category" + + x_studio_field_4qhoN = fields.Boolean(string="Tampil di Index") + # x_studio_field_5RdHI = fields.Many2many("product.template", string="Product Template") + x_studio_field_7bVEO = fields.Many2many("x_banner.banner", string="Banner Index") + x_studio_field_BfNp2 = fields.Char(string="Nama Alias") + x_studio_field_d1HS4 = fields.Char(string="Name 2") + x_studio_field_f54P2 = fields.Char(string="Name 3") diff --git a/indoteknik_custom/models/product_template.py b/indoteknik_custom/models/product_template.py new file mode 100644 index 00000000..b2816d3f --- /dev/null +++ b/indoteknik_custom/models/product_template.py @@ -0,0 +1,19 @@ +from odoo import fields, models + + +class ProductTemplate(models.Model): + _inherit = "product.template" + + x_studio_field_tGhJR = fields.Many2many('x_product_tags', string="Product Tags") + x_manufacture = fields.Many2one( + comodel_name="x_manufactures", + string="Manufactures" + ) + x_model_product = fields.Char(string="Model Produk") + x_product_manufacture = fields.Many2one( + comodel_name="x_manufactures", + string="Manufacture" + ) + x_lazada = fields.Text(string="Lazada") + x_tokopedia = fields.Text(string="Tokopedia") + diff --git a/indoteknik_custom/models/x_banner_banner.py b/indoteknik_custom/models/x_banner_banner.py new file mode 100644 index 00000000..a402789a --- /dev/null +++ b/indoteknik_custom/models/x_banner_banner.py @@ -0,0 +1,20 @@ +from odoo import fields, models + + +class XBannerBanner(models.Model): + _name = "x_banner.banner" + _description = "Banner" + _rec_name = "x_name" + + x_name = fields.Char(string="Name") + x_url_banner = fields.Char(string="URL Banner") + x_banner_image = fields.Binary(string="Image") + x_banner_category = fields.Many2one('x_banner.category', string="Banner Category") + # x_banner_tags = fields.Many2many('blog.tag', string="Banner Tags") + x_relasi_manufacture = fields.Many2one('x_manufactures', string="Relasi Merek") + x_sequence_banner = fields.Integer(string="Sequence") + x_status_banner = fields.Selection([ + ('tayang', 'Tayang'), + ('tidak_tayang', 'Tidak Tayang') + ], string="Status") + x_studio_field_7ppSi = fields.Many2one('coupon.program', string="Coupon Program")
\ No newline at end of file diff --git a/indoteknik_custom/models/x_banner_category.py b/indoteknik_custom/models/x_banner_category.py new file mode 100644 index 00000000..7c91bd78 --- /dev/null +++ b/indoteknik_custom/models/x_banner_category.py @@ -0,0 +1,11 @@ +from odoo import fields, models + + +class XBannerCategory(models.Model): + _name = "x_banner.category" + _description = "Banner Category" + _rec_name = "x_name" + + x_name = fields.Char(string="Name") + x_banner_subtitle = fields.Char(string="Sub Title") + x_studio_field_KKVl4 = fields.Char(string="URL") diff --git a/indoteknik_custom/models/x_biaya_kirim.py b/indoteknik_custom/models/x_biaya_kirim.py new file mode 100644 index 00000000..2869d5f3 --- /dev/null +++ b/indoteknik_custom/models/x_biaya_kirim.py @@ -0,0 +1,15 @@ +from odoo import models, fields + + +class XBiayaKirim(models.Model): + _name = "x_biaya_kirim" + _description = "Biaya Kirim" + _rec_name = "x_name" + + x_name = fields.Char(string="Name") + x_studio_field_8GRtX = fields.Integer(string="Biaya Kirim") + x_studio_field_BSNiA = fields.Boolean(string="Gratis Ongkir?") + x_studio_field_CxtaQ = fields.Boolean(string="Minimum KG") + x_studio_field_KKYEj = fields.Many2one('vit.kecamatan', string="Kecamatan") + x_studio_field_Ww89j = fields.Many2one("delivery.carrier", string="Carrier") + x_studio_field_XusU9 = fields.Char(string="Estimasi Kirim") diff --git a/indoteknik_custom/models/x_manufactures.py b/indoteknik_custom/models/x_manufactures.py new file mode 100644 index 00000000..8aff7f26 --- /dev/null +++ b/indoteknik_custom/models/x_manufactures.py @@ -0,0 +1,34 @@ +from odoo import models, fields + + +class XManufactures(models.Model): + _name = 'x_manufactures' + _description = "Manufactures" + _rec_name = "x_name" + + x_name = fields.Char(string="Name") + x_description = fields.Html(string="Description") + x_logo_manufacture = fields.Binary(string="Logo Manufacture") + x_manufacture_level = fields.Selection([ + ('prioritas', 'Prioritas'), + ('gold', 'Gold'), + ('silver', 'Silver') + ], string="Manufacture Level") + x_manufacture_product = fields.One2many( + comodel_name="product.template", + inverse_name="x_manufacture", + string="Relasi Produk" + ) + x_manufacture_service_center = fields.Many2many("res.partner", string="Service Center") + x_manufactures_banners = fields.One2many( + comodel_name="x_banner.banner", + inverse_name="x_relasi_manufacture", + string="Relasi Manufacture Banner" + ) + x_negara_asal = fields.Char(string="Negara Asal") + x_produk_aksesoris_sparepart = fields.Selection([ + ('produk', 'Produk'), + ('aksesoris', 'Aksesoris'), + ('sparepart', 'Spare Part') + ], string="Jenis Produk") + x_short_desc = fields.Text(string="Short Description") diff --git a/indoteknik_custom/models/x_partner_purchase_order.py b/indoteknik_custom/models/x_partner_purchase_order.py new file mode 100644 index 00000000..6beca5df --- /dev/null +++ b/indoteknik_custom/models/x_partner_purchase_order.py @@ -0,0 +1,13 @@ +from odoo import models, fields + + +class XPartnerPurchaseOrder(models.Model): + _name = "x_partner.purchase.order" + _description = "Customer Purchase Order" + _rec_name = "x_name" + + x_name = fields.Char(string="Nomor PO/Name") + x_studio_field_56vPy = fields.Text(string="Keterangan") + x_studio_field_EcZlH = fields.Integer(string="Partner ID") + x_studio_field_eFt2C = fields.Binary(string="Upload PO") + x_studio_field_yDfr5 = fields.Many2one('sale.order', string="Sales Order") diff --git a/indoteknik_custom/models/x_product_tags.py b/indoteknik_custom/models/x_product_tags.py new file mode 100644 index 00000000..dac7ffe1 --- /dev/null +++ b/indoteknik_custom/models/x_product_tags.py @@ -0,0 +1,9 @@ +from odoo import fields, models + + +class XProductTags(models.Model): + _name = "x_product_tags" + _description = "Product Tags" + _rec_name = "x_name" + + x_name = fields.Char(string="Name") diff --git a/indoteknik_custom/security/ir.model.access.csv b/indoteknik_custom/security/ir.model.access.csv new file mode 100644 index 00000000..e5a8b39e --- /dev/null +++ b/indoteknik_custom/security/ir.model.access.csv @@ -0,0 +1,7 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_x_banner_category,access.x.banner.category,model_x_banner_category,,1,1,1,1 +access_x_banner_banner,access.x.banner.banner,model_x_banner_banner,,1,1,1,1 +access_x_biaya_kirim,access.x.biaya.kirim,model_x_biaya_kirim,,1,1,1,1 +access_x_manufactures,access.x.manufactures,model_x_manufactures,,1,1,1,1 +access_x_partner_purchase_order,access.x.partner.purchase.order,model_x_partner_purchase_order,,1,1,1,1 +access_x_product_tags,access.x.product.tags,model_x_product_tags,,1,1,1,1
\ No newline at end of file diff --git a/indoteknik_custom/views/coupon_program.xml b/indoteknik_custom/views/coupon_program.xml new file mode 100644 index 00000000..e4ad0bd8 --- /dev/null +++ b/indoteknik_custom/views/coupon_program.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<odoo> + <record id="coupon_program_form_view_inherit" model="ir.ui.view"> + <field name="name">coupon.program.inherited</field> + <field name="model">coupon.program</field> + <field name="inherit_id" ref="coupon.coupon_program_view_promo_program_form"/> + <field name="arch" type="xml"> + <xpath expr="//form[1]/sheet[1]/div[1]" position="inside"> + <button name="toggle_active" type="object" class="oe_stat_button" icon="fa-archive" modifiers="{}" options="{}"> + <field name="active" widget="boolean_button" options="{'terminology': 'close'}" modifiers="{}"/> + </button> + </xpath> + <xpath expr="//field[@name='rule_date_to']" position="after"> + <field name="x_studio_field_Ifopn" width="80" widget="image"/> + <field name="x_studio_field_2Ul77" width="80" widget="image"/> + <field name="x_studio_image_promo" width="80" widget="image"/> + <field name="x_studio_banner_promo" width="80" widget="image"/> + </xpath> + <xpath expr="//form[1]/sheet[1]" position="inside"> + <field name="x_studio_field_xo3cl" string="Relasi Banner"/> + </xpath> + </field> + </record> +</odoo>
\ No newline at end of file diff --git a/indoteknik_custom/views/product_public_category.xml b/indoteknik_custom/views/product_public_category.xml new file mode 100644 index 00000000..858d7ada --- /dev/null +++ b/indoteknik_custom/views/product_public_category.xml @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<odoo> + <record id="product_public_category_form_view_inherit" model="ir.ui.view"> + <field name="name">product.public.category.inherited</field> + <field name="model">product.public.category</field> + <field name="inherit_id" ref="website_sale.product_public_category_form_view"/> + <field name="arch" type="xml"> + <xpath expr="//field[@name='name']" position="after"> + <field name="x_studio_field_d1HS4"/> + <field name="x_studio_field_f54P2"/> + <field name="x_studio_field_BfNp2"/> + <field name="website_id"/> + </xpath> + <xpath expr="//field[@name='sequence']" position="after"> +<!-- <field name="display_name"/>--> + <field name="website_meta_title"/> + <field name="website_meta_keywords"/> + <field name="website_meta_description"/> +<!-- <field name="image_1024" string="Image Small" widget="image"/>--> + <field name="x_studio_field_4qhoN"/> + </xpath> + <xpath expr="//form[1]/sheet[1]/div[1]/group[1]" position="after"> + <notebook> + <page string="Banner Index" name="banners"> + <field name="x_studio_field_7bVEO"/> + </page> + <page string="Produk Template" name="product_templates"> + <field name="product_tmpl_ids"/> + </page> + </notebook> + </xpath> + </field> + </record> +</odoo>
\ No newline at end of file diff --git a/indoteknik_custom/views/product_template.xml b/indoteknik_custom/views/product_template.xml new file mode 100644 index 00000000..78aac34a --- /dev/null +++ b/indoteknik_custom/views/product_template.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<odoo> + <data> + <record id="product_template_form_view_inherit" model="ir.ui.view"> + <field name="name">Product Template</field> + <field name="model">product.template</field> + <field name="inherit_id" ref="product.product_template_form_view"/> + <field name="arch" type="xml"> + <field name="categ_id" position="after"> + <field name="x_manufacture"/> + <field name="x_model_product"/> + <field name="x_studio_field_tGhJR" widget="many2many_tags"/> + </field> + <page name="inventory" position="after"> + <page string="Marketplace" name="marketplace"> + <group> + <group> + <field name="x_lazada"/> + </group> + <group> + <field name="x_tokopedia"/> + </group> + </group> + </page> + </page> + </field> + </record> + + <record id="x_manufactures_group_by" model="ir.ui.view"> + <field name="name">product.template.search.inherit</field> + <field name="model">product.template</field> + <field name="inherit_id" ref="product.product_template_search_view"/> + <field name="arch" type="xml"> + <xpath expr="//search" position="inside"> + <filter string="Manufacture" name="Manufacture" context="{'group_by':'x_manufacture'}"/> + </xpath> + </field> + </record> + </data> +</odoo>
\ No newline at end of file diff --git a/indoteknik_custom/views/vit_kecamatan.xml b/indoteknik_custom/views/vit_kecamatan.xml new file mode 100644 index 00000000..09ae6920 --- /dev/null +++ b/indoteknik_custom/views/vit_kecamatan.xml @@ -0,0 +1,56 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<odoo> + <record id="vit_kecamatan_tree" model="ir.ui.view"> + <field name="name">vit.kecamatan.tree</field> + <field name="model">vit.kecamatan</field> + <field name="arch" type="xml"> + <tree> + <field name="id"/> + <field name="name"/> + <field name="kota_id"/> + </tree> + </field> + </record> + + <record id="vit_kecamatan_form" model="ir.ui.view"> + <field name="name">vit.kecamatan.form</field> + <field name="model">vit.kecamatan</field> + <field name="arch" type="xml"> + <form> + <sheet> + <div class="oe_title"> + <h1> + <field name="name" required="1"/> + </h1> + </div> + <group> + <group> + <field name="kota_id"/> + </group> + <group/> + </group> + </sheet> + </form> + </field> + </record> + + <record id="vit_kecamatan_action" model="ir.actions.act_window"> + <field name="name">Kecamatan</field> + <field name="type">ir.actions.act_window</field> + <field name="res_model">vit.kecamatan</field> + <field name="view_mode">tree,form</field> + <field name="help" type="html"> + <p class="o_view_nocontent_smiling_face"> + Add Kecamatan! + </p> + </field> + </record> + + <menuitem + id="vit_kecamatan_menu" + name="Kecamatan" + parent="contacts.res_partner_menu_config" + sequence="4" + action="vit_kecamatan_action" + /> +</odoo>
\ No newline at end of file diff --git a/indoteknik_custom/views/vit_kelurahan.xml b/indoteknik_custom/views/vit_kelurahan.xml new file mode 100644 index 00000000..afbf84e0 --- /dev/null +++ b/indoteknik_custom/views/vit_kelurahan.xml @@ -0,0 +1,58 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<odoo> + <record id="vit_kelurahan_tree" model="ir.ui.view"> + <field name="name">vit.kelurahan.tree</field> + <field name="model">vit.kelurahan</field> + <field name="arch" type="xml"> + <tree> + <field name="id"/> + <field name="name"/> + <field name="kecamatan_id"/> + <field name="zip"/> + </tree> + </field> + </record> + + <record id="vit_kelurahan_form" model="ir.ui.view"> + <field name="name">vit.kelurahan.form</field> + <field name="model">vit.kelurahan</field> + <field name="arch" type="xml"> + <form> + <sheet> + <div class="oe_title"> + <h1> + <field name="name" required="1"/> + </h1> + </div> + <group> + <group> + <field name="kecamatan_id"/> + <field name="zip"/> + </group> + <group/> + </group> + </sheet> + </form> + </field> + </record> + + <record id="vit_kelurahan_action" model="ir.actions.act_window"> + <field name="name">Kelurahan</field> + <field name="type">ir.actions.act_window</field> + <field name="res_model">vit.kelurahan</field> + <field name="view_mode">tree,form</field> + <field name="help" type="html"> + <p class="o_view_nocontent_smiling_face"> + Add Kelurahan! + </p> + </field> + </record> + + <menuitem + id="vit_kelurahan_menu" + name="Kelurahan" + parent="contacts.res_partner_menu_config" + sequence="4" + action="vit_kelurahan_action" + /> +</odoo>
\ No newline at end of file diff --git a/indoteknik_custom/views/vit_kota.xml b/indoteknik_custom/views/vit_kota.xml new file mode 100644 index 00000000..97c7e66c --- /dev/null +++ b/indoteknik_custom/views/vit_kota.xml @@ -0,0 +1,58 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<odoo> + <record id="vit_kota_tree" model="ir.ui.view"> + <field name="name">vit.kota.tree</field> + <field name="model">vit.kota</field> + <field name="arch" type="xml"> + <tree> + <field name="id"/> + <field name="name"/> + <field name="jenis"/> + <field name="state_id"/> + </tree> + </field> + </record> + + <record id="vit_kota_form" model="ir.ui.view"> + <field name="name">vit.kota.form</field> + <field name="model">vit.kota</field> + <field name="arch" type="xml"> + <form> + <sheet> + <div class="oe_title"> + <h1> + <field name="name" required="1"/> + </h1> + </div> + <group> + <group> + <field name="jenis"/> + <field name="state_id"/> + </group> + <group/> + </group> + </sheet> + </form> + </field> + </record> + + <record id="vit_kota_action" model="ir.actions.act_window"> + <field name="name">Kota</field> + <field name="type">ir.actions.act_window</field> + <field name="res_model">vit.kota</field> + <field name="view_mode">tree,form</field> + <field name="help" type="html"> + <p class="o_view_nocontent_smiling_face"> + Add Kota! + </p> + </field> + </record> + + <menuitem + id="vit_kota_menu" + name="Kota" + parent="contacts.res_partner_menu_config" + sequence="4" + action="vit_kota_action" + /> +</odoo>
\ No newline at end of file diff --git a/indoteknik_custom/views/x_banner_banner.xml b/indoteknik_custom/views/x_banner_banner.xml new file mode 100644 index 00000000..f48b20c4 --- /dev/null +++ b/indoteknik_custom/views/x_banner_banner.xml @@ -0,0 +1,62 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<odoo> + <record id="x_banner_banner_tree" model="ir.ui.view"> + <field name="name">x_banner.banner.tree</field> + <field name="model">x_banner.banner</field> + <field name="arch" type="xml"> + <tree> + <field name="id"/> + <field name="x_name"/> + <field name="x_banner_category"/> + <field name="x_relasi_manufacture"/> + <field name="x_studio_field_7ppSi"/> + <field name="x_url_banner"/> + <field name="x_status_banner"/> + </tree> + </field> + </record> + + <record id="banner_form" model="ir.ui.view"> + <field name="name">x_banner.banner.form</field> + <field name="model">x_banner.banner</field> + <field name="arch" type="xml"> + <form> + <sheet> + <group> + <group> + <field name="x_name"/> + <field name="x_banner_category"/> + <field name="x_relasi_manufacture"/> + <field name="x_url_banner"/> + <field name="x_status_banner"/> + <field name="x_studio_field_7ppSi"/> + </group> + <group> + <field name="x_banner_image" widget="image"/> + </group> + </group> + </sheet> + </form> + </field> + </record> + + <record id="banner_action" model="ir.actions.act_window"> + <field name="name">Banner</field> + <field name="type">ir.actions.act_window</field> + <field name="res_model">x_banner.banner</field> + <field name="view_mode">tree,form</field> + <field name="help" type="html"> + <p class="o_view_nocontent_smiling_face"> + Add Banner! + </p> + </field> + </record> + + <menuitem + id="menu_x_banner_banner" + name="Banner" + parent="sale.product_menu_catalog" + sequence="4" + action="banner_action" + /> +</odoo>
\ No newline at end of file diff --git a/indoteknik_custom/views/x_banner_category.xml b/indoteknik_custom/views/x_banner_category.xml new file mode 100644 index 00000000..0c2e053d --- /dev/null +++ b/indoteknik_custom/views/x_banner_category.xml @@ -0,0 +1,54 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<odoo> + <record id="banner_category_tree" model="ir.ui.view"> + <field name="name">x.banner.category.tree</field> + <field name="model">x_banner.category</field> + <field name="arch" type="xml"> + <tree> + <field name="id"/> + <field name="x_name"/> + <field name="x_banner_subtitle"/> + <field name="x_studio_field_KKVl4"/> + </tree> + </field> + </record> + + <record id="banner_category_form" model="ir.ui.view"> + <field name="name">x.banner.category.form</field> + <field name="model">x_banner.category</field> + <field name="arch" type="xml"> + <form> + <sheet> + <group> + <group> + <field name="x_name"/> + <field name="x_banner_subtitle"/> + <field name="x_studio_field_KKVl4"/> + </group> + <group></group> + </group> + </sheet> + </form> + </field> + </record> + + <record id="banner_category_action" model="ir.actions.act_window"> + <field name="name">Banner Category</field> + <field name="type">ir.actions.act_window</field> + <field name="res_model">x_banner.category</field> + <field name="view_mode">tree,form</field> + <field name="help" type="html"> + <p class="o_view_nocontent_smiling_face"> + Add Banner Category! + </p> + </field> + </record> + + <menuitem + id="menu_banner_category" + name="Banner Category" + parent="sale.product_menu_catalog" + sequence="4" + action="banner_category_action" + /> +</odoo>
\ No newline at end of file diff --git a/indoteknik_custom/views/x_biaya_kirim.xml b/indoteknik_custom/views/x_biaya_kirim.xml new file mode 100644 index 00000000..13393573 --- /dev/null +++ b/indoteknik_custom/views/x_biaya_kirim.xml @@ -0,0 +1,64 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<odoo> + <record id="x_biaya_kirim_tree" model="ir.ui.view"> + <field name="name">x.biaya.kirim.tree</field> + <field name="model">x_biaya_kirim</field> + <field name="arch" type="xml"> + <tree> + <field name="id"/> + <field name="x_name"/> + <field name="x_studio_field_Ww89j"/> + <field name="x_studio_field_KKYEj"/> + <field name="x_studio_field_8GRtX"/> + <field name="x_studio_field_XusU9"/> + </tree> + </field> + </record> + + <record id="x_biaya_kirim_form" model="ir.ui.view"> + <field name="name">x.biaya.kirim.form</field> + <field name="model">x_biaya_kirim</field> + <field name="arch" type="xml"> + <form> + <sheet> + <div class="oe_title"> + <h1> + <field name="x_name" required="1"/> + </h1> + </div> + <group> + <group> + <field name="x_studio_field_Ww89j"/> + <field name="x_studio_field_KKYEj"/> + <field name="x_studio_field_8GRtX"/> + <field name="x_studio_field_XusU9"/> + <field name="x_studio_field_BSNiA"/> + <field name="x_studio_field_CxtaQ"/> + </group> + <group/> + </group> + </sheet> + </form> + </field> + </record> + + <record id="x_biaya_kirim_action" model="ir.actions.act_window"> + <field name="name">Biaya Kirim</field> + <field name="type">ir.actions.act_window</field> + <field name="res_model">x_biaya_kirim</field> + <field name="view_mode">tree,form</field> + <field name="help" type="html"> + <p class="o_view_nocontent_smiling_face"> + Add Biaya Kirim! + </p> + </field> + </record> + + <menuitem + id="x_biaya_kirim_menu" + name="Biaya Kirim" + parent="sale.menu_sales_config" + sequence="4" + action="x_biaya_kirim_action" + /> +</odoo>
\ No newline at end of file diff --git a/indoteknik_custom/views/x_manufactures.xml b/indoteknik_custom/views/x_manufactures.xml new file mode 100644 index 00000000..afecea9b --- /dev/null +++ b/indoteknik_custom/views/x_manufactures.xml @@ -0,0 +1,73 @@ +<odoo> + <data> + <record id="x_manufactures_action" model="ir.actions.act_window"> + <field name="name">Manufacture</field> + <field name="res_model">x_manufactures</field> + <field name="view_mode">tree,form</field> + <field name="help" type="html"> + <p class="o_view_nocontent_smiling_face"> + Add Manufactures! + </p> + </field> + </record> + + <record id="x_manufactures_tree" model="ir.ui.view"> + <field name="name">Manufactures</field> + <field name="model">x_manufactures</field> + <field name="arch" type="xml"> + <tree> + <field name="id"/> + <field name="x_name"/> + <field name="x_negara_asal"/> + <field name="x_short_desc"/> + <field name="x_manufacture_level"/> + <field name="x_manufacture_service_center"/> + </tree> + </field> + </record> + + <record id="x_manufactures_form" model="ir.ui.view"> + <field name="name">Manufactures</field> + <field name="model">x_manufactures</field> + <field name="arch" type="xml"> + <form> + <sheet string="Manufactures" modifiers="{}"> + <div class="oe_button_box" name="button_box"/> + <group> + <group> + <field name="x_name"/> + <field name="x_negara_asal"/> + <field name="x_short_desc"/> + <field name="x_manufacture_level"/> + <field name="x_produk_aksesoris_sparepart"/> + </group> + <group> + <field name="x_logo_manufacture" widget="image"/> + </group> + </group> + <notebook> + <page string="Description"> + <field name="x_description"/> + </page> + <page string="Relasi Produk"> + <field name="x_manufacture_product"/> + </page> + <page string="Relasi Banner"> + <field name="x_manufactures_banners"/> + </page> + <page string="Relasi Service Center"> + <field name="x_manufacture_service_center"/> + </page> + </notebook> + </sheet> + </form> + </field> + </record> + + <menuitem id="x_manufactures_sale" + name="Manufactures" + parent="sale.product_menu_catalog" + sequence="3" + action="x_manufactures_action"/> + </data> +</odoo>
\ No newline at end of file diff --git a/indoteknik_custom/views/x_partner_purchase_order.xml b/indoteknik_custom/views/x_partner_purchase_order.xml new file mode 100644 index 00000000..4b858726 --- /dev/null +++ b/indoteknik_custom/views/x_partner_purchase_order.xml @@ -0,0 +1,56 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<odoo> + <record id="x_partner_purchase_order_tree" model="ir.ui.view"> + <field name="name">x.partner.purchase.order.tree</field> + <field name="model">x_partner.purchase.order</field> + <field name="arch" type="xml"> + <tree> + <field name="id"/> + <field name="x_studio_field_yDfr5"/> + <field name="x_name"/> + <field name="x_studio_field_56vPy"/> + <field name="create_date"/> + </tree> + </field> + </record> + + <record id="x_partner_purchase_order_form" model="ir.ui.view"> + <field name="name">x.partner.purchase.order.form</field> + <field name="model">x_partner.purchase.order</field> + <field name="arch" type="xml"> + <form> + <sheet> + <group> + <group> + <field name="x_studio_field_yDfr5"/> + <field name="x_name"/> + <field name="x_studio_field_eFt2C"/> + <field name="x_studio_field_56vPy"/> + <field name="x_studio_field_EcZlH"/> + </group> + </group> + </sheet> + </form> + </field> + </record> + + <record id="x_partner_purchase_order_action" model="ir.actions.act_window"> + <field name="name">Customer PO</field> + <field name="type">ir.actions.act_window</field> + <field name="res_model">x_partner.purchase.order</field> + <field name="view_mode">tree,form</field> + <field name="help" type="html"> + <p class="o_view_nocontent_smiling_face"> + Add Customer PO! + </p> + </field> + </record> + + <menuitem + id="menu_x_partner_purchase_order" + name="Customer PO" + parent="sale.product_menu_catalog" + sequence="5" + action="x_partner_purchase_order_action" + /> +</odoo>
\ No newline at end of file diff --git a/indoteknik_custom/views/x_product_tags.xml b/indoteknik_custom/views/x_product_tags.xml new file mode 100644 index 00000000..54378aee --- /dev/null +++ b/indoteknik_custom/views/x_product_tags.xml @@ -0,0 +1,50 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<odoo> + <record id="product_tags_tree" model="ir.ui.view"> + <field name="name">x.product.tags.tree</field> + <field name="model">x_product_tags</field> + <field name="arch" type="xml"> + <tree> + <field name="id"/> + <field name="x_name"/> + </tree> + </field> + </record> + + <record id="product_tags_form" model="ir.ui.view"> + <field name="name">x.product.tags.form</field> + <field name="model">x_product_tags</field> + <field name="arch" type="xml"> + <form> + <sheet> + <group> + <group> + <field name="x_name"/> + </group> + <group></group> + </group> + </sheet> + </form> + </field> + </record> + + <record id="product_tags_action" model="ir.actions.act_window"> + <field name="name">Product Tags</field> + <field name="type">ir.actions.act_window</field> + <field name="res_model">x_product_tags</field> + <field name="view_mode">tree,form</field> + <field name="help" type="html"> + <p class="o_view_nocontent_smiling_face"> + Add Product Tags! + </p> + </field> + </record> + + <menuitem + id="menu_product_tags" + name="Product Tags" + parent="sale.product_menu_catalog" + sequence="2" + action="product_tags_action" + /> +</odoo>
\ No newline at end of file |
