Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
59 commits
Select commit Hold shift + click to select a range
ab9f5ee
purchase_landed_cost: Alternative to stock_landed_cost.
pedrobaeza Nov 15, 2014
5390e23
Isolated module description
pedrobaeza Nov 16, 2014
1f8f0cb
purchase_landed_cost: Module description
pedrobaeza Nov 16, 2014
2517537
purchase_landed_cost: Added fields to distribution line
pedrobaeza Nov 19, 2014
4c7d8a2
Expand AUTHORS
pedrobaeza Mar 25, 2015
525cf34
purchase_landed_cost: Fix standard price calculation when average and…
pedrobaeza Apr 6, 2015
53e00e9
purchase_landed_cost: Fields used for calculation doesn't exist
pedrobaeza Apr 6, 2015
f34ebc7
purchase_landed_cost: Smartbutton for accesing landed cost from purch…
pedrobaeza Apr 6, 2015
a93b1d1
purchase_landed_cost: Multi-company security
pedrobaeza Apr 6, 2015
327c418
Trying to avoid travis fails
oihane Apr 13, 2015
26429e0
purchase_landed_cost: Make distribution lines searchable
pedrobaeza Jun 10, 2015
32d6d89
purchase_landed_cost: Improve search of distribution and expense lines
pedrobaeza Jul 7, 2015
fd034cd
purchase_landed_cost: Include default amount for expense types
pedrobaeza Jul 7, 2015
f12262a
Slovene translations of odoomrp modules
sysadminmatmoz Aug 15, 2015
503ee08
fix issue 971 : in case stock <=0, the new standard price should be t…
Sep 5, 2015
9326641
Make modules uninstallable
pedrobaeza Oct 30, 2015
5f61f0e
purchase_landed_cost: Provide a message error when divisor for distri…
pedrobaeza Jan 21, 2016
7d2f1a6
purchase_landed_cost: Remove digits on cost_ratio for better accuracy
pedrobaeza Apr 7, 2016
ad4e7e8
purchase_landed_cost: Add management of expenses from invoices
pedrobaeza Apr 30, 2016
9ecbaea
purchase_landed_cost: name_get for distribution lines
pedrobaeza May 7, 2016
053293f
purchase_landed_cost: Add the expense lines at once
pedrobaeza May 27, 2016
f960e45
purchase_landed_cost: Allow to import partial imported pickings
pedrobaeza Jun 10, 2016
7f3d9c0
purchase_landed_cost: display_name for distribution expense
pedrobaeza Aug 9, 2016
0f7ed4f
purchase_landed_cost: Migration script not needed at all
pedrobaeza Aug 10, 2016
f5fab78
purchase_landed_cost: required + ondelete adjustment
pedrobaeza Aug 12, 2016
5e5c071
purchase_landed_cost: View for selecting distribution cost lines
pedrobaeza Aug 18, 2016
9811c39
purchase_landed_cost: modificar calculo de precio medio
Aug 4, 2016
7f7f922
purchase_landed_cost: Multi-company rules for all objects
pedrobaeza Nov 4, 2016
dbb7a4b
purchase_landed_cost: Migration to 9.0
pedrobaeza Dec 6, 2016
8f89132
purchase_landed_cost: Add "Expense distribution lines"
pedrobaeza Feb 26, 2017
8671575
[MIG] purchase_landed_cost: Migration to 10.0
Roodin Jun 8, 2017
3273c02
[IMP] purchase_landed_cost: Initial tests
cubells Oct 23, 2018
4eae799
[FIX] purchase_landed_cost: error on deleting cost lines
cubells Oct 5, 2018
8e28e39
[FIX+IMP] purchase_landed_cost: Fix price update + improve tests
pedrobaeza Oct 23, 2018
f5ecded
[MIG] purchase_landed_cost: migration to 11.0
cubells Oct 23, 2018
5183e97
[FIX] purchase_landed_cost: Finish migration
pedrobaeza Oct 23, 2018
5fe412b
fixup! [FIX] purchase_landed_cost: Finish migration
pedrobaeza Oct 25, 2018
38973fe
[FIX] purchase_landed_cost: Proper domain
pedrobaeza Apr 5, 2019
9fea2db
[MIG] purchase_landed_cost: Migration to 12.0
ernestotejeda Mar 8, 2019
f5b7d76
[UPD] Adapt icons to font-awesome
MiquelRForgeFlow Oct 30, 2019
6dd7573
[FIX] purchase_landed_cost : fix flake8 before other PR
clementmbr May 5, 2020
6f36700
[FIX] Convert invoice amount to expense currency
TheCloneMaster Oct 6, 2020
1e67f40
[IMP] purchase_landed_cost: black, isort, prettier
Jan 12, 2021
add9d9d
[MIG] purchase_landed_cost: Migration to 13.0
Jan 12, 2021
09ffa1a
[OU] purchase_landed_cost: Migration scripts
pedrobaeza Feb 19, 2021
5e19c8c
[FIX] purchase_landed_cost: Incorrect inverse field
pedrobaeza Aug 23, 2021
146fb50
[FIX] purchase_landed_cost: Set correct domain in rules.
victoralmau Sep 13, 2021
dc5a67d
[FIX] purchase_landed_cost: Avoid error in moves if the user does not…
victoralmau Sep 9, 2022
8a88949
[IMP] purchase_landed_cost: pre-commit stuff
carolinafernandez-tecnativa Apr 1, 2024
5423552
[MIG] purchase_landed_cost: Migration to 16.0
carolinafernandez-tecnativa Apr 1, 2024
0b3d11f
[UPD] Update purchase_landed_cost.pot
Apr 11, 2024
2ef16a8
Translated using Weblate (Spanish)
Ivorra78 Apr 17, 2024
150b417
Translated using Weblate (Italian)
mymage Apr 23, 2024
c340c15
Translated using Weblate (Italian)
mymage Apr 30, 2024
372cc98
Translated using Weblate (Portuguese (Brazil))
May 21, 2024
0f8f74d
[FIX] purchase_landed_cost: Avoid access error reading act_window
pedrobaeza Mar 7, 2025
6183daf
[FIX] purchase_landed_cost: Post-install test + fallback to load CoA
victoralmau Feb 25, 2025
766f626
[IMP] purchase_landed_cost: pre-commit auto fixes
Andrii9090-tecnativa Apr 27, 2026
a5e9d56
[MIG] purchase_landed_cost: Migration to version 19.0
Andrii9090-tecnativa Apr 27, 2026
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
112 changes: 112 additions & 0 deletions purchase_landed_cost/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

==========================================
Purchase landed costs - Alternative option
==========================================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:09b99c4283a75666a1db2b5a6bfe3c95313f3b503fc189685a47adaf5adf5ae0
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fpurchase--workflow-lightgray.png?logo=github
:target: https://github.com/OCA/purchase-workflow/tree/19.0/purchase_landed_cost
:alt: OCA/purchase-workflow
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/purchase-workflow-19-0/purchase-workflow-19-0-purchase_landed_cost
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/purchase-workflow&target_branch=19.0
:alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module manages your purchase expenses
------------------------------------------

The functionality of this module is to provide a way to manage your
purchase costs more easily than the official module
(*stock_landed_cost*) and allow to distribute them with a lot of
methods.

**Main features:**

- Possibility to assign landed cost afterwards in a separate screen.
- Management of expense types with preconfigured calculation methods.
- Distribution of costs based on weight, volume, product price, etc.
- Types marked as default are automatically added to each new purchase
distribution.
- Management orders shopping expenses associated with one or more entry
slips.

**Table of contents**

.. contents::
:local:

Known issues / Roadmap
======================

- Ability to add expenses in multi currency.
- Purchase distribution report.
- Upgrade cost price of products based on the costs.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/purchase-workflow/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/purchase-workflow/issues/new?body=module:%20purchase_landed_cost%0Aversion:%2019.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* AvanzOSC
* Tecnativa
* Joaquín Gutierrez

Contributors
------------

- Joaquín Gutierrez <joaquing.pedrosa@gmail.com>
- Santi Argüeso <santi@comunitea.com>
- `Tecnativa <https://www.tecnativa.com>`__:

- Pedro M. Baeza
- Vicent Cubells
- Ernesto Tejeda
- Carolina Fernandez

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

This module is part of the `OCA/purchase-workflow <https://github.com/OCA/purchase-workflow/tree/19.0/purchase_landed_cost>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
2 changes: 2 additions & 0 deletions purchase_landed_cost/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from . import models
from . import wizard
35 changes: 35 additions & 0 deletions purchase_landed_cost/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Copyright 2013 Joaquín Gutierrez
# Copyright 2014-2017 Pedro M. Baeza <pedro.baeza@tecnativa.com>
# Copyright 2024 Carolina Fernandez
# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3

{
"name": "Purchase landed costs - Alternative option",
"version": "19.0.1.0.0",
"author": "AvanzOSC,Tecnativa,Joaquín Gutierrez,Odoo Community Association (OCA)",
"license": "AGPL-3",
"category": "Purchase Management",
"website": "https://github.com/OCA/purchase-workflow",
"summary": "Purchase cost distribution",
"depends": ["purchase_stock"],
"data": [
"data/purchase_cost_distribution_sequence.xml",
"security/purchase_landed_cost_security.xml",
"security/ir.model.access.csv",
"wizard/picking_import_wizard_view.xml",
"wizard/import_invoice_line_wizard_view.xml",
"wizard/import_landed_cost_pickings_wizard_view.xml",
"views/account_move_view.xml",
"views/purchase_cost_distribution_view.xml",
"views/purchase_cost_distribution_line_expense_view.xml",
"views/purchase_expense_type_view.xml",
"views/purchase_order_view.xml",
"views/stock_picking_view.xml",
],
"installable": True,
"images": [
"/static/description/images/purchase_order_expense_main.png",
"/static/description/images/purchase_order_expense_line.png",
"/static/description/images/expenses_types.png",
],
}
10 changes: 10 additions & 0 deletions purchase_landed_cost/data/purchase_cost_distribution_sequence.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo noupdate="1">
<record id="seq_purchase_cost_distribution" model="ir.sequence">
<field name="name">Purchase cost distribution</field>
<field name="code">purchase.cost.distribution</field>
<field name="prefix">PEx</field>
<field name="padding">3</field>
<field name="company_id" eval="False" />
</record>
</odoo>
Loading
Loading