<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Odoo/addons/account/__init__.py, branch 14.0</title>
<subtitle>The current checkout of upstream Odoo</subtitle>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/'/>
<entry>
<title>[FIX] account: do not auto install modules that depend on Accounting</title>
<updated>2020-10-14T11:38:34+00:00</updated>
<author>
<name>wan</name>
<email>wan@odoo.com</email>
</author>
<published>2020-10-13T11:40:09+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=f997bc8f6e9d5138de6faed80e9774d359bfbe8d'/>
<id>f997bc8f6e9d5138de6faed80e9774d359bfbe8d</id>
<content type='text'>
Moved in the post init hook of account_accountant

closes odoo/odoo#59849

Related: odoo/enterprise#14021
Signed-off-by: Quentin De Paoli (qdp) &lt;qdp@openerp.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Moved in the post init hook of account_accountant

closes odoo/odoo#59849

Related: odoo/enterprise#14021
Signed-off-by: Quentin De Paoli (qdp) &lt;qdp@openerp.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] account: fix install of account installs account_accountant</title>
<updated>2020-09-18T16:52:11+00:00</updated>
<author>
<name>Paul Morelle</name>
<email>pmo@odoo.com</email>
</author>
<published>2020-09-16T09:49:37+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=17c39f2eb543851305ca2c4cce5c046dd34c29f5'/>
<id>17c39f2eb543851305ca2c4cce5c046dd34c29f5</id>
<content type='text'>
Bug description:

Installing Invoicing on a database whose company is configured in the
SEPA zone, results in installing Accounting

Steps to reproduce on the Runbot:

- Start from a base enterprise database
- Go to Settings &gt; Users &amp; Companies &gt; Companies and configure the
  address of MyCompany to the SEPA zone (e.g. Belgium)
- Go to Apps and install Invoicing
- The Accounting application has been installed

Explanation:

The module account_sepa depends on account_batch_payment, which depends
on account_accountant.
The post_init_hook of account, _auto_install_l10n, adds the account_sepa
module to the installation if the country_code of the company is in the
SEPA zone.
The same side-effect is observed with account_bank_statement_import_camt
which depends on account_bank_statement_import, which depends on
account_accountant.

The fix is to remove the installation of these modules from the
post_init_hook of the module account, and add them to a new
post_init_hook of the module account_accountant, that will be in a PR in
the enterprise project.

closes odoo/odoo#58067

X-original-commit: db4ce56641c75403be935efa072687bff65c7bb2
Related: odoo/enterprise#13361
Signed-off-by: Quentin De Paoli (qdp) &lt;qdp@openerp.com&gt;
Signed-off-by: Paul Morelle &lt;madprog@users.noreply.github.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug description:

Installing Invoicing on a database whose company is configured in the
SEPA zone, results in installing Accounting

Steps to reproduce on the Runbot:

- Start from a base enterprise database
- Go to Settings &gt; Users &amp; Companies &gt; Companies and configure the
  address of MyCompany to the SEPA zone (e.g. Belgium)
- Go to Apps and install Invoicing
- The Accounting application has been installed

Explanation:

The module account_sepa depends on account_batch_payment, which depends
on account_accountant.
The post_init_hook of account, _auto_install_l10n, adds the account_sepa
module to the installation if the country_code of the company is in the
SEPA zone.
The same side-effect is observed with account_bank_statement_import_camt
which depends on account_bank_statement_import, which depends on
account_accountant.

The fix is to remove the installation of these modules from the
post_init_hook of the module account, and add them to a new
post_init_hook of the module account_accountant, that will be in a PR in
the enterprise project.

closes odoo/odoo#58067

X-original-commit: db4ce56641c75403be935efa072687bff65c7bb2
Related: odoo/enterprise#13361
Signed-off-by: Quentin De Paoli (qdp) &lt;qdp@openerp.com&gt;
Signed-off-by: Paul Morelle &lt;madprog@users.noreply.github.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] account: remove account_fiscal_country_* config parameter</title>
<updated>2020-08-14T07:59:16+00:00</updated>
<author>
<name>oco-odoo</name>
<email>oco@odoo.com</email>
</author>
<published>2020-08-03T09:05:02+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=07fbfbb5fb1a19821fe095e26db6fe48ebdf7aaf'/>
<id>07fbfbb5fb1a19821fe095e26db6fe48ebdf7aaf</id>
<content type='text'>
This config parameter was used in order to choose another country than the company's to select the tax report. It is now replaced by a new account_tax_fiscal_country_id field in account_reports.

closes odoo/odoo#55308

Related: odoo/enterprise#12156
Related: odoo/upgrade#1624
Signed-off-by: Laurent Smet &lt;smetl@users.noreply.github.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This config parameter was used in order to choose another country than the company's to select the tax report. It is now replaced by a new account_tax_fiscal_country_id field in account_reports.

closes odoo/odoo#55308

Related: odoo/enterprise#12156
Related: odoo/upgrade#1624
Signed-off-by: Laurent Smet &lt;smetl@users.noreply.github.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] l10n_*: update the module categories</title>
<updated>2020-08-07T08:30:41+00:00</updated>
<author>
<name>william</name>
<email>wan@odoo.com</email>
</author>
<published>2020-08-04T08:54:06+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=eaa7f93c0f063953af71b7b2b4bd00c61b904429'/>
<id>eaa7f93c0f063953af71b7b2b4bd00c61b904429</id>
<content type='text'>
Task 2309613

We have a new hierarchy:
* Accounting
  * [Generic, not changed]
  * Localization
    * Account Chart
    * Check
    * EDI
    * Point of Sale
    * Purchase
    * Reporting
    * Sale

This helps in displaying only the chart of accounts when clicking on
"Install more Packages" from the accounting settings in the Fiscal
Localization section.
We can also refine the search in the _auto_install_l10n post init hook
of account.

closes odoo/odoo#55384

Related: odoo/enterprise#12179
Related: odoo/upgrade#1568
Signed-off-by: Cedric Snauwaert (csn) &lt;csn@openerp.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Task 2309613

We have a new hierarchy:
* Accounting
  * [Generic, not changed]
  * Localization
    * Account Chart
    * Check
    * EDI
    * Point of Sale
    * Purchase
    * Reporting
    * Sale

This helps in displaying only the chart of accounts when clicking on
"Install more Packages" from the accounting settings in the Fiscal
Localization section.
We can also refine the search in the _auto_install_l10n post init hook
of account.

closes odoo/odoo#55384

Related: odoo/enterprise#12179
Related: odoo/upgrade#1568
Signed-off-by: Cedric Snauwaert (csn) &lt;csn@openerp.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] l10n_au: add Australian reports menuitem</title>
<updated>2020-06-15T14:09:17+00:00</updated>
<author>
<name>william</name>
<email>wan@odoo.com</email>
</author>
<published>2020-06-04T10:10:58+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=38f03c4c8a4a49bc6a3e374e1dc3fabeff087819'/>
<id>38f03c4c8a4a49bc6a3e374e1dc3fabeff087819</id>
<content type='text'>
Done in commuity so that other modules can inherit from it, but only
used in enterprise's l10n_au_reports for now.

closes odoo/odoo#49581

Related: odoo/enterprise#9907
Signed-off-by: Josse Colpaert &lt;jco@openerp.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Done in commuity so that other modules can inherit from it, but only
used in enterprise's l10n_au_reports for now.

closes odoo/odoo#49581

Related: odoo/enterprise#9907
Signed-off-by: Josse Colpaert &lt;jco@openerp.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] account: do not install l10n_generic_coa if another is installed</title>
<updated>2020-05-29T15:24:37+00:00</updated>
<author>
<name>william</name>
<email>wan@odoo.com</email>
</author>
<published>2020-05-28T14:41:34+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=fef6e133a09e9cb1a81a85b3df8c3e745a77b6cb'/>
<id>fef6e133a09e9cb1a81a85b3df8c3e745a77b6cb</id>
<content type='text'>
The module l10n_generic_coa was installed in every single case when
loading a new db from the console because the country is US by default.
If we have a `-i l10n_*`, we dont need to install another CoA based on
the country.
The fact that it is installed was messing with the demo data because we
were searching for a type of account not necessary present in the CoA
installed on the company.

closes odoo/odoo#52190

X-original-commit: d3ad353c86f7b148946f9e36457f6b002cc118c1
Signed-off-by: Laurent Smet &lt;smetl@users.noreply.github.com&gt;
Signed-off-by: wan &lt;william-andre@users.noreply.github.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The module l10n_generic_coa was installed in every single case when
loading a new db from the console because the country is US by default.
If we have a `-i l10n_*`, we dont need to install another CoA based on
the country.
The fact that it is installed was messing with the demo data because we
were searching for a type of account not necessary present in the CoA
installed on the company.

closes odoo/odoo#52190

X-original-commit: d3ad353c86f7b148946f9e36457f6b002cc118c1
Signed-off-by: Laurent Smet &lt;smetl@users.noreply.github.com&gt;
Signed-off-by: wan &lt;william-andre@users.noreply.github.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[MOV] l10n_cn: merge l10n_cn_small_business into l10n_cn</title>
<updated>2019-12-13T09:40:37+00:00</updated>
<author>
<name>wan</name>
<email>wan@odoo.com</email>
</author>
<published>2019-12-13T09:22:08+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=990f1cb5f909cd26e470b4070ab1dbfec272a4dc'/>
<id>990f1cb5f909cd26e470b4070ab1dbfec272a4dc</id>
<content type='text'>
Since commit 4d23d241bfbc85c9c6704d05b871530f806b9bea, there is only one
CoA left for China. No need to have 2 separate modules.

Also, the translation in english was broken.

closes odoo/odoo#41826

Signed-off-by: Josse Colpaert &lt;jco@openerp.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since commit 4d23d241bfbc85c9c6704d05b871530f806b9bea, there is only one
CoA left for China. No need to have 2 separate modules.

Also, the translation in english was broken.

closes odoo/odoo#41826

Signed-off-by: Josse Colpaert &lt;jco@openerp.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] various : remove-bic-constraint-on-sepa-operations</title>
<updated>2019-11-28T15:35:42+00:00</updated>
<author>
<name>jbw</name>
<email>jbw@odoo.com</email>
</author>
<published>2019-11-14T15:32:38+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=6c9a7592a47f4a416827ce5dd561fd6f9edaa26d'/>
<id>6c9a7592a47f4a416827ce5dd561fd6f9edaa26d</id>
<content type='text'>
{ As the SEPA BIC is no longer mandatory we simplify bank creation removing constrains about BIC }
As of 01/02/2016, the BIC is no longer mandatory, you can see the page 25 ==&gt; https://www.febelfin.be/sites/default/files/2019-04/standard-xml-sdd-initiation-_v4.1a-en.pdf
As a result, in order to simplify both the code and the process, we don’t want anymore constrains about that.

task : https://www.odoo.com/web#id=2056370&amp;action=327&amp;model=project.task&amp;view_type=form&amp;menu_id=4720

&gt; We don't need BIC for both the company iban bank account or customer/vendor iban bank account
&gt; If a vendor bill is linked to a valid IBAN bank account without BIC, show the QRcode (remove the BIC constrains )
&gt; CREATE A SDD mandate should be possible without BIC (for both the company iban bank account or customer/vendor iban bank account)
&gt; Create a SCT payment should be possible without BIC (for both the company iban bank account or customer/vendor iban bank account)
&gt; Add a country group for SEPA zone
&gt; Add IBAN country codes for each country in base_iban module
&gt; Only display qr code when making a payment to an IBAN account whose country code corresponds to a SEPA member
&gt; in account's post init hook, install SEPA modules if the country of the company belgons to SEPA zone (instead of Europe, as it is now)

closes odoo/odoo#40356

Related: odoo/enterprise#6738
Signed-off-by: oco-odoo &lt;oco-odoo@users.noreply.github.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
{ As the SEPA BIC is no longer mandatory we simplify bank creation removing constrains about BIC }
As of 01/02/2016, the BIC is no longer mandatory, you can see the page 25 ==&gt; https://www.febelfin.be/sites/default/files/2019-04/standard-xml-sdd-initiation-_v4.1a-en.pdf
As a result, in order to simplify both the code and the process, we don’t want anymore constrains about that.

task : https://www.odoo.com/web#id=2056370&amp;action=327&amp;model=project.task&amp;view_type=form&amp;menu_id=4720

&gt; We don't need BIC for both the company iban bank account or customer/vendor iban bank account
&gt; If a vendor bill is linked to a valid IBAN bank account without BIC, show the QRcode (remove the BIC constrains )
&gt; CREATE A SDD mandate should be possible without BIC (for both the company iban bank account or customer/vendor iban bank account)
&gt; Create a SCT payment should be possible without BIC (for both the company iban bank account or customer/vendor iban bank account)
&gt; Add a country group for SEPA zone
&gt; Add IBAN country codes for each country in base_iban module
&gt; Only display qr code when making a payment to an IBAN account whose country code corresponds to a SEPA member
&gt; in account's post init hook, install SEPA modules if the country of the company belgons to SEPA zone (instead of Europe, as it is now)

closes odoo/odoo#40356

Related: odoo/enterprise#6738
Signed-off-by: oco-odoo &lt;oco-odoo@users.noreply.github.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] account: UK country code</title>
<updated>2019-08-20T07:34:37+00:00</updated>
<author>
<name>Nicolas Martinelli</name>
<email>nim@odoo.com</email>
</author>
<published>2019-08-20T07:34:37+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=ddeb7b7cb0e6ffbdfc5ac38541519eb8e37d6bf3'/>
<id>ddeb7b7cb0e6ffbdfc5ac38541519eb8e37d6bf3</id>
<content type='text'>
The country code for United Kingdom is GB.

closes odoo/odoo#35828

Signed-off-by: Nicolas Martinelli (nim) &lt;nim@odoo.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The country code for United Kingdom is GB.

closes odoo/odoo#35828

Signed-off-by: Nicolas Martinelli (nim) &lt;nim@odoo.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] api.py: Rename company_id/company_ids into company/companies</title>
<updated>2019-05-29T08:09:15+00:00</updated>
<author>
<name>Yannick Tivisse</name>
<email>yti@odoo.com</email>
</author>
<published>2019-05-22T09:03:55+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=f5dfe4727c086c7577da2aef12c2d3548ba938a3'/>
<id>f5dfe4727c086c7577da2aef12c2d3548ba938a3</id>
<content type='text'>
The goal is to be coherent with the user property.

Actually, company_id and company_ids on the environment are no fields.

Calling env.company_id returns a browse record, not an id.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The goal is to be coherent with the user property.

Actually, company_id and company_ids on the environment are no fields.

Calling env.company_id returns a browse record, not an id.</pre>
</div>
</content>
</entry>
</feed>
