This commit is contained in:
parent
6296b57a0e
commit
0cd84fb015
|
|
@ -1,3 +0,0 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
from . import models
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
{
|
||||
'name': "Analytic account in hr department",
|
||||
'version': '14.0.1',
|
||||
'category': 'Odex25-Purchase/Odex25-Purchase',
|
||||
'author': 'Expert Co. Ltd.',
|
||||
'website': 'http://exp-sa.com',
|
||||
'depends': ['hr','analytic'],
|
||||
|
||||
# any module necessary for this one to work correctly
|
||||
|
||||
# always loaded
|
||||
'data': [
|
||||
'views/views.xml',
|
||||
|
||||
]
|
||||
}
|
||||
|
|
@ -1,41 +0,0 @@
|
|||
# Translation of Odoo Server.
|
||||
# This file contains the translation of the following modules:
|
||||
# * exp_analytic
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Odoo Server 14.0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2023-01-04 08:00+0000\n"
|
||||
"PO-Revision-Date: 2023-01-04 08:00+0000\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: \n"
|
||||
"Plural-Forms: \n"
|
||||
|
||||
#. module: exp_analytic
|
||||
#: model:ir.model.fields,field_description:exp_analytic.field_hr_department__analytic_account_id
|
||||
msgid "Analytic Account"
|
||||
msgstr "الحساب التحليلي"
|
||||
|
||||
#. module: exp_analytic
|
||||
#: model:ir.model,name:exp_analytic.model_hr_department
|
||||
msgid "Department"
|
||||
msgstr "القسم"
|
||||
|
||||
#. module: exp_analytic
|
||||
#: model:ir.model.fields,field_description:exp_analytic.field_hr_department__display_name
|
||||
msgid "Display Name"
|
||||
msgstr "الاسم المعروض"
|
||||
|
||||
#. module: exp_analytic
|
||||
#: model:ir.model.fields,field_description:exp_analytic.field_hr_department__id
|
||||
msgid "ID"
|
||||
msgstr "المُعرف"
|
||||
|
||||
#. module: exp_analytic
|
||||
#: model:ir.model.fields,field_description:exp_analytic.field_hr_department____last_update
|
||||
msgid "Last Modified on"
|
||||
msgstr "آخر تعديل في"
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
from . import models
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
from odoo import models, fields
|
||||
class HrDepartment(models.Model):
|
||||
_inherit = 'hr.department'
|
||||
|
||||
analytic_account_id = fields.Many2one('account.analytic.account',
|
||||
'Analytic Account')
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<odoo>
|
||||
|
||||
|
||||
<record id="view_department_form_inherit" model="ir.ui.view">
|
||||
<field name="name">hr.department.analytic.inherit.form</field>
|
||||
<field name="inherit_id" ref="hr.view_department_form"/>
|
||||
<field name="model">hr.department</field>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='company_id']" position="after">
|
||||
<field name="analytic_account_id" options='{"no_open": True, "no_create": True}'/>
|
||||
</xpath>
|
||||
|
||||
</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
|
|
@ -24,7 +24,7 @@
|
|||
'reports/committee_meeting_minutes_report.xml',
|
||||
'views/budget_confirmation.xml',
|
||||
],
|
||||
'depends': ['stock', 'purchase_requisition', 'project','account_budget_custom','account_fiscal_year'],
|
||||
'depends': ['stock', 'purchase_requisition','exp_analytic', 'project','account_budget_custom','account_fiscal_year'],
|
||||
'installable': True,
|
||||
'application': True,
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue