Commit Graph
2538 Commits
Author SHA1 Message Date
Cédric Krier 8f08fcf6bf Add UNECE allowance, charge and special service code 2026-01-26 15:42:27 +01:00
Cédric Krier 49bcf51aca Import UBL allowance/charge as invoice lines
Closes #14524
2026-01-26 12:08:41 +01:00
Cédric Krier 7620829d61 Search for similar invoice line with the same category of unit for UBL invoice line
Closes #14548
2026-01-23 18:50:42 +01:00
Cédric Krier daad7943e6 Set the invoice type on invoice line from UBL invoice
The invoice type is needed to set the right account from the product.

Closes #14547
2026-01-23 15:29:07 +01:00
Cédric Krier 7c8e7bc23f Group tax lines per tax having the same UNECE codes in UBL invoice 2026-01-23 13:02:19 +01:00
Cédric Krier 0c503833d3 Do not group taxes by tax group in UBL invoice and credit note
The Peppol UBL rules limit to a single TaxTotal.

Closes #14542
2026-01-23 11:05:13 +01:00
Maxime Richez 93d0ea51f5 Do not coalesce quotation validity to generate domain for expired quotations
Closes #14558
2026-01-26 13:37:04 +01:00
Cédric Krier 680344c92b Format float and computed Decimal using fixed-point notation
This avoid the usage of scientific notation.
For float we must convert them to Decimal to get a precision large enough to
show all coefficient digits.
For computed Decimal (which are thus not rounded) we must normalized them first
to avoid trailing 0.

Closes #14522
2026-01-20 09:19:12 +01:00
Cédric Krier 8ae58308ce Use schemeID to search for identifier of the same type
Closes #14516
2026-01-19 11:43:28 +01:00
Cédric Krier 90ef7c822c Use the company IDs from UBL as identifier
Closes #14515
2026-01-19 11:48:55 +01:00
Cédric Krier 451a5b9fc7 Create the party name using the registration name of the legal entity from UBL first
Closes #14514
2026-01-19 11:34:14 +01:00
Cédric Krier b211b58884 Always set a value for invoice line unit from UBL invoice and credit note
The search for similar line needs to test if the unit has a value or not.

Closes #14544
2026-01-23 12:12:27 +01:00
Cédric Krier dd7d8c5459 Use ZZ as default unit code for UBL 2026-01-22 17:41:04 +01:00
Cédric Krier 59e04dbf59 Do not search unit of measure for unit code ZZ and XZZ from UBL
The mutually defined unit should let the system choose a default unit.

Closes #14537
2026-01-22 17:39:35 +01:00
Cédric Krier acb2d60609 Prevent registering unit of measure with the UNECE code ZZ and XZZ
The mutually defined unit is not a real unit.
2026-01-22 17:38:18 +01:00
Cédric Krier 6e6b1f4061 Be more flexible when converting Peppyrus document type into edocument type
Closes #14519
2026-01-19 16:21:30 +01:00
Cédric Krier 08bb367b7d Use the normalized format for the over shipment of sale 2026-01-09 17:14:17 +01:00
Cédric Krier a3eb5e234e Add optionally gift card boolean to product list 2026-01-09 17:10:58 +01:00
Cédric Krier 6b672742de Add effective date, delay and warehouse to production list 2026-01-08 12:11:00 +01:00
Cédric Krier d44ce136fd Remove duplicate fields from production inherited from ShipmentMixin 2026-01-08 12:06:47 +01:00
Cédric Krier be708ea16c Store original planned date of requested internal shipments and productions
Closes #14477
2026-01-08 12:04:46 +01:00
Cédric Krier 70701c14e4 Add depends on methods of TaxableMixin 2026-01-17 12:54:09 +01:00
Cédric Krier df02ade40e Always return a date for tax date of TaxableMixin
Closes #14486
2026-01-17 12:53:33 +01:00
Cédric Krier 0d4ec58be9 Increase the maximum sleep for Peppyrus test scenario
20 seconds is not always enough for Peppyrus to process the message posted.
2026-01-24 19:25:47 +01:00
Cédric Krier ededbdb3c9 Do not convert input when converting between the same unit
Applying the factor/rate twice may loose precision if one of the number is a
rational with recurring decimal.

Closes #14501
2026-01-15 17:20:32 +01:00
Cédric Krier 212d6e5a45 Round quantity instead of truncate for Shopify fulfillment
Closes #14502
2026-01-15 17:28:20 +01:00
Cédric Krier 2e6dc5f27c Lock the sale being processed for Shopify
Closes #14500
2026-01-15 15:22:09 +01:00
Cédric Krier e543e295cf Add company clause to balance domain for direct debit reception
Closes #14499
2026-01-15 14:41:53 +01:00
Cédric Krier 241437dfad Use dash instead of hyphen in Egyptian street format
Closes #14498
2026-01-14 19:25:17 +01:00
Cédric Krier c0211b8c3d Add invoice data when processing supplier invoice line with purchase from OCR service
010fe207dda7 added an extra invoice_data argument but not to the purchase extension.

Closes #14512
2026-01-17 15:45:13 +01:00
Cédric Krier 3cbfdfcf69 Add missing purchase reporting views from 49a612454113
Closes #14497
2026-01-14 19:04:50 +01:00
Cédric Krier 17d953ae7d Fill buyer's item identification in UBL invoice
Closes #14470
2026-01-06 17:42:51 +01:00
Cédric Krier 36ab6d1d17 Add supplier and customer code properties to invoice line 2026-01-06 17:41:05 +01:00
Cédric Krier 74e7690c04 Add cron job to reconcile move lines
Closes #14468
2026-01-06 11:38:37 +01:00
Cédric Krier 1f702e7151 Add support for payment reference for incoming invoice
Closes #14465
2026-01-05 12:15:49 +01:00
Cédric Krier 067386378a Warn against creating an overpayment
Closes #14457
2025-12-31 15:57:40 +01:00
Cédric Krier 9473804208 Fallback to location key from context to compute product quantity
The location key is used for stock reporting so when browsing from such report,
it is good that the selected location is still used for stock calculation.
2025-12-30 17:41:36 +01:00
Cédric Krier 06c2a56e69 Use Many2One field for product and variant on stock reporting
Closes #14456
2025-12-30 17:42:00 +01:00
Adrià Tarroja Caubet e63358d39c Leave the quotation date field empty when copying sales
Closes #14358
2026-01-18 16:51:32 +01:00
Adrià Tarroja Caubet cc3184f226 Remove unused Model in account stock continental scenario 2026-01-18 14:59:49 +01:00
Cédric Krier ee041a5a7e Update sign of amount line paid according to invoice type and payment kind
Closes #14070
2026-01-10 19:40:21 +01:00
Cédric Krier d098761e3a Call on change type and company when initialize invoice for incoming document
Closes #14174
2026-01-10 18:53:51 +01:00
Sergi Almacellas Abellana bd28b0a552 Set the invoice date to read-only once the invoice has been validated or posted
Closes #14480
2026-01-18 00:18:32 +01:00
Cédric Krier c823ca38a9 Use only production inputs or outputs for lot trace
The production moves can not have any other traces than their sibling moves.

Closes #14385
2026-01-07 08:29:45 +01:00
Cédric Krier 72492c3952 Do not try to fulfill on Shopify cancelled or closed fulfillment order
Closes #14479
2026-01-09 11:34:16 +01:00
Cédric Krier 353cfbdd5c Always switch to the next account party when lines have been reconciled
Closes #14467
2026-01-05 23:58:44 +01:00
Cédric Krier 93fad8dcf5 Use only a limited set of tags for PEPPOL Address
Closes #14494
2026-01-14 14:47:25 +01:00
Cédric Krier abe709a876 Use document namespace and local name to calculate the document type for Peppyrus
Closes #14503
2026-01-15 18:13:06 +01:00
Cédric Krier 91c5a087fb Use root prefix to retrieve the namespace of UBL document
Closes #14490
2026-01-14 14:39:08 +01:00
Cédric Krier af815d48e2 Replace UNPROCESSABLE_CONTENT status by UNPROCESSABLE_ENTITY
UNPROCESSABLE_CONTENT is only available since Python 3.13

Closes #14491
2026-01-13 20:05:34 +01:00