Skip to Content
Odoo Menu
  • Prihlásiť sa
  • Vyskúšajte zadarmo
  • Aplikácie
    Financie
    • Účtovníctvo
    • Fakturácia
    • Výdavky
    • Tabuľka (BI)
    • Dokumenty
    • Podpis
    Predaj
    • CRM
    • Predaj
    • POS Shop
    • POS Restaurant
    • Manažment odberu
    • Požičovňa
    Webstránky
    • Tvorca webstránok
    • eShop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Supply Chain
    • Sklad
    • Výroba
    • Správa životného cyklu produktu
    • Nákup
    • Údržba
    • Manažment kvality
    Ľudské zdroje
    • Zamestnanci
    • Nábor zamestnancov
    • Voľné dni
    • Hodnotenia
    • Odporúčania
    • Vozový park
    Marketing
    • Marketing sociálnych sietí
    • Email marketing
    • SMS marketing
    • Eventy
    • Marketingová automatizácia
    • Prieskumy
    Služby
    • Projektové riadenie
    • Pracovné výkazy
    • Práca v teréne
    • Helpdesk
    • Plánovanie
    • Schôdzky
    Produktivita
    • Tímová komunikácia
    • Schvalovania
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Priemyselné odvetvia
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Reštaurácia
    • Fast Food
    • Guest House
    • Beverage distributor
    • Hotel
    Reality
    • Real Estate Agency
    • Architecture Firm
    • Konštrukcia
    • Estate Managament
    • Gardening
    • Property Owner Association
    Poradenstvo
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Jedlo
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware and Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Iní
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Komunita
    Vzdelávanie
    • Tutoriály
    • Dokumentácia
    • Certifikácie
    • Školenie
    • Blog
    • Podcast
    Empower Education
    • Vzdelávací program
    • Scale Up! Business Game
    • Visit Odoo
    Softvér
    • Stiahnuť
    • Porovnanie Community a Enterprise vierzie
    • Releases
    Spolupráca
    • Github
    • Fórum
    • Eventy
    • Preklady
    • Staň sa partnerom
    • Services for Partners
    • Register your Accounting Firm
    Služby
    • Nájdite partnera
    • Nájdite účtovníka
    • Meet an advisor
    • Implementation Services
    • Zákaznícke referencie
    • Podpora
    • Upgrades
    ​Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Získajte demo
  • Cenník
  • Pomoc

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

  • CRM
  • e-Commerce
  • Účtovníctvo
  • Sklady
  • PoS
  • Projektové riadenie
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
Pomoc

how can i add a menu item to human resource?

Odoberať

Get notified when there's activity on this post

This question has been flagged
3 Replies
5712 Zobrazenia
Avatar
mirko lazzarini

OpenErp 7, i must add e menu item under Human Resource - Human Resource - Employee (at the same level) i don't know to do, can anyone help me?

0
Avatar
Zrušiť
Avatar
Mohamed Habib Challouf
Best Answer

<menuitem id="menu_hr_name_exemple" parent="hr.menu_hr_main" name="name_example"/>

1
Avatar
Zrušiť
Avatar
Lady Sharmane Udtuhan
Best Answer
 <menuitem name="Planned Task" id="base.plannedtask" parent="base.menu_main_pm" sequence="1"/>

 <record id="planned_task_line_tree" model="ir.ui.view">
        <field name="name">planned.task.line.tree</field>
        <field name="model">planned.task.line</field>
        <field name="type">tree</field>
        <field name="arch" type="xml">
            <tree string="Planned Task Line">
                <field name="name"/>
                <field name="product_id" on_change="onchange(product_id)"/>
                <field name="uom_id"/>
                <field name="planned_qty"/>
                <field name="project_weight" />
                <field name="actual_weight" />
                <field name="completion" on_change="onchange_validation(completion)" invisible="1"/>
                <field name="prev_task_completion" invisible="1" />
                <field name="diff_task_completion" invisible="1" />
            </tree>
        </field>
    </record>


    <record id="planned_task_line_form" model="ir.ui.view">
        <field name="name">planned.task.line.form</field>
        <field name="model">planned.task.line</field>
        <field name="type">form</field>
        <field name="arch" type="xml">
            <form string="Planned Task Line" version="7.0">
              <sheet string="Task">
                <h1>
                    <field name="product_id" placeholder="Product..." on_change="onchange(product_id)" domain="[('is_boq','=',True)]"/>
                </h1>
                    <group col="4">
                       <field name="standard_price" invisible="1"/>
                       <field name="qty" invisible="1"/>
                       <field name="actual_amount" invisible="1"/>
                       <field name="uom_id"/>
                       <field name="planned_qty"/>
                       <field name="validated"/>
                       <field name="amount_vatin" />
                       <field name="amount_vatex" />
                       <field name="project_weight" />
                       <field name="actual_weight" />
                       <field name="g_project_id"/>
                       <field name="g_task_id"/>
                       <field name="group_activity_id" />
                       <field name="activities_id" />
                    </group>
                    <group col="6">
                       <field name="completion" on_change="onchange_validation(completion)" invisible="1"/>
                       <field name="prev_task_completion" invisible="1" />
                       <field name="diff_task_completion" invisible="1" />
                    </group>

                </sheet>
            </form>
        </field>
   </record>

    <record model="ir.actions.act_window" id="act_open_planned_task_line">
       <field name="name">Planned Task Line</field>
       <field name="res_model">planned.task.line</field>
       <field name="view_type">form</field> 
       <field name="view_id" ref="planned_task_line_tree"/>
       <field name="context">{ 'tree_view_ref':'planned_task_line_tree'}</field>    
       <field name="view_mode">tree,form</field> 
    </record> 

    <menuitem action="act_open_planned_task_line" id="planned_task_line" name="Planned Task Line" parent="base.plannedtask" sequence="2"/>

This is my sample of creating menu.. hope it will help :D

1
Avatar
Zrušiť
Avatar
mirko lazzarini
Autor Best Answer

I'm trying this but don't function

<openerp>

<data>

   <record id="open_view_hr_extension_form" model="ir.actions.act_window">
        <field name="name">Assignment products</field>
        <field name="res_model">hr_extension</field>
        <field name="view_type">form</field>
        <field name="view_mode">tree,form</field>
   </record>

<menuitem id="menu_hr_extension" parent="hr.menu_hr_main" name="Assign goods to Employee" action="open_view_hr_extension_form"/>

<record model="ir.ui.view" id="hr_extension_tree_view">
    <field name="name">hr_extension.tree</field>
    <field name="model">hr_extension</field>
    <field name="type">tree</field>
    <field name="arch" type="xml">
        <tree string="Assignment products">
            <field name="employee_id"/>
            <field name="name"/>
                        <field name="product_id"/>
            <field name="serialno"/>
            <field name="assignment_date"/>
                        <field name="restitution_date"/>
        </tree>
    </field>
</record>

<record model="ir.ui.view" id="hr_extension_form_view">
    <field name="name">hr_extension.form</field>
    <field name="model">hr_extension</field>
    <field name="type">form</field>
    <field name="arch" type="xml">
        <form string="Assignment products">
            <field name="employee_id"/>
            <field name="name"/>
                  <field name="product_id on_change="onchange_product_id(product_id)" />
            <field name="serialno"/>
            <field name="assignment_date"/>
                <field name="restitution_date" />
              </form>
       </field>
</record>
</data>

</openerp>

0
Avatar
Zrušiť
Mohamed Habib Challouf

You can check a configuration menu then interface use -> menu and search the menu with assign key , if you see the menu i recommended the install a nex database , else you can try this <menuitem id="menu_hr_extension" parent="hr.menu_hr_main" name="Assign goods to Employee" sequence="4"/>

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

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

Registrácia
Komunita
  • Tutoriály
  • Dokumentácia
  • Fórum
Open Source
  • Stiahnuť
  • Github
  • Runbot
  • Preklady
Služby
  • Odoo.sh hosting
  • Podpora
  • Vyššia verzia
  • Custom Developments
  • Vzdelávanie
  • Nájdite účtovníka
  • Nájdite partnera
  • Staň sa partnerom
O nás
  • Naša spoločnosť
  • Majetok značky
  • Kontaktujte nás
  • Pracovné ponuky
  • Eventy
  • Podcast
  • Blog
  • Zákazníci
  • Právne dokumenty • Súkromie
  • Bezpečnosť
الْعَرَبيّة 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 je sada podnikových aplikácií s otvoreným zdrojovým kódom, ktoré pokrývajú všetky potreby vašej spoločnosti: CRM, e-shop, účtovníctvo, skladové hospodárstvo, miesto predaja, projektový manažment atď.

Odoo prináša vysokú pridanú hodnotu v jednoduchom použití a súčasne plne integrovanými biznis aplikáciami.

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