mirror of
https://github.com/bringout/oca-ocb-hr.git
synced 2026-04-26 09:32:07 +02:00
19.0 vanilla
This commit is contained in:
parent
a1137a1456
commit
e1d89e11e3
2789 changed files with 1093187 additions and 605897 deletions
|
|
@ -10,13 +10,12 @@ class ResCompany(models.Model):
|
|||
"account.journal",
|
||||
string="Default Expense Journal",
|
||||
check_company=True,
|
||||
domain="[('type', '=', 'purchase'), ('company_id', '=', company_id)]",
|
||||
domain="[('type', '=', 'purchase')]",
|
||||
help="The company's default journal used when an employee expense is created.",
|
||||
)
|
||||
company_expense_journal_id = fields.Many2one(
|
||||
"account.journal",
|
||||
string="Default Company Expense Journal",
|
||||
company_expense_allowed_payment_method_line_ids = fields.Many2many(
|
||||
"account.payment.method.line",
|
||||
string="Payment methods available for expenses paid by company",
|
||||
check_company=True,
|
||||
domain="[('type', 'in', ['cash', 'bank']), ('company_id', '=', company_id)]",
|
||||
help="The company's default journal used when a company expense is created.",
|
||||
domain="[('payment_type', '=', 'outbound'), ('journal_id', '!=', False), ('journal_id.active', '=', True)]",
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue