Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 7 additions & 12 deletions coop_stock/i18n/fr.po
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 18.0\n"
"Project-Id-Version: Odoo Server 18.0+e\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-03-31 04:02+0000\n"
"PO-Revision-Date: 2026-03-31 04:02+0000\n"
"POT-Creation-Date: 2026-04-24 10:28+0000\n"
"PO-Revision-Date: 2026-04-24 10:28+0000\n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
Expand Down Expand Up @@ -56,7 +56,7 @@ msgstr "Date"
#. module: coop_stock
#: model_terms:ir.ui.view,arch_db:coop_stock.product_template_kanban_stock_view_inherit
msgid "Forecasted:"
msgstr "Prévu :"
msgstr "Prévu:"

#. module: coop_stock
#: model_terms:ir.ui.view,arch_db:coop_stock.product_category_search_view_inherit
Expand Down Expand Up @@ -121,7 +121,7 @@ msgstr "Catégorie de produit"
#. module: coop_stock
#: model:ir.model,name:coop_stock.model_stock_move_line
msgid "Product Moves (Stock Move Line)"
msgstr "Mouvements de produit (Ligne de mouvement de stock)"
msgstr "Mouvements de produits (Ligne de mouvement de stock)"

#. module: coop_stock
#: model:ir.model,name:coop_stock.model_product_product
Expand Down Expand Up @@ -184,7 +184,7 @@ msgid ""
" if it should show the\n"
" customer."
msgstr ""
"Le système de type d'expédition vous permet d'assigner à chaque opération de stock\n"
"Le système de types d'expédition vous permet d'assigner à chaque opération de stock\n"
" un type spécifique qui modifiera ses vues\n"
" en conséquence.\n"
" Sur le type d'expédition, vous pouvez par exemple spécifier\n"
Expand All @@ -193,11 +193,6 @@ msgstr ""
" si elle doit afficher le\n"
" client."

#. module: coop_stock
#: model:ir.model,name:coop_stock.model_stock_picking
msgid "Transfer"
msgstr "Transfert"

#. module: coop_stock
#: model_terms:ir.ui.view,arch_db:coop_stock.product_category_search_view_inherit
msgid "Type"
Expand All @@ -218,4 +213,4 @@ msgstr "Code produit fournisseur"
#. module: coop_stock
#: model:ir.model.fields.selection,name:coop_stock.selection__product_category__type__view
msgid "View"
msgstr "Vue"
msgstr "Vue"
1 change: 0 additions & 1 deletion coop_stock/models/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from . import product_category
from . import product_product
from . import product_template
from . import stock_picking
from . import stock_move
from . import stock_quant
from . import pos_order
Expand Down
34 changes: 0 additions & 34 deletions coop_stock/models/stock_picking.py

This file was deleted.

27 changes: 0 additions & 27 deletions coop_stock/tests/test_coop_stock.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from datetime import datetime

from odoo.tests import Form
from odoo.tests.common import TransactionCase


Expand Down Expand Up @@ -41,32 +40,6 @@ def test_01_stock_inventory_post_inventory(self):
20.0,
)

def test_02_stock_picking(self):
picking_form = Form(self.env["stock.picking"])
self.picking_type = self.env.ref("stock.picking_type_out")
self.product = self.env.ref("product.product_delivery_01")
picking_form.partner_id = self.partner_3
picking_form.picking_type_id = self.picking_type
self.picking = picking_form.save()
self.picking._onchange_picking_type()
self.move = self.env["stock.move"].create(
{
"picking_id": self.picking.id,
"product_id": self.product.id,
"name": "Test",
"product_uom_qty": 20,
"product_uom": self.env.ref("uom.product_uom_unit").id,
"location_id": self.picking.location_id.id,
"location_dest_id": self.picking.location_dest_id.id,
}
)
self.picking.copy_expected_qtys()
self.assertEqual(
self.move.quantity,
self.move.product_uom_qty,
"copy_expected_qtys should set quantity = product_uom_qty",
)

def test_03_inventory_move_date_from_context(self):
"""Move date must match inventory_datetime passed via context."""
product = self.env["product.product"].create(
Expand Down
7 changes: 0 additions & 7 deletions coop_stock/views/stock_picking_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,6 @@
name="decoration-danger"
>quantity!=product_uom_qty</attribute>
</xpath>
<xpath expr="//field[@name='origin']" position="after">
<button
name="copy_expected_qtys"
string="Copy expected qtys"
type="object"
/>
</xpath>
</field>
</record>

Expand Down
Loading