تخطي للذهاب إلى المحتوى
أودو القائمة
  • تسجيل الدخول
  • جرب مجاناً
  • التطبيقات
    المالية
    • المحاسبة
    • فوترة
    • النفقات
    • جدول البيانات (BI)
    • المستندات
    • توقيع إلكتروني
    المبيعات
    • إدارة علاقات العملاء
    • المبيعات
    • نقطة البيع للمتاجر
    • نقطة البيع للمطاعم
    • الاشتراكات
    • تأجير
    المواقع الإلكترونية
    • أداة بناء المواقع الإلكترونية
    • متاجر إلكترونية
    • مدونة
    • المنتدى
    • دردشة مباشرة
    • التعليم الإلكتروني
    سلسلة التوريد
    • المستودعات
    • التصنيع
    • إدارة دورة حياة المنتج
    • المشتريات
    • الصيانة
    • الجودة
    الموارد البشرية
    • موظفون
    • التوظيف
    • إجازة عمل
    • التقييمات
    • الإحالات
    • تطبيق الأسطول
    التسويق
    • التسويق الإجتماعي
    • التسويق عبر البريد الإلكتروني
    • التسويق عبر الرسائل النصية
    • فعاليات
    • أتمتة التسويق
    • الاستطلاعات
    الخدمات
    • المشاريع
    • الجداول الزمنية
    • الخدمة الميدانية
    • مكتب المساعدة
    • التخطيط
    • مواعيد
    اﻹنتاجية
    • مناقشة
    • الموافقات
    • إنترنت الأشياء "IoT"
    • بروتوكول ربط المحادثات الصوتية عبر الإنترنت
    • المعرفة
    • WhatsApp
    التطبيقات الخارجية ستوديو أودو منصة أودو السحابية
  • قطاعات الأعمال
    البيع بالتجزئة
    • متجر كتب
    • متجر ملابس
    • متجر أثاث
    • متجر بقالة
    • متجر معدات
    • متجر ألعاب
    الطعام والضيافة
    • بار وحانة
    • المطعم
    • مطعم للوجبات السريعة
    • نزل للضيوف
    • موزّع مشروبات
    • فندق
    العقارات
    • وكالة عقارات
    • شركة هندسة معمارية
    • البناء
    • إدارة العقارات
    • العناية بالحدائق
    • اتحاد مُلاّك العقارات
    استشارة
    • مؤسسة محاسبية
    • شريك أودو
    • وكالة تسويقية
    • منشأة قانونية
    • استقطاب المواهب
    • التدقيق والتوثيق
    التصنيع
    • الأقمشة
    • معدني
    • الأثاث
    • الطعام
    • مصنع خمور
    • هدايا الشركات
    الصحة واللياقة البدنية
    • نادي رياضي
    • متجر نظارات
    • مركز لياقة بدنية
    • الممارسون الصحيون
    • صيدلية
    • صالون تصفيف الشعر
    التجارة
    • عامل صيانة
    • الأجهزة والمعدات التقنية ودعمها
    • أنظمة الطاقة الشمسية
    • صانع أحذية
    • خدمات التنظيف
    • خدمات التكييف (HVAC)
    غير ذلك
    • منظمة غير ربحية
    • وكالة بيئية
    • تأجير لوحات إعلانية
    • تصوير
    • تأجير دراجات
    • بائع وسيط للبرمجيات
    تصفح كافة قطاعات الأعمال
  • مجتمع أودو
    تعلم
    • دروس
    • التوثيق
    • شهادات
    • التدريب
    • مدونة
    • بودكاست
    قم بتعزيز التعليم
    • برنامج تعليم
    • Scale UP! لعبة الأعمال
    • قم بزيارة أودو
    احصل على البرنامج
    • تحميل
    • قارنْ الإصدارات
    • إطلاق
    تعاون
    • جيت هاب "Github"
    • المنتدى
    • فعاليات
    • الترجمات
    • كنْ شريكاً
    • خدمات الشركاء
    • سجل مكتب المحاسبة الخاص بك
    احصل على الخدمات
    • اعثر على شريك
    • اعثر على محاسب
    • قابل أحد مرشدي الأعمال
    • خدمات التنفيذ
    • مراجع العملاء
    • الدعم
    • الترقيات
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    الحصول على عرض توضيحي
  • الأسعار
  • المساعدة

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • إدارة علاقات العملاء
  • e-Commerce
  • المحاسبة
  • المخزون
  • PoS
  • المشروع
  • MRP
All apps
يجب أن تكون مسجلاً حتى تتفاعل مع المجتمع.
كافة المنشورات الأفراد الشارات
علامات التصنيف (عرض الكل)
odoo accounting v14 pos v15
حول هذا المنتدى
يجب أن تكون مسجلاً حتى تتفاعل مع المجتمع.
كافة المنشورات الأفراد الشارات
علامات التصنيف (عرض الكل)
odoo accounting v14 pos v15
حول هذا المنتدى
المساعدة

change the default odoo 15 form

اشتراك

تسلم الإشعارات عندما يكون هناك نشاط في هذا المنشور

لقد تم الإبلاغ عن هذا السؤال
formcustommenuitemodoo15
2019 أدوات العرض
الصورة الرمزية
Aprilia Zahratunnisa

=========MENU========= 
<record id="action_sales_order" model="ir.actions.act_window">        <field name="name">Sales SO</field>        <field name="res_model">sale.order</field>        <field name="view_mode">tree,form</field>        <field name="view_id" ref="view_sales_so_form"/>        <field name="view_ids" eval="[(5, 0, 0), (0, 0, {'view_mode': 'tree', 'view_id': ref('view_sales_so_tree')}),  (0, 0, {'view_mode': 'form', 'view_id': ref('view_sales_so_form')})]"/>        <field name="domain">[('is_sales_so', '=', True)]</field>        <field name="context">{'default_is_sales_so': True}</field>    </record>



========FORM========

    <record id="view_sales_so_form" model="ir.ui.view">        <field name="name">sales.so.form</field>        <field name="model">sale.order</field>        <field name="arch" type="xml">            <form string="Sales SO" groups="cust_sale.group_sales_so_user">                <header>                    <field name="state" widget="statusbar" statusbar_visible="draft,sent,sale"/>                    <button name="action_confirm" type="object" string="Confirm" states="draft" class="btn-primary"/>                    <button name="action_cancel" type="object" string="Cancel" states="draft,sent,sale" class="btn-secondary" attrs="{'invisible': [('state', '!=', 'cancel')]}"/>                </header>                <sheet>                    <div class="oe_title">                        <h1>                            <field name="name" class="oe_inline" readonly="1"/>                        </h1>                    </div>                    <group col="2">                        <group>                            <field name="company_id" required="1" groups="base.group_multi_company"/>                            <field name="customer_display_name" string="Customer" readonly="1" attrs="{'invisible': [('id', '=', False)]}"/>                            <field name="partner_id" required="1" context="{'show_address': True}" attrs="{'invisible': [('id', '!=', False)]}"/>                            <field name="pricelist_id" readonly="1"/>                            <field name="product_type" string='SO Type' />                        </group>                        <group>                            <field name="date_order" options="{'no_open': True}"/>                            <field name="user_id" />                            <field name="team_id" invisible="1"/>                                                        <field name="reference_so"                                 attrs="{'invisible': [('is_stock_empty', '=', False), ('state', 'in', ['sale', 'draft', 'cancel'])]}"                                 string="Reference SO"/>                                                        <field name="is_stock_empty" invisible="1"/>                        </group>                    </group>                    <notebook>                        <page string="Order Lines">                            <field name="order_line" widget="one2many_list" context="{'default_order_id': active_id}">                                <tree                                    string="Sales Order Lines"                                    editable="bottom"                                >                                    <control>                                        <create name="add_product_control" string="Add a product"/>                                        <create name="add_section_control" string="Add a section" context="{'default_display_type': 'line_section'}"/>                                        <create name="add_note_control" string="Add a note" context="{'default_display_type': 'line_note'}"/>                                    </control>

                                    <field name="sequence" widget="handle" />                                    <field name="display_type" invisible="1"/>                                    <field name="product_uom_category_id" invisible="1"/>

                                    <field name="product_updatable" invisible="1"/>                                    <field                                        name="product_id"                                        attrs="{                                            'readonly': [('product_updatable', '=', False)],                                            'required': [('display_type', '=', False)],                                        }"                                        force_save="1"                                        context="{                                            'partner_id': parent.partner_id,                                            'quantity': product_uom_qty,                                            'pricelist': parent.pricelist_id,                                            'uom':product_uom,                                            'company_id': parent.company_id,                                            'default_lst_price': price_unit,                                            'default_description_sale': name                                        }"                                        domain="[('sale_ok', '=', True), '|', ('company_id', '=', False), ('company_id', '=', parent.company_id)]"                                        widget="product_configurator"                                    />                                    <field name="product_template_id"                                      string="Product"                                      invisible="1"                                      attrs="{                                          'readonly': [('product_updatable', '=', False)],                                          'required': [('display_type', '=', False)],                                      }"                                      context="{                                          'partner_id': parent.partner_id,                                          'quantity': product_uom_qty,                                          'pricelist': parent.pricelist_id,                                          'uom':product_uom,                                          'company_id': parent.company_id,                                          'default_list_price': price_unit,                                          'default_description_sale': name                                      }"                                      domain="[('sale_ok', '=', True), '|', ('company_id', '=', False), ('company_id', '=', parent.company_id)]"                                      widget="product_configurator"/>                                    <field name="name" widget="section_and_note_text" invisible="1" />                                    <field                                        name="analytic_tag_ids"                                        optional="hide"                                        groups="analytic.group_analytic_tags"                                        widget="many2many_tags"                                        options="{'color_field': 'color'}"                                        domain="['|', ('company_id', '=', False), ('company_id', '=', parent.company_id)]"                                    />                                    <field                                        name="product_uom_qty"                                        decoration-info="(not display_type and invoice_status == 'to invoice')" decoration-bf="(not display_type and invoice_status == 'to invoice')"                                        context="{                                            'partner_id': parent.partner_id,                                            'quantity': product_uom_qty,                                            'pricelist': parent.pricelist_id,                                            'uom': product_uom,                                            'company_id': parent.company_id                                        }"                                    />                                    <field                                        name="qty_delivered"                                        decoration-info="(not display_type and invoice_status == 'to invoice')" decoration-bf="(not display_type and invoice_status == 'to invoice')"                                        string="Delivered"                                        attrs="{                                            'column_invisible': [('parent.state', 'not in', ['sale', 'done'])],                                            'readonly': [('qty_delivered_method', '!=', 'manual')]                                        }"                                        invisible="1"                                    />                                    <field name="qty_delivered_manual" invisible="1"/>                                    <field name="qty_delivered_method" invisible="1"/>                                    <field                                        name="qty_invoiced"                                        decoration-info="(not display_type and invoice_status == 'to invoice')" decoration-bf="(not display_type and invoice_status == 'to invoice')"                                        string="Invoiced"                                        attrs="{'column_invisible': [('parent.state', 'not in', ['sale', 'done'])]}"                                        invisible="1"                                    />                                    <field name="qty_to_invoice" invisible="1"/>                                    <field name="product_uom_readonly" invisible="1"/>                                    <field                                        name="product_uom"                                        force_save="1"                                        string="UoM"                                        attrs="{                                            'readonly': [('product_uom_readonly', '=', True)],                                            'required': [('display_type', '=', False)],                                        }"                                        context="{'company_id': parent.company_id}"                                        groups="uom.group_uom"                                        options='{"no_open": True}'                                        optional="show"                                    />                                    <field                                        name="customer_lead"                                        optional="hide"                                        attrs="{'readonly': [('parent.state', 'not in', ['draft', 'sent', 'sale'])]}" invisible="1"                                    />                                    <field name="product_packaging_qty" attrs="{'invisible': ['|', ('product_id', '=', False), ('product_packaging_id', '=', False)]}" groups="product.group_stock_packaging" optional="show"/>                                    <field name="product_packaging_id" attrs="{'invisible': [('product_id', '=', False)]}" context="{'default_product_id': product_id, 'tree_view_ref':'product.product_packaging_tree_view', 'form_view_ref':'product.product_packaging_form_view'}" groups="product.group_stock_packaging" optional="show"/>                                    <field                                        name="price_unit"                                        attrs="{'readonly': [('qty_invoiced', '&gt;', 0)]}" invisible="1"                                    />                                    <field name="discount" string="Disc.%" groups="product.group_discount_per_so_line" optional="show" widget="product_discount"/>                                    <field name="price_subtotal" widget="monetary" groups="account.group_show_line_subtotals_tax_excluded"/>                                    <field name="price_total" widget="monetary" groups="account.group_show_line_subtotals_tax_included"/>                                    <field name="state" invisible="1"/>                                    <field name="invoice_status" invisible="1"/>                                    <field name="currency_id" invisible="1"/>                                    <field name="price_tax" invisible="1"/>                                    <field name="company_id" invisible="1"/>                                </tree>                            </field>                        </page>                    </notebook>                    <group name="note_group" col="6" class="mt-2 mt-md-0">                        <group class="oe_subtotal_footer oe_right" colspan="2" name="sale_total">                            <field name="tax_totals_json" widget="account-tax-totals-field" nolabel="1" colspan="2"/>                        </group>                        <div class="oe_clear"/>                    </group>                </sheet>            </form>        </field>    </record>



I want to change the default Odoo 15 form in this menu, there is a custom create button that has been created. So if you click the Create custom button, a custom form will appear. but I can't. is there anyone who can help me???




0
الصورة الرمزية
إهمال
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!

أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!

تسجيل
المنشورات ذات الصلة الردود أدوات العرض النشاط
How can the price_unit field not change even if the other columns are changed?
sale custom odoo15
الصورة الرمزية
الصورة الرمزية
الصورة الرمزية
2
ديسمبر 24
2362
brings up the tree in the actions menu
treeview menu custom odoo15
الصورة الرمزية
الصورة الرمزية
1
يوليو 25
1524
How to add image into report
form custom reporting odooV8
الصورة الرمزية
0
أكتوبر 15
4360
How could I add a sweetCaptcha javascript captcha script to my custom form on odoo 8.0's website?
javascript form custom website
الصورة الرمزية
0
مايو 15
6469
How to "postion=replace" a Form or Tree View, Menuitem ?
form menuitem tree new
الصورة الرمزية
الصورة الرمزية
2
مارس 15
9753
المجتمع
  • دروس
  • التوثيق
  • المنتدى
مصدر مفتوح
  • تحميل
  • جيت هاب "Github"
  • المشغل الآلي رنبوت
  • الترجمات
خدماتنا
  • استضافة أودو إس إتش
  • الدعم
  • الترقية
  • التطويرات المخصصة
  • التعليم
  • اعثر على محاسب
  • اعثر على شريك
  • كنْ شريكاً
معلومات عنا
  • شركتنا
  • أصول العلامة التجارية
  • اتصلْ بنا
  • الوظائف
  • فعاليات
  • بودكاست
  • مدونة
  • عملاء
  • قانوني • الخصوصية
  • الحماية
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

أودو هو عبارة عن مجموعة من تطبيقات الأعمال مفتوحة المصدر التي تغطي جميع احتياجات شركتك، مثل: إدارة علاقات العملاء والتجارة الإلكترونية والمحاسبة والمخزون ونقاط البيع وإدارة المشاريع وما إلى ذلك.

ما يجعل من أودو مميزاً هو هدفه بأن يكون سهل الاستخدام للغاية ومتكاملاً تمامًا في الوقت ذاته.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now