<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Odoo/addons/account/views, 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: set default_partner_id to bank_partner_id for partner_bank_id</title>
<updated>2021-05-25T09:36:11+00:00</updated>
<author>
<name>jbw</name>
<email>jbw@odoo.com</email>
</author>
<published>2021-05-25T09:36:11+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=e18e256137e4593aee0cb6f1d0fcc4168dff79c1'/>
<id>e18e256137e4593aee0cb6f1d0fcc4168dff79c1</id>
<content type='text'>
Change “default_partner_id” from “commercial_partner_id” to “bank_partner_id”
for “partner_bank_id” field in from view. If not, on an invoice, a newly created
partner bank (via “Recipient Bank” field) would be created for the partner
instead of the current company.

closes odoo/odoo#71213

Task: 2524441
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>
Change “default_partner_id” from “commercial_partner_id” to “bank_partner_id”
for “partner_bank_id” field in from view. If not, on an invoice, a newly created
partner bank (via “Recipient Bank” field) would be created for the partner
instead of the current company.

closes odoo/odoo#71213

Task: 2524441
Signed-off-by: Quentin De Paoli (qdp) &lt;qdp@openerp.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] account: Prevent user to change product via journal items after posting</title>
<updated>2021-05-07T08:19:30+00:00</updated>
<author>
<name>Achraf (abz)</name>
<email>abz@odoo.com</email>
</author>
<published>2021-05-05T09:02:51+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=c449fcb6274c9e68d4470423b5e2d91df3566615'/>
<id>c449fcb6274c9e68d4470423b5e2d91df3566615</id>
<content type='text'>
What are the steps to reproduce your issue ?

    1. Go to Account/Journal Items
    2. Open a posted item
    3. Change product

What is currently happening ?

    The product is changed in the account move

What are you expecting to happen ?

    The account move lines cannot be changed when the status is posted

How to fix the bug ?

    Make the field read-only when the status is posted

opw-2517325

closes odoo/odoo#70514

X-original-commit: 0b0cd8fa2a7b3363d3f118ba183fbc00046ed04d
Signed-off-by: William André (wan) &lt;wan@odoo.com&gt;
Signed-off-by: Achraf &lt;abz-odoo@users.noreply.github.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
What are the steps to reproduce your issue ?

    1. Go to Account/Journal Items
    2. Open a posted item
    3. Change product

What is currently happening ?

    The product is changed in the account move

What are you expecting to happen ?

    The account move lines cannot be changed when the status is posted

How to fix the bug ?

    Make the field read-only when the status is posted

opw-2517325

closes odoo/odoo#70514

X-original-commit: 0b0cd8fa2a7b3363d3f118ba183fbc00046ed04d
Signed-off-by: William André (wan) &lt;wan@odoo.com&gt;
Signed-off-by: Achraf &lt;abz-odoo@users.noreply.github.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] account: prevent creation of JE on analytic line creation</title>
<updated>2021-05-05T09:00:38+00:00</updated>
<author>
<name>Adrien Widart</name>
<email>awt@odoo.com</email>
</author>
<published>2021-05-04T10:46:29+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=c578c2e52dcf347de9734462d3dcf7b7df042c60'/>
<id>c578c2e52dcf347de9734462d3dcf7b7df042c60</id>
<content type='text'>
When the user creates a new account analytic line, he should not be able
to create a new journal item.

To reproduce the error:
(Use demo data)
1. In Settings, enable "Analytic Accounting"
2. Accounting &gt; Configuration &gt; Analytic Accounts &gt; Administrative &gt;
Cost/Revenue
3. Create a new one
4. Click on "Journal Item" list

Error: the list contains the "Create and Edit..." option. Such an action
should not be possible.

OPW-2481197

closes #69881

closes odoo/odoo#70380

X-original-commit: f3ef533ed18c996f7f87c9596135e450479a8c19
Signed-off-by: Quentin De Paoli (qdp) &lt;qdp@openerp.com&gt;
Signed-off-by: Adrien Widart &lt;adwid@users.noreply.github.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When the user creates a new account analytic line, he should not be able
to create a new journal item.

To reproduce the error:
(Use demo data)
1. In Settings, enable "Analytic Accounting"
2. Accounting &gt; Configuration &gt; Analytic Accounts &gt; Administrative &gt;
Cost/Revenue
3. Create a new one
4. Click on "Journal Item" list

Error: the list contains the "Create and Edit..." option. Such an action
should not be possible.

OPW-2481197

closes #69881

closes odoo/odoo#70380

X-original-commit: f3ef533ed18c996f7f87c9596135e450479a8c19
Signed-off-by: Quentin De Paoli (qdp) &lt;qdp@openerp.com&gt;
Signed-off-by: Adrien Widart &lt;adwid@users.noreply.github.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] account: Impossible to create account type</title>
<updated>2021-04-15T09:09:31+00:00</updated>
<author>
<name>Goffin Simon</name>
<email>sig@odoo.com</email>
</author>
<published>2021-04-15T09:09:31+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=bacfea994ce7232af33d7e5525a5b56d5cba5871'/>
<id>bacfea994ce7232af33d7e5525a5b56d5cba5871</id>
<content type='text'>
Steps to reproduce the bug:

- Go to Accounting&gt;Journals and create new record
- In advanced settings tab, use 'Allowed Account Types' field to create a new one

Bug:

Form for account type does not have required internal_group

Introduced by https://github.com/odoo/odoo/commit/5aeec0c3dcd8aa20293167073f3f4f5cec323b74

opw:2497616

closes odoo/odoo#69169

Signed-off-by: William André (wan) &lt;wan@odoo.com&gt;
Signed-off-by: Simon Goffin (sig) &lt;sig@openerp.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Steps to reproduce the bug:

- Go to Accounting&gt;Journals and create new record
- In advanced settings tab, use 'Allowed Account Types' field to create a new one

Bug:

Form for account type does not have required internal_group

Introduced by https://github.com/odoo/odoo/commit/5aeec0c3dcd8aa20293167073f3f4f5cec323b74

opw:2497616

closes odoo/odoo#69169

Signed-off-by: William André (wan) &lt;wan@odoo.com&gt;
Signed-off-by: Simon Goffin (sig) &lt;sig@openerp.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] account: check non reconcilable accounts for configured journals</title>
<updated>2021-04-15T10:21:22+00:00</updated>
<author>
<name>Julien CHEVREAU (JCU)</name>
<email>jcu@odoo.com</email>
</author>
<published>2021-04-13T16:52:38+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=87c207f3a408abb93d9b8378ef4aa1744935d86d'/>
<id>87c207f3a408abb93d9b8378ef4aa1744935d86d</id>
<content type='text'>
Beforehand, users could configure an account as non reconcilable
even when it was configured as a payment credit or debit account
in a journal. This prevented journal items to be reconciled

Now, when a user tries to set an account as non reconcilable,
we check if there is no journal with a payment credit or debit account
set to this particular account. If there is at least one journal,
then we display an error message stating the journals names and ids
that the user would have to modify before changing the account
configuration.

closes odoo/odoo#69205

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>
Beforehand, users could configure an account as non reconcilable
even when it was configured as a payment credit or debit account
in a journal. This prevented journal items to be reconciled

Now, when a user tries to set an account as non reconcilable,
we check if there is no journal with a payment credit or debit account
set to this particular account. If there is at least one journal,
then we display an error message stating the journals names and ids
that the user would have to modify before changing the account
configuration.

closes odoo/odoo#69205

Signed-off-by: Laurent Smet &lt;smetl@users.noreply.github.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] account: allow to display the line currency when exporting to xlsx</title>
<updated>2021-02-02T09:41:28+00:00</updated>
<author>
<name>Nicolas (vin)</name>
<email>vin@odoo.com</email>
</author>
<published>2020-11-26T12:23:00+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=4b0f86107e9ecaf734ebc95ccc0013cc25c65e64'/>
<id>4b0f86107e9ecaf734ebc95ccc0013cc25c65e64</id>
<content type='text'>
Currently, when exporting move lines via for example the partner ledger,
we are not displaying the currency in any way in the xlsx.

For some company, this can be limiting since they may want to do
post-treatment inside the file after export, which can require such
information.

This change will add the 'always_set_currency_id' field as optional
into the list view of the amls, allowing to keep the information about
the currency when exporting if needed.

task id #2381355

closes odoo/odoo#65350

X-original-commit: b314e6dc072fa7ea0ca326de2469e56e1baa2884
Signed-off-by: Quentin De Paoli (qdp) &lt;qdp@openerp.com&gt;
Signed-off-by: William André (wan) &lt;wan@odoo.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently, when exporting move lines via for example the partner ledger,
we are not displaying the currency in any way in the xlsx.

For some company, this can be limiting since they may want to do
post-treatment inside the file after export, which can require such
information.

This change will add the 'always_set_currency_id' field as optional
into the list view of the amls, allowing to keep the information about
the currency when exporting if needed.

task id #2381355

closes odoo/odoo#65350

X-original-commit: b314e6dc072fa7ea0ca326de2469e56e1baa2884
Signed-off-by: Quentin De Paoli (qdp) &lt;qdp@openerp.com&gt;
Signed-off-by: William André (wan) &lt;wan@odoo.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] account: Journal Entry  displayd as invoice</title>
<updated>2021-03-29T15:07:47+00:00</updated>
<author>
<name>Goffin Simon</name>
<email>sig@odoo.com</email>
</author>
<published>2021-03-29T15:07:47+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=fda784cd6a831fb799767a486320574e754d20df'/>
<id>fda784cd6a831fb799767a486320574e754d20df</id>
<content type='text'>
Steps to reproduce the bug:

1/ Create an opening balance Journal Entry with debit 100$ "121000 Account Receivable" and credit 100$ on another account
2/ Create an invoice for 150$
3/ Register a payment of 250$ for this invoice
4/ Reconcile the Journal Item of the payment (with "121000 Account Receivable" as account) with the opening balance =&gt; this line should be now fully reconcile
5/ Go to the payment and try to print the payment receipt

Bug:

The opening balance was shown as an invoice

opw:2448349

closes odoo/odoo#68478

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>
Steps to reproduce the bug:

1/ Create an opening balance Journal Entry with debit 100$ "121000 Account Receivable" and credit 100$ on another account
2/ Create an invoice for 150$
3/ Register a payment of 250$ for this invoice
4/ Reconcile the Journal Item of the payment (with "121000 Account Receivable" as account) with the opening balance =&gt; this line should be now fully reconcile
5/ Go to the payment and try to print the payment receipt

Bug:

The opening balance was shown as an invoice

opw:2448349

closes odoo/odoo#68478

Signed-off-by: Laurent Smet &lt;smetl@users.noreply.github.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] account: Fix use_in_tax_closing on 'base' lines</title>
<updated>2021-02-19T14:25:02+00:00</updated>
<author>
<name>Laurent Smet</name>
<email>las@odoo.com</email>
</author>
<published>2021-02-19T14:25:02+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=69ba2db0cb480c298400fa0bbcbb1a7aa9a0a96b'/>
<id>69ba2db0cb480c298400fa0bbcbb1a7aa9a0a96b</id>
<content type='text'>
This field shouldn't be visible on the view for 'base' repartition lines.

closes odoo/odoo#66541

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>
This field shouldn't be visible on the view for 'base' repartition lines.

closes odoo/odoo#66541

Signed-off-by: oco-odoo &lt;oco-odoo@users.noreply.github.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] account: Purchase journal and Sale journal</title>
<updated>2021-01-21T09:01:23+00:00</updated>
<author>
<name>Goffin Simon</name>
<email>sig@odoo.com</email>
</author>
<published>2021-01-19T10:45:02+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=c0af2df89dbe8f0cea384f15b2a7e3d53a16dfc6'/>
<id>c0af2df89dbe8f0cea384f15b2a7e3d53a16dfc6</id>
<content type='text'>
A purchase journal cannot be created without a default expense account
A sale journal cannot be created without a default income account

opw:2431278

closes odoo/odoo#64741

Signed-off-by: Simon Goffin (sig) &lt;sig@openerp.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A purchase journal cannot be created without a default expense account
A sale journal cannot be created without a default income account

opw:2431278

closes odoo/odoo#64741

Signed-off-by: Simon Goffin (sig) &lt;sig@openerp.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] account: Hide 'Cut-off' button on invoice if not posted entry</title>
<updated>2021-01-14T11:01:23+00:00</updated>
<author>
<name>Laurent Smet</name>
<email>las@odoo.com</email>
</author>
<published>2021-01-14T11:01:23+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=28b748a559e1ffb5fb7c3631bf77adba121b2ebf'/>
<id>28b748a559e1ffb5fb7c3631bf77adba121b2ebf</id>
<content type='text'>
If the journal entry is not posted, the 'Cut-off' button must not be visible on invoice lines.

closes odoo/odoo#64531

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>
If the journal entry is not posted, the 'Cut-off' button must not be visible on invoice lines.

closes odoo/odoo#64531

Signed-off-by: oco-odoo &lt;oco-odoo@users.noreply.github.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
