summaryrefslogtreecommitdiff
path: root/addons/delivery
AgeCommit message (Collapse)Author
2021-05-30[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-05-16[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-05-09[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-05-06[FIX] delivery: Backorder shipping cost with invoice policy in realPete Snyder
Steps to reproduce the bug: - Let's consider a delivery carrier DC with invoice policy = 'real' - Let's consider a consumable product P with a weight = 1kg and sales price = 10€ - Create a sale order SO with 2 P and add DC as shipping cost - Process the shipment for 1 P and create a backorder - Process the second shipment with the last P Bug: Two lines L1, L2 with DC were created on SO but only L1 as a price unit and a description. L2 had a price unit = 0€ and no description. opw:2520135 closes odoo/odoo#70454 Signed-off-by: Simon Goffin (sig) <sig@openerp.com> Co-authored-by: simongoffin <sig@odoo.com>
2021-05-02[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-04-26[FIX] delivery: do not overlap smart buttonSwapnesh Shah
This commit is fixing two issues: 1: make ribbon translatable 2: display ribbon below smart button closes #68438 closes odoo/odoo#69815 Signed-off-by: Nicolas Lempereur (nle) <nle@odoo.com>
2021-04-25[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-04-18[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-04-09[FIX] account: Check Move Status Before PostingJulien CHEVREAU (JCU)
Beforehand, if two users independently opened a draft invoice on their respective sessions, then both of them clicked on the "Post" button, then the invoice was posted twice. On a more general aspect, the view currently "prevents" users from posting moves several times, but technically speaking, nothing stops users from posting moves several times. Now, after checking that the user indeed has the right to post a move, the next check is about verifying that the move is not already posted. opw-2479201 closes odoo/odoo#68837 X-original-commit: 71b82693bb6d62c659483d533be8d25905f3492f Related: odoo/enterprise#17511 Signed-off-by: oco-odoo <oco-odoo@users.noreply.github.com> Signed-off-by: Julien CHEVREAU <Julien-CHEVREAU@users.noreply.github.com>
2021-04-11[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-04-04[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-03-28[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-03-14[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-03-12[FIX] delivery: avoid tests to fail with l10n_*Josse Colpaert
The problem is that the cache still thinks in the test that it is in EUR and then it does a currency conversion for calculating the delivery cost and the test will fail in L105 of test_delivery_stock.py By invalidating the cache after the sql that change the currency of the company, we solve it. (someone should refactor those tests though) closes odoo/odoo#67476 Signed-off-by: Quentin De Paoli (qdp) <qdp@openerp.com> Signed-off-by: Josse Colpaert <jco@openerp.com>
2021-03-07[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-02-28[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-02-21[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-02-14[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-02-07[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-01-31[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-01-24[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-01-17[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-01-15[FIX] delivery: avoid retrospective computationdavid
If we're to change the invoice policy of a product we'd provoke a chained computation of every sale line and sale order containing such product. This change goes along with the policy of applying such changes only to future orders, as stated here: https://github.com/odoo/odoo/pull/61135 closes odoo/odoo#64634 X-original-commit: 806da3d67a5cf9919c6c0f5042b3e00c69825faa Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2021-01-10[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-12-27[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-12-20[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-12-13[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-12-06[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-11-29[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-11-25[FIX] delivery: default invoicing policyNicolas Martinelli
Since commit https://github.com/odoo/odoo/commit/3ad4abe171e8e7e86ed0e7b7f000e734d8a2ad92 the default invoicing policy of a product is set to 'delivery'. This is not ok for the delivery products: a delivery product is never delivered. This is confusing to end users, because they do not realize that a delivery line is not included in an invoice. This is especially true if the delivery is free. This commit sets the default policy to 'order' for master data and for newly created products from the shipping form view. opw-2387437 closes odoo/odoo#62345 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2020-11-25[FIX] delivery: shipping cost free if above amountAdrien Widart
A based on rules shipping method with the "Free if order amount is above" field enabled is not correctly applied. To reproduce the error: (Need website_sale) 1. Go to Settings > Website 2. Enable "Shipping Costs" 3. Go to Website > Configuration > eCommerce > Shipping Methods 4. Create a new one - Select "Based on Rules" - Enable "Free if order amount is above" - Set the corresponding amount - In pricing, add a line 5. Save & Publish (Click on "Unpublished") 6. Go to website's shop 7. Add the product set in the shipping method to your cart - Select an amount sufficient to exceed the threshold amount set in step 4 8. Process Checkout => The shipping method is shown, but the associated amount is "No price rule matching this order[...]" The shipping method price should be 0. (This error also happens when creating a SO) OPW-2383258 closes odoo/odoo#62288 X-original-commit: 393b7ad7b7dff1cbf830374c76ef0a681a71be6a Signed-off-by: adwid <adwid@users.noreply.github.com>
2020-11-22[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-11-15[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-11-08[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-10-28[FIX] delivery: Fallback to commercial partner's delivery methodPedro M. Baeza
Fine-tune of #59524. If the delivery address doesn't have any delivery method assigned, you get an undesired change of behavior: no delivery method is populated in that cases. Note that the delivery method is not a commercial field that is propagated from parent to children. With this patch, we get a very similar behavior, which is fallbacking to the commercial partner's delivery method if there's no delivery method in the delivery address. The only different behavior will be if the order partner is different from the commercial partner of the delivery address. closes odoo/odoo#60879 X-original-commit: 682b2e6c214b73f67e849df927bd4bda0af31d5a Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2020-10-27[I18N] *: Update translation terms from TransifexMartin Trigaux
Except Spanish, waiting for cleanup closes odoo/odoo#60848 Related: odoo/enterprise#14421 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-10-21[REV] *: revert fb7407c for spanish translationsOlivier Dony
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.
2020-10-18[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-10-13[FIX] delivery: choose delivery method by partner_shipping_idIEL
Steps: * Create a delivery method (1) restricted to Spain (any country would do) * Create a delivery method (2) restricted to Madagascar (same) * Create a partner, main company, whose country is Spain and the default delivery method is the first one. * Create a delivery address for that customer with Madagascar as country and the default delivery method as the second one. * Now place a new quotation with such partner and set the delivery address to the one of Madagascar (multiple addresses setting must be on). Before: * The delivery method for the quotation is set to the one restricted to Spain although we're sending it to Madagascar. After: * The delivery method for the quotation is set to the one restricted to Madagascar. --- opw-2348336 closes odoo/odoo#59879 X-original-commit: 535d429960a0347d01c528c2440c2b8e9ff2fb51 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2020-10-12[FIX] delivery: add barcode app check into package wizardTiffany Chang (tic)
Because the barcode app bypasses the detailed operations for receipts (with default settings set), an error was being thrown when doing "put in pack" when a carrier is set (saving during the delivery package wizard) because the picking move lines are incorrectly selected. This commit adds in a check for when the wizard is accessed via the barcode app so that the error does not occur and the same behavior as when no carrier is assigned is followed. Related Enterprise PR: odoo/enterprise#9808 closes odoo/odoo#59737 Task: 2039720 Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.com>
2020-10-11[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-10-07[FIX] delivery: hide Print Return Label for non-incoming pickingAnh Thao Pham (pta)
"Print Return Label" button on a Transfer is showed when `is_return_picking` field is True. But `is_return_picking` is True for any picking that is a return of another picking, making the button visible for the return of a return, when it should not as it is an outgoing picking. opw-2312425 closes odoo/odoo#59380 X-original-commit: f54f485cc6b0eb6c25a2753ca2c764a32eb18f66 Signed-off-by: Anh Thao PHAM <kitan191@users.noreply.github.com>
2020-10-05[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-09-29[I18N] *: export 14.0 source termsMartin Trigaux
Including demo data this time closes odoo/odoo#58821 Related: odoo/enterprise#13682 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-09-27[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-09-10[FIX] delivery: No option of delivery packaging when "Based on Rules"Nasreddin (bon)
Issue - Ensure that the provider of "The Poste" delivery method is "Based on Rules". - Create a quotation with "The Poste" as shipping method. - Confirm, then click on "Delivery" stat button. - Click on "Put in Pack" and create a "Delivery Packaging". - Save, go back to quotation and duplicate it. - Confirm, then click on "Delivery" stat button. - Click on "Put in Pack". The "Delivery Packaging" created previously is not available. Solution If 'current_package_carrier_type' is equal to 'fixed' or 'base_on_rule', replace it by 'none' since there are the equivalents in 'package_carrier_type' for 'delivery_type'. Related fix : https://github.com/odoo/odoo/pull/37427 opw-2310258 closes odoo/odoo#57435 X-original-commit: 5898d31025eacad3e8c37f7a105e20c81831ed17 Signed-off-by: Simon Goffin (sig) <sig@openerp.com> Signed-off-by: bon-odoo <nboulif@users.noreply.github.com>
2020-09-01[I18N] export saas-13.5 source termsMartin Trigaux
Without demo data closes odoo/odoo#56839 Related: odoo/enterprise#12821 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-08-20[IMP] delivery, stock(_picking_batch): add "Put In Pack" buttonTiffany Chang (tic)
This commit sets up the logic and adds the button for "Put in Pack" action that already exists in stock.picking. Reuse/extension of logic from stock.picking reused where possible, including extension of pack wizard to handle products with different destination. Note that logic to handle "Delivery Packaging" wizard when "Delivery Methods" is active was purposely not extended to work correctly in batch pickings due to complexity of adding in a new module just to handle conflicting carrier_ids across pickings in the same batch. It is expected that this use case will not occur except in case of user error. Additionally, stock.picking implementation of 'put_in_pack' method has been renamed to 'action_put_in_pack' to have consistent naming (and support enterprise level code). Part of "1. Improve Batch Pickings" specification of overall barcode improvements task. Task: 1884520 Enterprise PR: odoo/enterprise#12086 Closes: odoo/odoo#55096
2020-08-17[FIX] *: adapt action content retrievalMartin Trigaux
Use _for_xml_id to replace all the self.env.ref().read()[0] This has the advantage of having a single point of control and to add the fields filtering and model verification. Add sudo for other operations on ir.actions.*
2020-08-07[FIX] delivery: missing api.model decorator on default_get overrideVictor Feyens
Finetuning of addffca4235b0f751f3ad43943ca837544b307b6 closes odoo/odoo#55639 Related: odoo/enterprise#12307 Signed-off-by: Victor Feyens (vfe) <vfe@odoo.com>