<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Odoo/addons/l10n_be_edi, 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_edi_ubl: extracting the pdf from the imported xml doesn't raise an exception any more when creating a new invoice</title>
<updated>2021-04-21T07:40:32+00:00</updated>
<author>
<name>Benjamin Frantzen (bfr)</name>
<email>bfr@odoo.com</email>
</author>
<published>2021-04-21T07:40:32+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=0fd0fbc5c227f0a362e1efcda9eeaa5b663dc56a'/>
<id>0fd0fbc5c227f0a362e1efcda9eeaa5b663dc56a</id>
<content type='text'>
Before this commit, when an attachment was present in the xml (pdf) and the import was to create a new invoice, it crashed when trying to post the pdf on the not-yet existant invoice.

This commit also fixes:
- In the tests, `create_invoice_from_file` didn't handle the subfolder parameter correctly
- `create_invoice_from_file` now returns the created invoice

closes odoo/odoo#69582

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>
Before this commit, when an attachment was present in the xml (pdf) and the import was to create a new invoice, it crashed when trying to post the pdf on the not-yet existant invoice.

This commit also fixes:
- In the tests, `create_invoice_from_file` didn't handle the subfolder parameter correctly
- `create_invoice_from_file` now returns the created invoice

closes odoo/odoo#69582

Signed-off-by: Laurent Smet &lt;smetl@users.noreply.github.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] account_edi_ubl: remove wrong move creation when importing xml</title>
<updated>2021-04-09T10:14:02+00:00</updated>
<author>
<name>Benjamin Frantzen (bfr)</name>
<email>bfr@odoo.com</email>
</author>
<published>2021-04-02T12:38:56+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=bd91f1bc1a9d8eab20847ef95c08bfd6ed225d11'/>
<id>bd91f1bc1a9d8eab20847ef95c08bfd6ed225d11</id>
<content type='text'>
The move was created before its type was determined and the type was ignored. This could cause an issue when this method was called directly if 'default_move_type' was not set in the context (the move would therefore be an entry).
Thankfully, this shadowed another bug: when determining the type of the invoice, the context was ignored, and therefore if the file was imported as an invoice, the type determined was 'in_invoice' instead of 'out_invoice', this didn't cause any problem since the type was ignored. This commit fixes that also.

closes odoo/odoo#68702

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>
The move was created before its type was determined and the type was ignored. This could cause an issue when this method was called directly if 'default_move_type' was not set in the context (the move would therefore be an entry).
Thankfully, this shadowed another bug: when determining the type of the invoice, the context was ignored, and therefore if the file was imported as an invoice, the type determined was 'in_invoice' instead of 'out_invoice', this didn't cause any problem since the type was ignored. This commit fixes that also.

closes odoo/odoo#68702

Signed-off-by: Laurent Smet &lt;smetl@users.noreply.github.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX]account_edi_ubl : fix finding of partner using vat identification</title>
<updated>2021-04-07T10:01:43+00:00</updated>
<author>
<name>regis.pirard</name>
<email>regis.pirard@acsone.eu</email>
</author>
<published>2021-04-01T17:01:21+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=37a254116904018d39fe1a0d7073af07e7afdd4b'/>
<id>37a254116904018d39fe1a0d7073af07e7afdd4b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] base_vat: Don't always pass VAT check when validating the VAT of a partner without country_id</title>
<updated>2021-04-02T09:45:24+00:00</updated>
<author>
<name>oco-odoo</name>
<email>oco@odoo.com</email>
</author>
<published>2021-03-23T15:29:47+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=72b7fb15db4df1a3336bc6e90fe60f49877c52f8'/>
<id>72b7fb15db4df1a3336bc6e90fe60f49877c52f8</id>
<content type='text'>
Before this, when making a partner without any country_id, any VAT could be set to it, which was inconsistent with the module's purpose.

closes odoo/odoo#68492

X-original-commit: 4c962437bd59a1e9302d8034e8870880994eb713
Related: odoo/enterprise#17358
Signed-off-by: Cedric Snauwaert (csn) &lt;csn@openerp.com&gt;
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>
Before this, when making a partner without any country_id, any VAT could be set to it, which was inconsistent with the module's purpose.

closes odoo/odoo#68492

X-original-commit: 4c962437bd59a1e9302d8034e8870880994eb713
Related: odoo/enterprise#17358
Signed-off-by: Cedric Snauwaert (csn) &lt;csn@openerp.com&gt;
Signed-off-by: oco-odoo &lt;oco-odoo@users.noreply.github.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] l10n_be_edi: only add the pdf to the xml if it exists</title>
<updated>2021-02-22T09:56:33+00:00</updated>
<author>
<name>Benjamin Frantzen (bfr)</name>
<email>bfr@odoo.com</email>
</author>
<published>2021-02-22T09:17:05+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=ec72e3f02f4854870faccdbbb1048e5be62fa6af'/>
<id>ec72e3f02f4854870faccdbbb1048e5be62fa6af</id>
<content type='text'>
Before this commit, in some cases the attachment of the Belgian EDI might not exist any longer when printing the pdf, which caused a crash when trying to embed it into the xml.

closes odoo/odoo#66588

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>
Before this commit, in some cases the attachment of the Belgian EDI might not exist any longer when printing the pdf, which caused a crash when trying to embed it into the xml.

closes odoo/odoo#66588

Signed-off-by: Laurent Smet &lt;smetl@users.noreply.github.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] l10n_be_edi: added the pdf report inside the xml as a base64 string</title>
<updated>2021-02-05T14:52:02+00:00</updated>
<author>
<name>Benjamin Frantzen (bfr)</name>
<email>bfr@odoo.com</email>
</author>
<published>2020-09-16T12:31:09+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=5e16044b8d5194f9ce3aa8d43a9923896b8abfdf'/>
<id>5e16044b8d5194f9ce3aa8d43a9923896b8abfdf</id>
<content type='text'>
This is a requirement for the e-fff format.

TASK ID: 2339062
Ticket ID: 2394614

closes odoo/odoo#64467

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 is a requirement for the e-fff format.

TASK ID: 2339062
Ticket ID: 2394614

closes odoo/odoo#64467

Signed-off-by: Laurent Smet &lt;smetl@users.noreply.github.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] account_edi: Better OCR management in tests</title>
<updated>2020-12-03T10:05:24+00:00</updated>
<author>
<name>Benjamin Frantzen (bfr)</name>
<email>bfr@odoo.com</email>
</author>
<published>2020-12-03T08:05:16+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=def8eb4b51a80587f2b4a17da82ceb3abb7f017c'/>
<id>def8eb4b51a80587f2b4a17da82ceb3abb7f017c</id>
<content type='text'>
When importing an xml in tests, if the import fails, the OCR will try to parse the file, which will cause an user access error. This polutes the logs and makes it hard to debug the code/test. With this commit a helper is added to create and invoice with OCR deactivated to be used to import the file.

closes odoo/odoo#62730

Related: odoo/enterprise#15124
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>
When importing an xml in tests, if the import fails, the OCR will try to parse the file, which will cause an user access error. This polutes the logs and makes it hard to debug the code/test. With this commit a helper is added to create and invoice with OCR deactivated to be used to import the file.

closes odoo/odoo#62730

Related: odoo/enterprise#15124
Signed-off-by: Laurent Smet &lt;smetl@users.noreply.github.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[FIX] l10n_be_edi: missing dependency to account_edi_ubl</title>
<updated>2020-12-02T11:22:23+00:00</updated>
<author>
<name>Benjamin Frantzen (bfr)</name>
<email>bfr@odoo.com</email>
</author>
<published>2020-12-02T11:22:23+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=59d16513a019d52dd090e09c09be4675aa868baf'/>
<id>59d16513a019d52dd090e09c09be4675aa868baf</id>
<content type='text'>
Because the Belgian edi format is UBL and therefore dependent of the base module</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Because the Belgian edi format is UBL and therefore dependent of the base module</pre>
</div>
</content>
</entry>
<entry>
<title>[IMP] account_edi: added flows to manage web-services and payments.</title>
<updated>2020-08-17T10:22:01+00:00</updated>
<author>
<name>Benjamin Frantzen (bfr)</name>
<email>bfr@odoo.com</email>
</author>
<published>2020-05-26T12:53:23+00:00</published>
<link rel='alternate' type='text/html' href='http://erp.ceuconsult.com:9000/Odoo/commit/?id=013936261b26c601ce55015dbbbb99a7313a9a39'/>
<id>013936261b26c601ce55015dbbbb99a7313a9a39</id>
<content type='text'>
Added edi.documents representing an electronic document for a move and an edi.format.
A format can be asynchronous if it needs to call a web-service to generate the document, it will then be generated by the CRON (otherwise it's generated in post).
The formats can support payments if needed (can be generated immediately or by the CRON).
Added support for errors and related views.
Setting defaults format on a journal can be done automatically (based on a hook).
Added tests : xml comparaison with diff and helpers to test a EDI import/export

--task: 2247368</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added edi.documents representing an electronic document for a move and an edi.format.
A format can be asynchronous if it needs to call a web-service to generate the document, it will then be generated by the CRON (otherwise it's generated in post).
The formats can support payments if needed (can be generated immediately or by the CRON).
Added support for errors and related views.
Setting defaults format on a journal can be done automatically (based on a hook).
Added tests : xml comparaison with diff and helpers to test a EDI import/export

--task: 2247368</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>
</feed>
