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 to add accounting in notebook page of form view?

Subscribe

Get notified when there's activity on this post

This question has been flagged
accountingxmlpagenotebookodooV8
1 Reply
8013 Views
Avatar
Uppili Arivukkannu

In Accounting>>Products>>Products. In the form view of products It has a notebook and the notebook contains the "Accounting" page.

I want to know how it is called in the products form view since the form view has no code about this accouting.

The form view of products:



<record id="product_template_form_view" model="ir.ui.view">

<field name="name">product.template.common.form</field>

<field name="model">product.template</field>

<field name="mode">primary</field>

<field name="arch" type="xml">

<form string="Product">

<field name="is_product_variant" invisible="1"/>

<field name='product_variant_count' invisible='1'/>

<sheet>

<field name="id" invisible="True"/>

<div class="oe_right oe_button_box" style="width: 300px;" name="buttons">

</div>

<div class="oe_left" style="width: 500px;">

<field name="image_medium" widget="image" class="oe_avatar oe_left"/>

<div class="oe_title" style="width: 390px;">

<label class="oe_edit_only" for="name" string="Product Name"/>

<h1><field name="name" class="oe_inline"/></h1>

</div>

<div class="oe_left" name="options" groups="base.group_user">

<div>

<field name="sale_ok"/>

<label for="sale_ok"/>

</div>

</div>

</div>

<notebook>

<page string="Information">

<group colspan="4">

<group>

<field name="type" on_change="onchange_type(type)"/>

<field name="uom_id" on_change="onchange_uom(uom_id,uom_po_id)" groups="product.group_uom"/>

<field name="list_price"/>

</group>

<group>

<field name="active"/>

</group>

</group>

<group colspan="4">

<field name="company_id" groups="base.group_multi_company" widget="selection"/>

</group>

<field name="description" placeholder="describe the product characteristics..."/>

</page>

<page string="Procurements" groups="base.group_user">

<group name="procurement">

<group name="general">

<field name="standard_price"/>

</group>

<group name="procurement_uom" groups="product.group_uom" string="Purchase">

<field name="uom_po_id"/>

</group>

</group>

<separator string="Suppliers"/>

<field name="seller_ids"/>

<separator string="Description for Suppliers"/>

<field name="description_purchase" placeholder="This note will be displayed on requests for quotation..."/>

</page>

<page string="Inventory">

<group name="inventory">

<group name="status" string="Status">

<field name="state"/>

<field name="product_manager"/>

</group>

<group name="weight" string="Weights" attrs="{'invisible':[('type','=','service')]}">

<field digits="(14, 3)" name="volume"/>

<field name="weight"/>

<field name="weight_net"/>

</group>

</group>

<group name="packaging" string="Packaging" attrs="{'invisible':[('type','=','service')]}" groups="product.group_stock_packaging" colspan="4">

<field name="packaging_ids" string="Configurations" context="{'tree_view_ref':'product.product_packaging_tree_view_product', 'form_view_ref': 'product.product_packaging_form_view_without_product'}"/>

</group>

</page>

<page string="Sales" attrs="{'invisible':[('sale_ok','=',False)]}" name="sales">

<group name="sale">

<group name="sale_condition" string="Sale Conditions" colspan="3">

<label for="warranty"/>

<div>

<field name="warranty" class="oe_inline"/> months

</div>

</group>

<group groups="product.group_uos" string="Unit of Measure">

<field name="uos_id"/>

<field name="uos_coeff"/>

<field name="mes_type"/>

</group>

</group>

<group name="website_and_pos" col="2">

</group>

<separator string="Description for Quotations"/>

<field name="description_sale" placeholder="note to be displayed on quotations..."/>

</page>

</notebook>

</sheet>

<div class="oe_chatter">

<field name="message_follower_ids" widget="mail_followers"/>

<field name="message_ids" widget="mail_thread"/>

</div>

</form>

</field>


The codes has Information, sales,procurements,etc but it does not have Accounting page in the code but in the form view it shows Accounting page.

How this happens. Is this is inherited or something else?


My code is:

<record id="auto_buy_fields_form_view" model="ir.ui.view">

<field name="name">auto.buy.fields.form</field>

<field name="model">autobuy.fields</field>

<field name="type">form</field>

<field name="arch" type="xml">

<form string="Autobuy">

<sheet>

<group>

<group>

<field name="name"/>

<field name="make"/>

<field name="boffer"/>

<field name="price"/>

</group>

<group>

<field name="year"/>

<field name="model"/>

<field name="coffer"/>

<field name="aoffer"/>

</group>

</group>

<group>

<group>

<field name="vin"/>

<field name="color"/>

<field name="soffer"/>

<field name="sroffer"/>

</group>

<group>

<field name="created"/>

<field name="mileage"/>

<field name="amount"/>

<field name="samount"/>

</group>

</group>

<notebook>

<page string="Owners Details" >

<group>

<group>

<field name="customer"/>

<field name="fname"/>

<field name="lname"/>

<field name="cname"/>

</group>

<group>

<field name="address"/>

<field name="city"/>

<field name="state"/>

<field name="zip"/>

</group>

</group>

<group>

<field name="cphone"/>

<field name="hphone"/>

<field name="email"/>

</group>

</page>

<page string="Autobuy Details">

<group>

<field name="pdate"/>

<field name="udate"/>

<field name="stock"/>

</group>

</page>

<!---- Accounting page of products------>

</page>

</notebook>

</sheet>

</form>

</field>

</record>


I want to call the Accounting page as same as in products in my module how can I do this.

The fields must take values(many2one) as same as in accounting in products.

How can I do this?

0
Avatar
Discard
Avatar
Deepa Venkatesh
Best Answer

Yes it is achieved through View Inheritance,


When Accounting module is installed, the view of Product is inherited into it by using its external id which is "product.

product_template_form_view",  (i.e. "module_name.view_id" ) and necessary changes or being made.


Look into the Accounting module or for a quick search, Use Ctrl + H  if you working in PyCharm/Aptana/Eclipse to search into the entire addons for its usage. By this way you get to know in which all module this view has been inherited/overridden.

0
Avatar
Discard
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 to show full size list view in a m2m selection Solved
xml odooV8
Avatar
Avatar
1
जन॰ 23
3364
Notebook Page
page notebook
Avatar
Avatar
1
अग॰ 22
5391
How to creare drill down tree view in odoo V8 ? Solved
xml odooV8
Avatar
Avatar
3
अग॰ 20
5928
how i can create automatic in one2many field (gmat.dashboard), thos after change (click) date field (in gmat.board)
xml odooV8
Avatar
0
फ़र॰ 18
3534
How to create dynamic workflow?
xml odooV8
Avatar
0
अप्रैल 16
5219
कम्यूनिटी
  • ट्यूटोरियल्स
  • दस्तावेज़
  • फ़ोरम
ओपन सोर्स
  • डाउनलोड
  • 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