Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

12.0 359 add joint buying product transport request #68

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
b9b9035
[REF] joint_buying_base :
legalsylvain Oct 19, 2023
855c36e
[REF] joint_buying_base: Simplification, adding joint_buying_code on …
legalsylvain Oct 24, 2023
4a34bca
[FIX] Disable crontask to create grouped order on demo data
legalsylvain Oct 24, 2023
c2a5f36
[REF] Update demo data. subscribe VEV and CDA to Ronzon
legalsylvain Oct 24, 2023
dd05cf6
[IMP] joint_buying_base : add joint_buying_is_durable_storage field o…
legalsylvain Oct 25, 2023
2074370
[FIX] On company creation, create correctly related joint buying part…
legalsylvain Oct 29, 2023
362ab61
[IMP] joint_buying_base : joint.buing.tour demo data :
legalsylvain Oct 29, 2023
985543f
[FIX] order joint buying tour line per date
legalsylvain Oct 29, 2023
13f75f7
[ADD] joint_buying_product : new joint.buying.transport.request model
legalsylvain Oct 24, 2023
ca47f70
[ADD] joint_buying_product : new joint.buying.wizard.find.route Wizard
legalsylvain Oct 25, 2023
098862d
[ADD] joint.buying.wizard.find.route 1er implementation to find route
legalsylvain Oct 29, 2023
965f7aa
[FIX] joint_buying_base + joint_buying_product : bad values for start…
legalsylvain Oct 30, 2023
651deb6
[IMP] wizard.find.route : Refactor Code before handling other use cases
legalsylvain Oct 30, 2023
06cdb85
[IMP] wizard.find.route : Specific Use Case : The first tour that goe…
legalsylvain Oct 30, 2023
56b5d2e
[WIIIIIP] joint_buying_product : migration script to populate transpo…
legalsylvain Oct 30, 2023
7cf9e5d
[WIIIIP] joint_buying_product : Add purchase order grouped demo data
legalsylvain Oct 30, 2023
6c4e3de
[FIX] joint_buying_product : geneate transport request for order crea…
legalsylvain Oct 30, 2023
799521e
[IMP] joint_buying_base : Add new 'Lyon' Tour in demod data
legalsylvain Oct 30, 2023
615858b
[IMP] joint_buying_product : Add Final Arrival Date on joint.buying.p…
legalsylvain Oct 30, 2023
ae58f3f
[REF] joint_buying_product : simplify order view. hide total_weight f…
legalsylvain Oct 31, 2023
f17ef3e
[IMP] joint_buying_product : Add new button on joint buying order vie…
legalsylvain Oct 31, 2023
0ba8bb3
[IMP] joint_buying_product : Add ELD joint buying purchase order to d…
legalsylvain Oct 31, 2023
a261487
[IMP] joint_buying_product : improve purchase request form view. hide…
legalsylvain Oct 31, 2023
99d22c0
[REF] joint_buying_product : rename request_id into transport_request…
legalsylvain Oct 31, 2023
e31433e
[ADD] joint_buying_product : add reverse links between tour_line and …
legalsylvain Oct 31, 2023
b6abc72
[REF] joint_buying_product : rename bad named report file
legalsylvain Oct 31, 2023
bb0a33e
[ADD] joint_buying_base : New view for joint.buying.tour.line
legalsylvain Nov 1, 2023
bb1ef39
[ADD] joint_buying_product : New view for joint.buying.transport.requ…
legalsylvain Nov 1, 2023
7780e48
[ADD] joint_buying_product : add 'load' field on tour.line model
legalsylvain Nov 1, 2023
f114115
[WIIIIIP] joint_buying_sale : possibility to generate transport reque…
legalsylvain Nov 1, 2023
feb843f
[WIIIIIIP] joint_buying_product : Add tour report
legalsylvain Oct 31, 2023
5173df2
[IMP] joint_buying_product_food : display frozen / cold / etc.. on jo…
legalsylvain Nov 20, 2023
d53d11e
[REF] Move transport request into joint_buying_base module
legalsylvain Nov 21, 2023
5a7315b
[IMP] tour report : remove useless duration column
legalsylvain Nov 22, 2023
c191925
[IMP] tour report : use external layout
legalsylvain Nov 22, 2023
b1e73eb
[REF] refactor tour report. change order
legalsylvain Nov 22, 2023
3aaadff
[FIX] Add dependencies of can_change fields
legalsylvain Nov 29, 2023
b6708c4
[IMP] joint_buying_base : do not allow to create manually line_ids on…
legalsylvain Nov 29, 2023
c037316
[FIX] set dependencies for fields that has no dependencies in base mo…
legalsylvain Nov 30, 2023
e6459d6
[FIX] joint_buying_sale : Do not display on tour report sale order li…
legalsylvain Nov 30, 2023
4a9bae6
[FIX] joint_buying_product : Do not display null qty lines for joint …
legalsylvain Nov 30, 2023
a42b0ad
[IMP] joint_buying_base : display transport requests quantity and act…
legalsylvain Nov 30, 2023
231f5d4
[IMP] joint_buying_base : add total in transport request tree view
legalsylvain Nov 30, 2023
694bbd2
[WIP] joint_buying_base : invaildate transport requests, when changin…
legalsylvain Nov 30, 2023
012db21
[REF] rename start_date into availability_date in transport request m…
legalsylvain Nov 30, 2023
9962e6b
[WIP] add new start_date field on transport request. began to invalid…
legalsylvain Nov 30, 2023
a4c9233
[IMP] joint_buying_base : change transport request should invalidate …
legalsylvain Dec 1, 2023
a0172b8
[REF] hide useless fields
legalsylvain Dec 1, 2023
6601b5c
[IMP] joint_buying_product/sale : forbid to change (sale_)order_id on…
legalsylvain Dec 1, 2023
dafa187
[IMP] joint_buying_base : better decoration in tree view for transpor…
legalsylvain Dec 1, 2023
84bb6cc
[IMP] joint_buying_base : add default filter to transport request, to…
legalsylvain Dec 1, 2023
d41084c
[IMP] joint_buying_base : new 'origin' field on transport request, wi…
legalsylvain Dec 1, 2023
f1355cc
[REF] joint_buying_* replace origin_partner_id by start_partner_id
legalsylvain Dec 1, 2023
b25ef6d
[REF] joint_buying_* replace destination_partner_id by arrival_partne…
legalsylvain Dec 1, 2023
c73aff0
[IMP] joint_buying_base : Add link between transport request form vie…
legalsylvain Dec 1, 2023
61842fc
[REF] joint_buying_base : rename test file
legalsylvain Dec 1, 2023
f74e542
[IMP] joint_buying_base : change tour steps (tour lines) should inval…
legalsylvain Dec 1, 2023
6416674
[FIX] joint_buying_sale : Do not raise an access error if sale user i…
legalsylvain Dec 1, 2023
7ee7db6
[IMP] joint_buying_product : change deposit data on joint buying purc…
legalsylvain Dec 1, 2023
c01ff45
[IMP] joint_buying_base : add cron to recompute transport requests
legalsylvain Dec 1, 2023
9941e46
[REF] joint_buying_* : refactor tour report. allow to split request i…
legalsylvain Dec 2, 2023
131bd91
[REF] Update translation
legalsylvain Dec 3, 2023
e1ef117
[FIX] joint_buying_* : restore cool / fresh / normal distinction on r…
legalsylvain Dec 3, 2023
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
50 changes: 50 additions & 0 deletions joint_buying_account/i18n/fr.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * joint_buying_account
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 12.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-12-03 00:08+0000\n"
"PO-Revision-Date: 2023-12-03 00:08+0000\n"
"Last-Translator: <>\n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: joint_buying_account
#: model:product.product,name:joint_buying_account.product_ELD_ecureuil
#: model:product.template,name:joint_buying_account.product_ELD_ecureuil_product_template
msgid "Ecureuil Garni 150gr LAIT (VAT INCL)"
msgstr ""

#. module: joint_buying_account
#: model:product.product,name:joint_buying_account.product_ELD_hibou
#: model:product.template,name:joint_buying_account.product_ELD_hibou_product_template
msgid "Hibou Garni 150gr LAIT"
msgstr ""

#. module: joint_buying_account
#: model:ir.model,name:joint_buying_account.model_product_product
msgid "Product"
msgstr "Article"

#. module: joint_buying_account
#: model:product.product,uom_name:joint_buying_account.product_ELD_ecureuil
#: model:product.product,uom_name:joint_buying_account.product_ELD_hibou
#: model:product.template,uom_name:joint_buying_account.product_ELD_ecureuil_product_template
#: model:product.template,uom_name:joint_buying_account.product_ELD_hibou_product_template
msgid "Unit(s)"
msgstr "Unité(s)"

#. module: joint_buying_account
#: model:product.product,weight_uom_name:joint_buying_account.product_ELD_ecureuil
#: model:product.product,weight_uom_name:joint_buying_account.product_ELD_hibou
#: model:product.template,weight_uom_name:joint_buying_account.product_ELD_ecureuil_product_template
#: model:product.template,weight_uom_name:joint_buying_account.product_ELD_hibou_product_template
msgid "kg"
msgstr ""

16 changes: 14 additions & 2 deletions joint_buying_base/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,16 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "Joint Buying - Base",
"version": "12.0.4.0.1",
"version": "12.0.5.0.0",
"category": "GRAP - Logistics",
"author": "GRAP,La Jardinière,Hashbang",
"website": "https://github.com/grap/odoo-addons-logistics",
"license": "AGPL-3",
"depends": [
"base",
"mail",
"web",
"decimal_precision",
# OCA
"base_geolocalize_company",
"res_company_code",
Expand All @@ -21,13 +23,16 @@
# GRAP
"name_search_reset_res_partner",
],
"external_dependencies": {"python": ["openupgradelib", "geopy", "bokeh", "pandas"]},
"external_dependencies": {
"python": ["openupgradelib", "geopy", "bokeh", "pandas", "treelib"]
},
"data": [
"security/ir_module_category.xml",
"security/res_groups.xml",
"security/ir.model.access.csv",
"security/ir_rule.xml",
"data/ir_config_parameter.xml",
"data/ir_cron.xml",
"views/menu.xml",
"views/view_res_company.xml",
"views/view_res_partner.xml",
Expand All @@ -37,7 +42,13 @@
"views/view_joint_buying_carrier.xml",
"views/view_joint_buying_tour_type.xml",
"views/view_joint_buying_tour.xml",
"views/view_joint_buying_tour_line.xml",
"views/view_joint_buying_transport_request.xml",
"views/view_joint_buying_transport_request_line.xml",
"wizards/view_joint_buying_wizard_set_tour.xml",
"wizards/joint_buying_wizard_find_route.xml",
"reports/report_joint_buying_tour.xml",
"reports/report.xml",
"views/templates.xml",
],
"demo": [
Expand All @@ -48,6 +59,7 @@
"demo/joint_buying_carrier.xml",
"demo/joint_buying_tour_type.xml",
"demo/joint_buying_tour.xml",
"demo/joint_buying_transport_request.xml",
],
"post_init_hook": "_create_joint_buying_partner_for_companies",
"installable": True,
Expand Down
21 changes: 21 additions & 0 deletions joint_buying_base/data/ir_cron.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2023 - Today: GRAP (http://www.grap.coop)
@author: Sylvain LE GAL (https://twitter.com/legalsylvain)
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
-->
<odoo noupdate="1">

<record id="cron_recompute_transport_requests" model="ir.cron">
<field name="name">Joint Buying: Compute Transport Requests</field>
<field name="model_id" ref="model_joint_buying_transport_request"/>
<field name="state">code</field>
<field name="code">model.cron_compute_tour(10)</field>
<field name="user_id" ref="base.user_root" />
<field name="interval_number">10</field>
<field name="interval_type">minutes</field>
<field name="numbercall">-1</field>
<field name="doall" eval="False"/>
<field name="active" eval="True"/>
</record>
</odoo>
Loading
Loading