添加功能
This commit is contained in:
@@ -441,7 +441,6 @@ class HrAttendanceDetail(models.Model):
|
||||
end_datetime = datetime.combine(date, datetime.min.time()).replace(
|
||||
hour=end_hour, minute=end_minute, second=0, microsecond=0
|
||||
) - timedelta(hours=8)
|
||||
|
||||
if template.planning_name == '中夜':
|
||||
end_datetime = datetime.combine(date, datetime.min.time()).replace(
|
||||
hour=22, minute=0, second=0, microsecond=0
|
||||
|
||||
@@ -51,6 +51,7 @@
|
||||
</div>
|
||||
<group col="4">
|
||||
<group>
|
||||
<field name="company_id"/>
|
||||
<field name="is_back" invisible="1"/>
|
||||
<field name="work_end" invisible="1"/>
|
||||
<field name="pay_date"/>
|
||||
@@ -60,7 +61,7 @@
|
||||
<field name="users_id"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="company_id"/>
|
||||
<field name="company_id1"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="tenure_type"/>
|
||||
|
||||
@@ -10,12 +10,11 @@
|
||||
<group>
|
||||
<field name="user_id" string="采购人员"/>
|
||||
<field name="employee_id" string="验收人" required="1"/>
|
||||
<field name="document_ids" widget="preview_many2many" required="1"/>
|
||||
<field name="certifier_id"/>
|
||||
<field name="certifier_document_ids" widget="preview_many2many" required="1"/>
|
||||
</group>
|
||||
</group>
|
||||
<group>
|
||||
<field name="certifier_document_ids" widget="preview_many2many" required="1"/>
|
||||
</group>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='picking_type_id']" position="after">
|
||||
<field name="department_id"/>
|
||||
|
||||
Reference in New Issue
Block a user