mirror of
https://github.com/OCA/account-financial-tools.git
synced 2025-02-02 12:47:26 +02:00
[IMP] account_loan: add multi-company ir_rule for 'account_loan_line'
[BOT] post-merge updates
This commit is contained in:
committed by
Víctor Martínez
parent
118726300f
commit
e5a8a9110a
@@ -7,7 +7,7 @@ Account Loan management
|
||||
!! This file is generated by oca-gen-addon-readme !!
|
||||
!! changes will be overwritten. !!
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!! source digest: sha256:352ebf0a912e2b782accbfaad15fe1f96402c8c900402da7d623ea13d1581b17
|
||||
!! source digest: sha256:d328e0b64e0fbd4fda40de7f5439428e12e5996deb3c3da36968ce41b39d38cf
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
|
||||
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
|
||||
{
|
||||
"name": "Account Loan management",
|
||||
"version": "16.0.1.0.3",
|
||||
"version": "16.0.1.0.4",
|
||||
"author": "Creu Blanca,Odoo Community Association (OCA)",
|
||||
"website": "https://github.com/OCA/account-financial-tools",
|
||||
"license": "AGPL-3",
|
||||
|
||||
@@ -26,7 +26,10 @@ class AccountLoanLine(models.Model):
|
||||
ondelete="cascade",
|
||||
)
|
||||
company_id = fields.Many2one(
|
||||
"res.company", readonly=True, related="loan_id.company_id"
|
||||
"res.company",
|
||||
readonly=True,
|
||||
related="loan_id.company_id",
|
||||
store=True,
|
||||
)
|
||||
partner_id = fields.Many2one(
|
||||
"res.partner", readonly=True, related="loan_id.partner_id"
|
||||
|
||||
@@ -8,4 +8,13 @@
|
||||
['|',('company_id','=',False),('company_id','in',company_ids)]
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="account_loan_line_multi_company_rule" model="ir.rule">
|
||||
<field name="name">Account loan line multi-company</field>
|
||||
<field ref="model_account_loan_line" name="model_id" />
|
||||
<field eval="True" name="global" />
|
||||
<field name="domain_force">
|
||||
['|',('company_id','=',False),('company_id','in',company_ids)]
|
||||
</field>
|
||||
</record>
|
||||
</odoo>
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
@@ -367,7 +366,7 @@ ul.auto-toc {
|
||||
!! This file is generated by oca-gen-addon-readme !!
|
||||
!! changes will be overwritten. !!
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
!! source digest: sha256:352ebf0a912e2b782accbfaad15fe1f96402c8c900402da7d623ea13d1581b17
|
||||
!! source digest: sha256:d328e0b64e0fbd4fda40de7f5439428e12e5996deb3c3da36968ce41b39d38cf
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
|
||||
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/account-financial-tools/tree/16.0/account_loan"><img alt="OCA/account-financial-tools" src="https://img.shields.io/badge/github-OCA%2Faccount--financial--tools-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/account-financial-tools-16-0/account-financial-tools-16-0-account_loan"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/account-financial-tools&target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
|
||||
<p>This module extends the functionality of accounting to support loans.
|
||||
|
||||
Reference in New Issue
Block a user