| Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
raise an exception any more when creating a new invoice
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 <smetl@users.noreply.github.com>
|
|
Inspired from http://www.datypic.com/sc/ubl21/e-cac_PaymentMeans.html
opw:2468492
closes odoo/odoo#69124
Signed-off-by: William André (wan) <wan@odoo.com>
|
|
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 <smetl@users.noreply.github.com>
|
|
|
|
closes odoo/odoo#68311
Related: odoo/enterprise#17273
Signed-off-by: oco-odoo <oco-odoo@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
This is a requirement for the e-fff format.
TASK ID: 2339062
Ticket ID: 2394614
closes odoo/odoo#64467
Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
|
|
The text of the node 'cac:AdditionalDocumentReference/cbc:ID', which should contain the name of the pdf file in an e-fff document is incorrectly set by some software, and may contain the path to the file and/or the name of the xml instead of the pdf. Based on this information, we extract the stem only and append the .pdf extension to form a valid filename for the pdf.
TASK ID: 2339062
|
|
|
|
|
|
|
|
|
|
|
|
|
|
EAN13 is not a field, barcode is the correct field
closes odoo/odoo#62798
X-original-commit: b0e3f711be86e587b0ea1c7671bfab6c7bf10894
Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
Signed-off-by: bfr-o <bfr-o@users.noreply.github.com>
|
|
If the pdf is present in the UBL XML in base64 can have incorrect padding resulting in a crash when saving the attachment. This corrects the padding.
|
|
|
|
Courtesy of Transifex's translators for reporting bad/unclear sentences.
closes odoo/odoo#62539
Related: odoo/enterprise#15032
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
|
|
|
|
|
|
|
|
Except Spanish, waiting for cleanup
closes odoo/odoo#60848
Related: odoo/enterprise#14421
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
|
|
There was a problem in the Transifex translations for Spanish and all
translations were overwritten by mistake with english defaults.
This commit reverts all modified es.po files to their previous version
while we work to restore the translations on Transifex.
|
|
|
|
Description is line.name but if this field is not defined the tag in the XML should not be set.
closes odoo/odoo#60092
Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
|
|
|
|
From odoo/odoo#57260
closes odoo/odoo#59455
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
|
|
Steps to reproduce the bug:
- Install Belgian accounting
- Switch to the Belgian company
- Activate Sales -> Settings -> Pricing -> Discounts
- Create a sale order with a discount
- Confirm the sale order
- Add the delivered quantity
- Click "Create Invoice" and then "Create and View Invoice"
- Confirm the invoice
Bug:
Traceback:
Error to render compiling AST
TypeError: 'NoneType' object is not callable
Template: account_edi_ubl.export_ubl_invoice_line
Path: /t/cac:InvoiceLine/cbc:Note
opw:2355296
closes odoo/odoo#59433
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
|
|
|
|
Including demo data this time
closes odoo/odoo#58821
Related: odoo/enterprise#13682
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
|
|
- E-FFF import moved from l10n_be_edi into a generic UBL import.
- [FIX] when importing if LineExtensionAmount is set but not PriceUnit on a move line, the price was not imported.
- Added export to generic UBL 2.1.
|