Compare commits
49 Commits
623f63d3bf
...
43d0d8526b
| Author | SHA1 | Date |
|---|---|---|
|
|
43d0d8526b | |
|
|
fb2b50b1b6 | |
|
|
3b7b4a7bc7 | |
|
|
1c88ccfa53 | |
|
|
76c0bf7275 | |
|
|
bf3d82aab2 | |
|
|
4b75814d80 | |
|
|
d2fe71965a | |
|
|
0d0e012c36 | |
|
|
58f6edf817 | |
|
|
c9bb0e73e2 | |
|
|
b8f8dfd8b9 | |
|
|
ac50258758 | |
|
|
c7d1db59e2 | |
|
|
0c73f89dc3 | |
|
|
a8a2decab9 | |
|
|
30585157b2 | |
|
|
11f064ab3e | |
|
|
d0de185d37 | |
|
|
b90b7e9ab9 | |
|
|
439632cb90 | |
|
|
22673e6fdf | |
|
|
b0b6b50642 | |
|
|
6b0b25bd7d | |
|
|
4cb50a64da | |
|
|
3fbf8ae499 | |
|
|
a5ba0c5dae | |
|
|
e93a0af02d | |
|
|
d74a021f54 | |
|
|
5f4df94944 | |
|
|
382151224c | |
|
|
e3aa8afab4 | |
|
|
0d9284562c | |
|
|
dd98df8e74 | |
|
|
f3825cc38c | |
|
|
094804652d | |
|
|
e244981df3 | |
|
|
fbb7834b09 | |
|
|
47da3b173b | |
|
|
c80509e950 | |
|
|
6023854aa3 | |
|
|
1ac3ab580c | |
|
|
a0ed31693a | |
|
|
6681a9f38d | |
|
|
0e5239137d | |
|
|
2661344d88 | |
|
|
28590b6f7b | |
|
|
77e2f3a280 | |
|
|
c371391cdf |
|
|
@ -148,6 +148,7 @@ class MaintenanceEquipment(models.Model):
|
|||
location = fields.Char('Location')
|
||||
model = fields.Char('Model')
|
||||
serial_no = fields.Char('Serial Number', copy=False)
|
||||
mac_address = fields.Char('MAC address', copy=False)
|
||||
assign_date = fields.Date('Assigned Date', tracking=True)
|
||||
cost = fields.Float('Cost')
|
||||
note = fields.Html('Note')
|
||||
|
|
|
|||
|
|
@ -416,6 +416,7 @@
|
|||
<field name="partner_ref"/>
|
||||
<field name="model"/>
|
||||
<field name="serial_no"/>
|
||||
<field name="mac_address"/>
|
||||
</group><group>
|
||||
<field name="effective_date"/>
|
||||
<field name="cost" groups="maintenance.group_equipment_manager"/>
|
||||
|
|
@ -494,13 +495,13 @@
|
|||
<field name="arch" type="xml">
|
||||
<list string="Assign To User" sample="1">
|
||||
<field name="message_needaction" column_invisible="True"/>
|
||||
<field name="name"/>
|
||||
<!-- <field name="active" invisible="1"/> -->
|
||||
<field name="owner_user_id" string="Owner"/>
|
||||
<field name="name"/>
|
||||
<field name="category_id"/>
|
||||
<!-- <field name="active" invisible="1"/> -->
|
||||
<field name="assign_date" groups="base.group_no_one"/>
|
||||
<field name="serial_no"/>
|
||||
<field name="technician_user_id"/>
|
||||
<field name="category_id"/>
|
||||
<field name="partner_id" column_invisible="True"/>
|
||||
<field name="company_id" groups="base.group_multi_company"/>
|
||||
<field name="activity_exception_decoration" widget="activity_exception"/>
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ class EmployeeDashboard(http.Controller):
|
|||
taken_leaves = request.env['hr.leave'].search([
|
||||
('employee_id', '=', employee.id),
|
||||
('holiday_status_id', '=', leave_type.id),
|
||||
('state', '=', 'validate'),
|
||||
('state', 'in', ['validate','validate1','confirm']),
|
||||
])
|
||||
|
||||
total_allocated = sum(a.number_of_days for a in allocations)
|
||||
|
|
|
|||
|
|
@ -18,8 +18,12 @@
|
|||
'version': '0.1',
|
||||
|
||||
# any module necessary for this one to work correctly
|
||||
|
||||
'depends': ['base','hr','account','mail','hr_skills', 'hr_contract'],
|
||||
|
||||
|
||||
|
||||
|
||||
# always loaded
|
||||
'data': [
|
||||
'security/security.xml',
|
||||
|
|
|
|||
|
|
@ -256,6 +256,8 @@ class HRJobRecruitment(models.Model):
|
|||
rec.submission_status = 'zero'
|
||||
|
||||
|
||||
experience = fields.Many2one('candidate.experience', string="Experience")
|
||||
|
||||
@api.depends('application_ids.submitted_to_client')
|
||||
def _compute_no_of_submissions(self):
|
||||
counts = dict(self.env['hr.applicant']._read_group(
|
||||
|
|
|
|||
Loading…
Reference in New Issue