Skip to Content
Odoo मेन्यू
  • Sign in
  • मुफ़्त में आज़माएं
  • ऐप्लिकेशन
    फ़ाइनेंस
    • अकाउंटिंग
    • इनवॉइसिंग
    • एक्सपेंस
    • स्प्रेडशीट (बीआई)
    • डॉक्यूमेंट्स
    • साइन
    सेल्स
    • सीआरएम
    • सेल्स
    • पीओएस शॉप
    • पीओएस रेस्टोरेंट
    • सब्सक्रिप्शन
    • रेंटल
    वेबसाइट
    • वेबसाइट बिल्डर
    • ई-कॉमर्स
    • ब्लॉग
    • फ़ोरम
    • लाइव चैट
    • ई-लर्निंग
    सप्लाई चेन
    • इन्वेंट्री
    • मैन्युफ़ैक्चरिंग
    • पीएलएम
    • परचेज़
    • मेंटेनेंस
    • क्वालिटी
    मानव संसाधन
    • कर्मचारी
    • रिक्रूटमेंट
    • टाइम ऑफ़
    • अप्रेज़ल
    • रेफ़रल
    • फ़्लीट
    मार्केटिंग
    • सोशल मार्केटिंग
    • ईमेल मार्केटिंग
    • एसएमएस मार्केटिंग
    • इवेंट
    • मार्केटिंग ऑटोमेशन
    • सर्वे
    सेवाएं
    • प्रोजेक्ट
    • टाइमशीट
    • फ़ील्ड सर्विस
    • हेल्पडेस्क
    • प्लानिंग
    • अपॉइंटमेंट
    प्रॉडक्टिविटी
    • डिस्कस
    • अप्रूवल
    • आईओटी
    • वीओआईपी
    • नॉलेज
    • WhatsApp
    तीसरे पक्ष के ऐप्लिकेशन Odoo स्टूडियो Odoo क्लाउड प्लेटफ़ॉर्म
  • इंडस्ट्री
    रीटेल
    • बुक स्टोर
    • क्लोदिंग स्टोर
    • फ़र्नीचर स्टोर
    • ग्रॉसरी स्टोर
    • हार्डवेयर स्टोर
    • टॉय स्टोर
    Food & Hospitality
    • बार और पब
    • रेस्टोरेंट
    • फ़ास्ट फ़ूड
    • Guest House
    • बेवरिज डिस्ट्रीब्यूटर
    • होटल
    रियल एस्टेट
    • Real Estate Agency
    • आर्किटेक्चर फ़र्म
    • कंसट्रक्शन
    • एस्टेट मैनेजमेंट
    • गार्ड्निंग
    • प्रॉपर्टी ओनर असोसिएशन
    कंसल्टिंग
    • अकाउंटिंग फ़र्म
    • Odoo पार्टनर
    • मार्केटिंग एजेंसी
    • लॉ फ़र्म
    • टैलेंट ऐक्विज़िशन
    • ऑडिट & सर्टिफ़िकेशन
    मैन्युफ़ैक्चरिंग
    • टेक्सटाइल
    • Metal
    • फ़र्नीचर
    • फ़ूड
    • Brewery
    • कॉर्पोरेट गिफ़्ट
    हेल्थ & फिटनेस
    • स्पोर्ट्स क्लब
    • आईवियर स्टोर
    • फिटनेस सेंटर
    • वेलनेस प्रैक्टिशनर
    • फॉर्मेसी
    • हेयर सैलून
    Trades
    • Handyman
    • आईटी हॉर्डवेयर और सपोर्ट
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    अन्य
    • Nonprofit Organization
    • एन्वायरमेंटल एजेंसी
    • बिलबोर्ड रेंटल
    • फ़ोटोग्राफी
    • बाइक लीजिंग
    • सॉफ़्टवेयर रीसेलर
    Browse all Industries
  • कम्यूनिटी
    सीखें
    • ट्यूटोरियल्स
    • दस्तावेज़
    • सर्टिफ़िकेशन
    • ट्रेनिंग
    • ब्लॉग
    • पॉडकास्ट
    शिक्षा को बढ़ावा दें
    • एजुकेशन प्रोग्राम
    • स्केल अप! बिजनेस गेम
    • Odoo के ऑफ़िस में आएं
    सॉफ़्टवेयर पाएं
    • डाउनलोड
    • वर्शन की तुलना करें
    • रिलीज़
    साथ मिलकर काम करें
    • Github
    • फ़ोरम
    • इवेंट
    • अनुवाद
    • पार्टनर बनें
    • Services for Partners
    • अपना अकाउंटिंग फ़र्म रजिस्टर करें
    सेवाएं पाएं
    • पार्टनर ढूंढें
    • अकाउंटेंट खोजें
    • सलाहकार की मदद लें
    • इम्प्लिमेंटेशन सेवाएं
    • कस्टमर रेफ़रेंस
    • सहायता
    • अपग्रेड
    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
You need to be registered to interact with the community.
All Posts People Badges
टैग (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
टैग (View all)
odoo accounting v14 pos v15
About this forum
Help

How do I customize only Incoming Shipments Move lines in 7's Warehouse ?

Subscribe

Get notified when there's activity on this post

This question has been flagged
warehouseshipmentincomingmove_lines
7050 Views
Avatar
Stan Goldbraithe

Hey Everyone, So, I have been trying to make a change to the incoming shipments form only in the warehouse module. Basically, I am overloading the stock_view.xml inside my own module. I thought it would be a simple case of jst overloading the stock.action_picking_tree4 and the view.

However, I can either have the move_lines show the extra field (supplier_code) in all subitems for the 'Receive/Deliver By Orders' or else none of them. XML Code is below;

Regards S.

<record id="stock_view_move_picking2_in_tree" model="ir.ui.view">
    <field name="name">stock.move.in.tree</field>
    <field name="model">stock.move.in</field>
        <field eval="4" name="priority"/>
    <field name="arch" type="xml">
            <tree colors="grey:scrapped == True" string="Stock Moves">
                <field name="product_id" on_change="onchange_product_id(product_id,location_id,location_dest_id,parent.partner_id)"/>
                <field name="supplier_code"/>
                <field name="product_qty" on_change="onchange_quantity(product_id, product_qty, product_uom, product_uos)"/>
                <field name="product_uom" string="Unit of Measure" groups="product.group_uom"/>
                <field name="product_uos" groups="product.group_uos"/>
                <field name="location_id" groups="stock.group_locations" invisible="1"/>
                <field name="picking_id" invisible="1" />
                <field name="create_date" invisible="1" />
                <field name="date_expected" invisible="1" />
                <button name="%(stock.move_scrap)d"
                   string="Scrap Products" type="action"
                   icon="terp-gtk-jump-to-ltr" context="{'scrap': True}"
                   states="draft,waiting,confirmed,assigned"
                   groups="base.group_user"/>
                <field name="scrapped" invisible="1"/>
                <field name="prodlot_id" groups="stock.group_production_lot"/>
                <button
                   name="%(stock.track_line)d"
                   string="Split in Serial Number"
                   groups="stock.group_production_lot"
                   type="action" icon="gtk-justify-fill"
                   states="draft,waiting,confirmed,assigned"/>
                 <field groups="stock.group_tracking_lot" name="tracking_id"/>
                 <button name="setlast_tracking" string="Put in current pack" type="object"
                    attrs="{'invisible': [('tracking_id','<>',False)]}"
                    icon="terp-accessories-archiver"
                    groups="stock.group_tracking_lot"
                    states="draft,assigned,confirmed"/>
                 <button name="%(stock.split_into)d" string="Put in a new pack" type="action"
                    groups="product.group_stock_packaging"
                    icon="terp-accessories-archiver+"
                    states="draft,assigned,confirmed"/>
                  <field name="location_dest_id" groups="stock.group_locations"/>
                  <field name="state"/>
            </tree>
        </field>
</record>

<record id="stock_view_move_picking2_in_form" model="ir.ui.view">
    <field name="model">stock.move</field>
    <field name="inherit_id" ref="stock.view_move_form"/>
    <field name="arch" type="xml">
         <field name="product_id" position="replace">
           <field name="product_id" on_change="onchange_product_id(product_id,location_id,location_dest_id,parent.partner_id)"/>
         </field>
         <xpath expr="//field[@name='product_id']" position="after">
           <field name="supplier_code" readonly="1"/>
         </xpath>
    </field>
</record>

<record id="stock_view_picking2_in_form" model="ir.ui.view">
        <field name="name">stock.picking.form</field>
        <field name="model">stock.picking</field>
        <field eval="12" name="priority"/>
        <field name="arch" type="xml">
            <form string="Internal Picking List" version="7.0">
            <header>
                <button name="draft_force_assign" states="draft" string="Confirm" type="object" class="oe_highlight" groups="base.group_user"/>
                <button name="draft_validate" states="draft" string="Confirm & Transfer" type="object" class="oe_highlight" groups="base.group_user"/>
                <!-- <button name="action_assign" states="confirmed" string="Check Availability" type="object"/> -->
                <button name="force_assign" states="confirmed" string="Force Availability" type="object" class="oe_highlight" groups="base.group_user"/>
                <button name="action_process" states="assigned" string="Confirm & Transfer" groups="stock.group_stock_user" type="object" class="oe_highlight"/>
                <button name="%(stock.action_stock_invoice_onshipping)d" string="Create Invoice/Refund"  attrs="{'invisible': ['|','|',('state','<>','done'),('invoice_state','=','invoiced'),('invoice_state','=','none')]}"  type="action" class="oe_highlight" groups="base.group_user"/>
                <button name="%(stock.act_stock_return_picking)d" string="Reverse Transfer" states="done" type="action" groups="base.group_user"/>
                <button name="button_cancel" states="assigned,confirmed,draft" string="Cancel Transfer" groups="base.group_user"/>
                <field name="state" widget="statusbar" statusbar_visible="draft,assigned,done" statusbar_colors='{"shipping_except":"red","invoice_except":"red","waiting_date":"blue"}'/>
            </header>
            <sheet>
                <h1>
                    <field name="name" class="oe_inline" attrs="{'invisible': [('name','=','/')]}" readonly="1"/>
                </h1>
                <group>
                    <group>
                        <field name="partner_id" on_change="onchange_partner_in(partner_id)"/>
                        <field name="backorder_id" readonly="1" attrs="{'invisible': [('backorder_id','=',False)]}"/>
                        <field name="invoice_state" string="Invoice Control" groups="account.group_account_invoice" attrs="{'invisible':[('invoice_state', '=', 'none')]}"/>
                        <field name="stock_journal_id" widget="selection" groups="account.group_account_user"/>
                        <field name="project_id"/>
                        <field name="inventory_code"/>
                        <field name="x_sitename"/>
                    </group>
                    <group>
                        <field name="date"/>
                        <field name="min_date" readonly="1" attrs="{'invisible': [('min_date','=',False)]}"/>
                        <field name="origin" placeholder="e.g. PO0032" class="oe_inline"/>
                    </group>
                </group>
                <notebook>
                    <page string="Products">
                        <field name="move_lines" context="{'address_in_id': partner_id, 'picking_type': 'in', 'form_view_ref':'stock_view_move_picking2_in_form', 'tree_view_ref':'stock_view_move_picking2_in_tree'}"/>
                        <field name="note" placeholder="Add an internal note..." class="oe_inline"/>
                    </page>
                    <page string="Additional Info">
                        <group>
                            <group>
                                <field name="move_type"/>
                                <field name="type" invisible="1"/>
                                <field name="auto_picking" groups="base.group_user"/>
                            </group>
                            <group>
                                <field name="company_id" groups="base.group_multi_company" widget="selection"/>
                                <field name="date_done" groups="base.group_no_one"/>
                            </group>
                        </group>
                    </page>
                </notebook>
            </sheet>
            </form>
        </field>
</record>

    <record id="stock.action_picking_tree4" model="ir.actions.act_window">
        <field name="name">Incoming Shipments</field>
        <field name="res_model">stock.picking.in</field>
        <field name="type">ir.actions.act_window</field>
        <field name="view_type">form</field>
        <field name="view_mode">tree,form,calendar</field>
        <field name="view_id" ref="stock_view_picking2_in_form"/>
        <field name="domain">[('type','=','in')]</field>
        <field name="context">{'contact_display': 'partner_address', 'default_type': 'in'}</field>
        <field name="help" type="html">
          <p class="oe_view_nocontent_create">
            Click to create an incoming shipment.
          </p><p>
            The Incoming Shipments is the list of all orders you will
            receive from your suppliers. An incoming shipment contains a
            list of products to be received according to the original
            purchase order.
          </p>
        </field>
    </record>
0
Avatar
Discard
Stan Goldbraithe
Author

other questions were removed. I was getting 504's from the gateway on posting :(

Simplify it!

Sorry, it's opened again

Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Sign up
Related Posts Replies Views Activity
How do I customize only Incoming Shipments Move lines in 7's Warehouse ?
warehouse shipment incoming move_lines
Avatar
0
मार्च 15
4837
How to change Incoming Shipment Scheduled Date field for all products?
shipment incoming
Avatar
0
मार्च 15
6227
How to disable auto received in incoming shipment after user click confirm in Purchase Order?
shipment incoming
Avatar
Avatar
1
मार्च 15
5604
How do I customize only the Incoming Stock Move Line?
stock warehouse customize incoming move_lines
Avatar
0
मार्च 15
9182
How to merge incoming shipments ?
merge shipment incoming
Avatar
Avatar
1
मार्च 15
7462
कम्यूनिटी
  • ट्यूटोरियल्स
  • दस्तावेज़
  • फ़ोरम
ओपन सोर्स
  • डाउनलोड
  • Github
  • रनबॉट
  • अनुवाद
सेवाएं
  • Odoo.sh Hosting
  • सहायता
  • अपग्रेड
  • कस्टम डेवलपमेंट्स
  • शिक्षा
  • अकाउंटेंट खोजें
  • पार्टनर ढूंढें
  • पार्टनर बनें
हमारे बारे में
  • हमारी कंपनी
  • ब्रांड ऐसेट
  • संपर्क करें
  • नौकरियां
  • इवेंट
  • पॉडकास्ट
  • ब्लॉग
  • ग्राहक
  • लीगल • गोपनीयता
  • सुरक्षा
الْعَرَبيّة 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

Odoo, बिज़नेस से जुड़े ऐप्लिकेशन का एक कलेक्शन है जो ओपन सोर्स पर आधारित है. इसमें आपकी कंपनी की हर ज़रूरत के लिए ऐप्लिकेशन हैं. जैसे, सीआरएम, ई-कॉमर्स, अकाउंटिंग, इन्वेंट्री, पॉइंट ऑफ़ सेल, प्रोजेक्ट मैनेजमेंट वगैरह.

Odoo की सबसे बड़ी खासियत है कि यह इस्तेमाल करने में बहुत आसान है और यह पूरी तरह से इंटिग्रेट किया हुआ है.

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