添加功能
This commit is contained in:
@@ -26,7 +26,7 @@ class YuthonOfficial(models.Model):
|
||||
main_flats_ids = fields.Many2many(
|
||||
'main.flats',
|
||||
'yuthon_official_main_flats_rel',
|
||||
'official_id'
|
||||
'official_id',
|
||||
'flat_id',
|
||||
string="主送单位"
|
||||
)
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<odoo>
|
||||
<record model="ir.rule" id="yuthon_salary_active_rule">
|
||||
<field name="name">薪资归档多公司</field>
|
||||
<field name="model_id" ref="model_yuthon_salary_active"/>
|
||||
<field name="domain_force">[('company_id', 'in', company_ids)]</field>
|
||||
</record>
|
||||
<record model="ir.rule" id="hr_payroll_structure_type_rule">
|
||||
<field name="name">职级类型多公司</field>
|
||||
<field name="model_id" ref="model_hr_payroll_structure_type"/>
|
||||
|
||||
Reference in New Issue
Block a user