Skip to content

Commit

Permalink
[IMP] switch SO name and picking name
Browse files Browse the repository at this point in the history
  • Loading branch information
victor-champonnois committed Dec 12, 2024
1 parent 8e5d42c commit 5c2c349
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
4 changes: 3 additions & 1 deletion foodhub_picking_operations/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
Sort picking operations by internal category and internal reference.
- Sort picking operations by internal category and internal reference.

Context : Increase the efficiency of picking by sorting products by location and priority. We cannot use "locations" because some products are of type Consumable and should stay this way : these are products that are received and sent on the same date, we don't want to manage stock on these products.
So instead we sort by internal categories and by reference.

- Put the name of the SO in title, rather than the picking reference. Because this picking will be sent to the client, who only knows the reference of the SO. In principle this document should not be sent to the client, but here it's easier to only rely on one document.
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<template id="report_picking" inherit_id="stock.report_picking">
<xpath expr="//h1" position="replace">
<h1 t-field="o.origin" class="mt0"/>
</xpath>
<xpath expr="//div[@name='div_origin']" position="replace">
<div t-if="o.origin" class="col-auto" name="div_origin">
<strong>Picking:</strong>
<p t-field="o.name"/>
</div>
</xpath>
<xpath expr="//th[@name='th_product']" position="before">
<th>
<strong>Category</strong>
Expand Down

0 comments on commit 5c2c349

Please sign in to comment.