@@ -58,6 +58,7 @@
|
||||
<xpath expr="//tree" position="inside">
|
||||
<header>
|
||||
<button name="batch_push_rent" type="object" string="推送" class="oe_highlight"/>
|
||||
<button name="unlink" string="删除" type="object" icon="fa-trash" groups="base.group_system" confirm="确定要删除选中的记录吗?"/>
|
||||
</header>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='property_id']" position="before">
|
||||
@@ -89,6 +90,7 @@
|
||||
<xpath expr="//tree" position="inside">
|
||||
<header>
|
||||
<button name="batch_push_deposit" type="object" string="推送" class="oe_highlight"/>
|
||||
<button name="unlink" string="删除" type="object" icon="fa-trash" groups="base.group_system" confirm="确定要删除选中的记录吗?"/>
|
||||
</header>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='property_id']" position="after">
|
||||
@@ -170,6 +172,7 @@
|
||||
<xpath expr="//tree" position="inside">
|
||||
<header>
|
||||
<button name="batch_push_tariff" type="object" string="推送" class="oe_highlight"/>
|
||||
<button name="unlink" string="删除" type="object" icon="fa-trash" groups="base.group_system" confirm="确定要删除选中的记录吗?"/>
|
||||
</header>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='property_id']" position="before">
|
||||
@@ -211,6 +214,7 @@
|
||||
<xpath expr="//tree" position="inside">
|
||||
<header>
|
||||
<button name="batch_push_water" type="object" string="推送" class="oe_highlight"/>
|
||||
<button name="unlink" string="删除" type="object" icon="fa-trash" groups="base.group_system" confirm="确定要删除选中的记录吗?"/>
|
||||
</header>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='property_id']" position="before">
|
||||
@@ -235,6 +239,7 @@
|
||||
<xpath expr="//tree" position="inside">
|
||||
<header>
|
||||
<button name="batch_push_management" type="object" string="推送" class="oe_highlight"/>
|
||||
<button name="unlink" string="删除" type="object" icon="fa-trash" groups="base.group_system" confirm="确定要删除选中的记录吗?"/>
|
||||
</header>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='lessee_id']" position="before">
|
||||
|
||||
@@ -147,7 +147,7 @@ class SalaryComputeWizard(models.Model):
|
||||
# 加班时长
|
||||
employee.last_month_overtime = vacation_report.done_working_overtime
|
||||
employee.last_attendance = vacation_report.should_attendance == vacation_report.actual_attendance
|
||||
|
||||
employee.meal_number = vacation_report.meal_number
|
||||
employee.salary_date = start_date
|
||||
employee.salary_month = self.select_time
|
||||
employee.salary_year_jin_ids = [(6, 0, self.employee_ids.ids)]
|
||||
|
||||
Reference in New Issue
Block a user