summaryrefslogtreecommitdiff
path: root/addons/purchase_mrp
AgeCommit message (Collapse)Author
2021-05-09[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-04-25[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-04-11[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-03-28[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-03-21[I18N] Update translation terms from TransifexOdoo Translation Bot
2021-03-14[I18N] Update translation terms from TransifexOdoo Translation Bot
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-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
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-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-11[I18N] Update translation terms from TransifexOdoo Translation Bot
2020-09-27[I18N] Update translation terms from TransifexOdoo Translation Bot
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-07-28[FIX] purchase_mrp: receive kits with multiple UOMNicolas Martinelli
- Create 3 products A, B & C A is in Units B is in kg C is in m - Create a BOM kit for A using 1 kg of B and 1 m of C - Create a PO for A, validate - Receive the picking An error is raised: "Conversion from Product UoM ... to Default UoM ... is not possible as they both belong to different Category!." It happens because `_compute_qty_received` incorrectly converts quantities. The computation of the quantity received for kits is done in 2 steps: first we compute the quantity the same way we do it for a regular product, then we overwrite the quantity with the value computed for kits. We can compute the quantity correctly at once by calling `super` only on lines which are not kits. opw-2302807 closes odoo/odoo#55047 X-original-commit: b82f71dac9452de9c1e16cde552fe260fec3c262 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
2020-06-30[FIX] *: correct all or improve code translation lookupMartin Trigaux
This commit fixes all issues detected by the new pylint gettext-variable test. It converts some calls to the new syntax _("Foo %s", bar) to progressively migrate the code to the new syntax. A few calls were not technically incorrect but still detected by the linter. _("Foo" + "Bar") has been converted to _("Foo" "Bar") as it has the same effect and make sure the argument is of type asteroid.Const instead of BinOp). closes odoo/odoo#53683 Related: odoo/enterprise#11467 Signed-off-by: Raphael Collet (rco) <rco@openerp.com>
2020-06-15[FIX] (purchase_)mrp(_account): fix order stats button MORémy Voet (ryv)
Task: 2241471
2020-06-15[FIX] purchase_mrp: fix count MO in case of MTORémy Voet (ryv)
task-2241471
2020-06-15[REF] mrp: backorder mechanismRémy Voet (ryv)
Allow to "backorder" a production, meaning create another manufacturing order with the quantity remaining to produce. We also use the reservation of the first order on the next ones by using `post_inventory` on the first one and moving the newly created stock moves to the backorder. We introduce a wizard similar to the one in stock. Backorders have a sub-sequence. Backorders are linked together through the procurement group. We allow creating a backorder even if workorders are running by closing them, the backorder will call `button_plan` and create its own. task-2241471
2020-03-05[IMP] base: Display searchpanel on ir.module.module viewsYannick Tivisse
Purpose ======= The current kanban view is messy. It is difficult to identify which apps are installed or not. The user can completely miss a module that might have interested him. A search panel would make things way more readable. closes odoo/odoo#44401 Taskid: 2181557 Related: odoo/enterprise#8144 Related: odoo/upgrade#879 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
2020-02-13[I18N] export saas-12.3 source termsMartin Trigaux
closes odoo/odoo#45285 X-original-commit: bb281e98f52a2716f00d43a07446a08df698c1dd Related: odoo/enterprise#8413 Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2020-01-28[REF] purchase_stock: push the extra quantitySimon Lejeune
With a product configured as buy on order and a warehouse configured as receipt in two steps, if the user increases the quantity on a po line generated by a sale order before confirming it, the system will send all the quantity to input but only the ordered quantity to customer. The issue is that the "extra quantity" will stay in input. We fix this issue by creating a new move with the extra quantity to the input location so that push rules will send the extra quantity to stock while the ordered quantity will be sent to the customer. There was also an issue when incrementing the quantity on the po line after confirmation if the po line was the result of a reordering rule: only a move from supplier to the location of the reordering rule was created. This commit also introduces a change of semantic: `created_purchase_line_id` is cleared after confirming the RFQ. This allows to merge more in `_merge_moves`. task-1981355 closes odoo/odoo#43545 Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
2020-01-24[IMP] purchase_mrp: link MO<->MO<->PO in case of MTORémy Voet (ryv)
In case of MTO (+buy) on products used in a MO, add the link between the MO source and the PO generated. Also add links between MO's when MTO+manufacturing. task-1913392 closes odoo/odoo#43366 Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
2020-01-15[FIX] purchase_mrp: return string instead or recordsetWilliam Henrotin
Commit e923058 aims to ensure the key 'created_purchase_line_id is returned only if the move as this field filled. The issue is due to the way python compare falsy object. a = b and c will return b (not False) if b is falsy will return c if neither b nor c are falsy. If move_raw_id passed in the method doesn't have created_purchase_line_id iterate_key = purchase.line.id() or 'created_purchase_line_id' = purchase.line.id() which is not correct as the method should return a string or False. closes odoo/odoo#43320 Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
2020-01-09[FIX] purchase_mrp: ensure that a purchase order is linkedArnold Moyaux
closes odoo/odoo#41115 Related: odoo/enterprise#7177 Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
2019-12-06[REF] stock: immediate and backorder wizard multiSimon Lejeune
followup of rev [0] If these wizards are called on multiple pickings, display the list of the pickings that could be impacted and allow to select which one should be impacted. We also adapt the sanity checks at the start of `button_validte` in order to specify the concerned pickings if needed. We do not enable the multi behavior for batch at the moment, so it's only enabled for the validate multi in the list view. [0] 6ab4b0d4967490ed1ee0559ec296da6637705125 task-2069646 closes odoo/odoo#41497 X-original-commit: ff276c6484b138982f185ec9c832f2dbf25baaef Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
2019-11-05[IMP] purchase_mrp: Adapt tests to work with/without demo dataYannick Tivisse
2019-10-25[REF] *: adapt tests to picking button_validate multiSimon Lejeune
2019-10-09[MERGE] forward port branch 13.0 up to f4105eb9c70Christophe Simonis
2019-10-07[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-10-01[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-09-29[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-09-25[IMP] * : manifest module categories cleanupVictor Feyens
closes odoo/odoo#35754 Signed-off-by: Damien Bouvy (dbo) <dbo@odoo.com>
2019-09-15[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-09-20[MERGE] forward port branch saas-12.5 up to 58a83d12228Christophe Simonis
2019-09-17[FIX] *: remove old deprecated modules/functionsJulien Castiaux
PEP-594 is deprecating a bunch of modules. As part of the cleanup, we are also dealing with long deprecated modules, functions and aliases. * `assert_` -> `assertTrue` * `assertEquals` -> `assertEqual` * `assertNotEquals` -> `assertNotEqual` * `assertAlmostEquals` -> `assertAlmostEqual` * `assertRaisesRegexp` -> `assertRaisesRegex` * `assertRegexpMatches` -> `assertRegex` * `base64.encodestring` -> `base64.encodebytes` * `base64.decodestring` -> `base64.decodebytes` * `inspect.getargspec` -> `inspect.signature` * `inspect.formatargspec` -> `inspect.signature` * `logging.warn` -> `logging.warning` closes odoo/odoo#36863 Task: 2003936 Signed-off-by: Raphael Collet (rco) <rco@openerp.com>
2019-09-01[I18N] Update translation terms from TransifexOdoo Translation Bot
2019-08-14[MERGE] forward port branch saas-12.4 up to 98a55917a60Christophe Simonis
2019-08-13[I18N] *: export saas-12.4 source termsMartin Trigaux
2019-07-17[REM] *: calls to @api.multiAdrian Torres
Multi is the default api for methods, it is not necessary to explicitly decorate methods with it, adds clutter and most people use it because they see that the rest of the code uses it. Done with `find . -type f -name '*.py' | xargs sed -i '/@api.multi/d'`
2019-03-20[IMP] stock: allow to change picking on returnsArnold Moyaux
The code that generate the return lines is moved inside an onchange. The purpose is to allow an inherit that will modify the picking_id of the wizard. It should trigger the new return lines without a call to default_get. task_id 1909413
2019-01-25[IMP] mrp, purchase_mrp: Quantity received for kits in a POArnaud Baes
This commit generalize the method made for computing the quantity delivered in a sale order in order to be used for the quantity received for a kit in a purchase order. TaskID: 1929518