diff --git a/stock_last_purchase_price/README.rst b/stock_last_purchase_price/README.rst new file mode 100644 index 000000000..40069e834 --- /dev/null +++ b/stock_last_purchase_price/README.rst @@ -0,0 +1,51 @@ +.. image:: https://img.shields.io/badge/license-AGPL--3-blue.svg + :target: https://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 + +Costing Method: Last Purchase Price +=================================== +This module introduces a new costing method to Odoo. That will update a product's cost price when a new purchase +happens with the purchasing rate. if you enables automatic stock valuation and provided a price difference account, +this module will generate stock journal entry to update the stock value according to the price change. + +Configuration +============= +- No additional configuration required. + +Company +------- +* `Cybrosys Techno Solutions `__ + +Credits +------- +Developers: (V16) Sruthi Renjith, + (V17) Fathima Mazlin AM, + (V18) Ammu Raj, Ayana KP, +Contact: odoo@cybrosys.com + +Contacts +-------- +* Mail Contact : odoo@cybrosys.com +* Website : https://cybrosys.com + +License +------- +Affero General Public License, Version 3 (AGPL v3). +(https://www.gnu.org/licenses/agpl-3.0-standalone.html) + +Bug Tracker +----------- +Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. + +Maintainer +========== +.. image:: https://cybrosys.com/images/logo.png + :target: https://cybrosys.com + +This module is maintained by Cybrosys Technologies. + +For support and more information, please visit `Our Website `__ + +Further information +=================== +HTML Description: ``__ diff --git a/stock_last_purchase_price/__init__.py b/stock_last_purchase_price/__init__.py new file mode 100644 index 000000000..62c5ec247 --- /dev/null +++ b/stock_last_purchase_price/__init__.py @@ -0,0 +1,23 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Ammu Raj (odoo@cybrosys.com) +# +# This program is free software: you can modify +# it under the terms of the GNU Affero General Public License (AGPL) as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +################################################################################ +from . import models + diff --git a/stock_last_purchase_price/__manifest__.py b/stock_last_purchase_price/__manifest__.py new file mode 100644 index 000000000..74ab54ea9 --- /dev/null +++ b/stock_last_purchase_price/__manifest__.py @@ -0,0 +1,40 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Ammu Raj (odoo@cybrosys.com) +# +# This program is free software: you can modify +# it under the terms of the GNU Affero General Public License (AGPL) as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +################################################################################ +{ + 'name': 'Costing Method: Last Purchase Price', + 'version': '18.0.1.0.0', + 'category': 'Warehouse', + 'summary': "Introducing new costing method in Odoo 'Last Purchase Price'", + 'description': "Introducing new costing method in Odoo last purchase price'." + "The cost of the product changed based on the last purchase" + "order.", + 'author': 'Cybrosys Techno solutions', + 'company': 'Cybrosys Techno Solutions', + 'maintainer': 'Cybrosys Techno Solutions', + 'website': 'https://www.openhrms.com', + 'depends': ['stock_account', 'purchase_stock'], + 'images': ['static/description/banner.jpg'], + 'license': 'AGPL-3', + 'installable': True, + 'auto_install': False, + 'application': False, +} diff --git a/stock_last_purchase_price/doc/RELEASE_NOTES.md b/stock_last_purchase_price/doc/RELEASE_NOTES.md new file mode 100755 index 000000000..8aecbef26 --- /dev/null +++ b/stock_last_purchase_price/doc/RELEASE_NOTES.md @@ -0,0 +1,5 @@ +## Module +#### 15.02.2025 +#### Version 18.0.1.0.0 +#### ADD +- Initial commit for Costing Method: Last Purchase Price diff --git a/stock_last_purchase_price/models/__init__.py b/stock_last_purchase_price/models/__init__.py new file mode 100644 index 000000000..151f84aaa --- /dev/null +++ b/stock_last_purchase_price/models/__init__.py @@ -0,0 +1,26 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Ammu Raj (odoo@cybrosys.com) +# +# This program is free software: you can modify +# it under the terms of the GNU Affero General Public License (AGPL) as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +################################################################################ +from . import product_category +from . import product_product +from . import product_template +from . import stock_move +from . import stock_move_line diff --git a/stock_last_purchase_price/models/product_category.py b/stock_last_purchase_price/models/product_category.py new file mode 100644 index 000000000..dbe099670 --- /dev/null +++ b/stock_last_purchase_price/models/product_category.py @@ -0,0 +1,42 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Ammu Raj(odoo@cybrosys.com) +# +# This program is free software: you can modify +# it under the terms of the GNU Affero General Public License (AGPL) as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +################################################################################ +from odoo import fields, models + + +class ProductCategory(models.Model): + """ Class to inherit product_category to add costing method """ + _inherit = "product.category" + + property_cost_method = fields.Selection([ + ('standard', 'Standard Price'), + ('last', 'Last Purchase Price'), + ('fifo', 'First In First Out (FIFO)'), + ('average', 'Average Cost (AVCO)')], string='Costing Method', + company_dependent=True, copy=True, + help="""Standard Price: The products are valued at their standard cost + defined on the product. Average Cost (AVCO): The products are + valued at weighted average cost. First In First Out (FIFO): The + products are valued supposing those that enter the company first + will also leave it first. Last Purchase Price: The products are + valued same as 'Standard Price' Method, But standard price defined + on the product will updated automatically with last purchase + price.""") diff --git a/stock_last_purchase_price/models/product_product.py b/stock_last_purchase_price/models/product_product.py new file mode 100644 index 000000000..7ea2a9469 --- /dev/null +++ b/stock_last_purchase_price/models/product_product.py @@ -0,0 +1,158 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Ammu Raj (odoo@cybrosys.com) +# +# This program is free software: you can modify +# it under the terms of the GNU Affero General Public License (AGPL) as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +################################################################################ +from odoo import api, models, _ +from odoo.exceptions import UserError +from odoo.tools import float_is_zero + + +class ProductProduct(models.Model): + """ Class to inherit product_product to add some functionalities """ + _inherit = 'product.product' + + def create_price_change_account_move(self, new_price, account_id, + company_id, origin): + """ Function to compute and updated the change in price """ + account_move = self.env['account.move'] + product_accounts = { + product.id: product.product_tmpl_id.get_product_accounts() for + product in self} + for product in self.with_context().filtered( + lambda r: r.valuation == 'real_time'): + diff = product.standard_price - new_price + if not float_is_zero( + diff, precision_rounding=product.currency_id.rounding): + if not product_accounts[product.id].get('stock_valuation', + False): + raise UserError( + _('You don\'t have any stock valuation account ' + 'defined on your product category. You must define ' + 'one before processing this operation.')) + qty_available = product.qty_available + if qty_available: + # Accounting Entries + if diff * qty_available > 0: + debit_account_id = account_id + credit_account_id = product_accounts[product.id][ + 'stock_valuation'].id + else: + debit_account_id = product_accounts[product.id][ + 'stock_valuation'].id + credit_account_id = account_id + move_vals = { + 'journal_id': product_accounts[product.id][ + 'stock_journal'].id, + 'company_id': company_id, + 'ref': product.default_code, + 'line_ids': [(0, 0, { + 'name': _('%s changed cost from %s to %s - %s') % ( + origin, product.standard_price, new_price, + product.display_name), + 'account_id': debit_account_id, + 'debit': abs(diff * qty_available), + 'credit': 0, + 'product_id': product.id, + }), (0, 0, { + 'name': _('%s changed cost from %s to %s - %s') % ( + origin, product.standard_price, new_price, + product.display_name), + 'account_id': credit_account_id, + 'debit': 0, + 'credit': abs(diff * qty_available), + 'product_id': product.id, + })], + } + move = account_move.create(move_vals) + move.action_post() + return True + + @api.depends('stock_move_ids.product_qty', 'stock_move_ids.state', + 'stock_move_ids.remaining_value', + 'product_tmpl_id.cost_method', + 'product_tmpl_id.standard_price', + 'product_tmpl_id.property_valuation', + 'product_tmpl_id.categ_id.property_valuation') + def _compute_stock_value(self): + """ Function to compute the stock moves and update the values """ + stock_move = self.env['stock.move'] + to_date = self.env.context.get('to_date') + self.env['account.move.line'].check_access_rights('read') + fifo_automated_values = {} + query = """SELECT aml.product_id, aml.account_id, + sum(aml.debit) - sum(aml.credit), sum(quantity), + array_agg(aml.id) FROM account_move_line AS aml + WHERE aml.product_id IS NOT NULL AND aml.company_id=%%s %s + GROUP BY aml.product_id, aml.account_id""" + params = (self.env.user.company_id.id,) + if to_date: + query = query % ('AND aml.date <= %s',) + params = params + (to_date,) + else: + query = query % ('',) + self.env.cr.execute(query, params=params) + res = self.env.cr.fetchall() + for row in res: + fifo_automated_values[(row[0], row[1])] = ( + row[2], row[3], list(row[4])) + for product in self: + if product.cost_method in ['standard', 'average', 'last']: + qty_available = product.with_context( + company_owned=True, owner_id=False).qty_available + price_used = product.standard_price + if to_date: + price_used = product.get_history_price( + self.env.user.company_id.id, date=to_date) + product.stock_value = price_used * qty_available + product.qty_at_date = qty_available + elif product.cost_method == 'fifo': + if to_date: + if product.product_tmpl_id.valuation == 'manual_periodic': + domain = [('product_id', '=', product.id), + ('date', '<=', + to_date)] + stock_move._get_all_base_domain() + moves = stock_move.search(domain) + product.stock_value = sum(moves.mapped('value')) + product.qty_at_date = product.with_context( + company_owned=True, owner_id=False).qty_available + product.stock_fifo_manual_move_ids = stock_move.browse( + moves.ids) + elif product.product_tmpl_id.valuation == 'real_time': + valuation_account_id = product.categ_id.property_stock_valuation_account_id.id + value, quantity, aml_ids = fifo_automated_values.get( + (product.id, valuation_account_id)) or ( + 0, 0, []) + product.stock_value = value + product.qty_at_date = quantity + product.stock_fifo_real_time_aml_ids = self.env[ + 'account.move.line'].browse(aml_ids) + else: + product.stock_value, moves = product._sum_remaining_values() + product.qty_at_date = product.with_context( + company_owned=True, owner_id=False).qty_available + if product.product_tmpl_id.valuation == 'manual_periodic': + product.stock_fifo_manual_move_ids = moves + elif product.product_tmpl_id.valuation == 'real_time': + valuation_account_id = product.categ_id.property_stock_valuation_account_id.id + value, quantity, aml_ids = fifo_automated_values.get( + (product.id, valuation_account_id)) or ( + 0, 0, []) + product.stock_fifo_real_time_aml_ids = self.env[ + 'account.move.line'].browse(aml_ids) diff --git a/stock_last_purchase_price/models/product_template.py b/stock_last_purchase_price/models/product_template.py new file mode 100644 index 000000000..be2f43d77 --- /dev/null +++ b/stock_last_purchase_price/models/product_template.py @@ -0,0 +1,56 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Ammu Raj (odoo@cybrosys.com) +# +# This program is free software: you can modify +# it under the terms of the GNU Affero General Public License (AGPL) as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +################################################################################ +from odoo import fields, models + + +class ProductTemplate(models.Model): + """ Class to inherit product.template to add costing method """ + _inherit = 'product.template' + + property_cost_method = fields.Selection([ + ('standard', 'Standard Price'), + ('last', 'Last Purchase Price'), + ('fifo', 'First In First Out (FIFO)'), + ('average', 'Average Cost (AVCO)')], string='Costing Method', + company_dependent=True, copy=True, + help="""Standard Price: The products are valued + at their standard cost defined on the product. + Average Cost (AVCO): The products are valued at weighted average cost. + First In First Out (FIFO): The products are valued supposing + those that enter the company first will also leave it first. + Last Purchase Price: The products are valued same as 'Standard + Price' Method, But standard price defined on the product will + be updated automatically with last purchase price.""") + + def _set_cost_method(self): + """ When going from FIFO to AVCO or to standard, we update the standard + price with the average value in stock """ + if (self.property_cost_method == 'fifo' and + self.cost_method in ['average', 'standard', 'last']): + # Cannot use the `stock_value` computed field as it's already + # invalidated when entering this method. + valuation = sum([variant._sum_remaining_values()[0] for variant in + self.product_variant_ids]) + qty_available = self.with_context(company_owned=True).qty_available + if qty_available: + self.standard_price = valuation / qty_available + return self.write({'property_cost_method': self.cost_method}) diff --git a/stock_last_purchase_price/models/stock_move.py b/stock_last_purchase_price/models/stock_move.py new file mode 100644 index 000000000..78d62f3a5 --- /dev/null +++ b/stock_last_purchase_price/models/stock_move.py @@ -0,0 +1,112 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Ammu Raj (odoo@cybrosys.com) +# +# This program is free software: you can modify +# it under the terms of the GNU Affero General Public License (AGPL) as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +################################################################################ +from collections import defaultdict +from odoo import models, _ +from odoo.exceptions import UserError +from odoo.tools import float_is_zero + + +class StockMove(models.Model): + """ Class to inherit stock_move to update the product price """ + _inherit = "stock.move" + + def product_price_update_before_done(self, forced_qty=None): + tmpl_dict = defaultdict(lambda: 0.0) + # adapt standard price on incoming moves if the product cost_method is + # 'average' + std_price_update = {} + for move in self.filtered( + lambda move: move._is_in() and move.with_company( + move.company_id).product_id.cost_method == 'average'): + product_tot_qty_available = move.product_id.sudo().with_company( + move.company_id).quantity_svl + tmpl_dict[ + move.product_id.id] + rounding = move.product_id.uom_id.rounding + + valued_move_lines = move._get_in_move_lines() + qty_done = 0 + for valued_move_line in valued_move_lines: + qty_done += valued_move_line.product_uom_id._compute_quantity( + valued_move_line.quantity, move.product_id.uom_id) + qty = forced_qty or qty_done + if float_is_zero(product_tot_qty_available, + precision_rounding=rounding): + new_std_price = move._get_price_unit() + elif float_is_zero(product_tot_qty_available + move.product_qty, + precision_rounding=rounding) or \ + float_is_zero(product_tot_qty_available + qty, + precision_rounding=rounding): + new_std_price = move._get_price_unit() + else: + # Get the standard price + amount_unit = std_price_update.get((move.company_id.id, + move.product_id.id)) or move.product_id.with_company( + move.company_id).standard_price + new_std_price = (( + amount_unit * product_tot_qty_available) + ( + move._get_price_unit() * qty)) / ( + product_tot_qty_available + qty) + + tmpl_dict[move.product_id.id] += qty_done + # Write the standard price, as SUPERUSER_ID because a warehouse + # manager may not have the right to write on products + move.product_id.with_company(move.company_id.id).with_context( + disable_auto_svl=True).sudo().write( + {'standard_price': new_std_price}) + std_price_update[ + move.company_id.id, move.product_id.id] = new_std_price + # adapt standard price on incomming moves if the product cost_method + # is 'fifo' + for move in self.filtered(lambda move: + move.with_company( + move.company_id).product_id.cost_method == 'fifo' + and float_is_zero( + move.product_id.sudo().quantity_svl, + precision_rounding=move.product_id.uom_id.rounding)): + move.product_id.with_company(move.company_id.id).sudo().write( + {'standard_price': move._get_price_unit()}) + # Add new costing method for 'last' with real-time or + # manual_periodic valuation + # Filter moves based on conditions + for move in self.filtered(lambda move: move.with_company( + move.company_id).product_id.cost_method == 'last' and + ( + move.product_id.valuation == 'real_time' or move.product_id.valuation == 'manual_periodic')): + # Get the new standard price for the move + new_std_price = move._get_price_unit()[self.env['stock.lot']] + # Presumably retrieves incoming move price + # Retrieve product details for the move + products = self.env['product.product'].browse( + move.product_id.id) + # Determine the account ID for price differences + account_id = ( + products.property_account_creditor_price_difference.id + or products.categ_id.property_account_creditor_price_difference_categ.id) + # Check if account ID is not set, raise an error + if not account_id: + raise UserError( + _('Configuration error. Please configure the price ' + 'difference account on the product or its category ' + 'to process this operation.')) + move.product_id.with_company(move.company_id.id).with_context( + disable_auto_svl=True).sudo().write( + {'standard_price': new_std_price}) diff --git a/stock_last_purchase_price/models/stock_move_line.py b/stock_last_purchase_price/models/stock_move_line.py new file mode 100644 index 000000000..924220cc7 --- /dev/null +++ b/stock_last_purchase_price/models/stock_move_line.py @@ -0,0 +1,100 @@ +# -*- coding: utf-8 -*- +################################################################################ +# +# Cybrosys Technologies Pvt. Ltd. +# Copyright (C) 2024-TODAY Cybrosys Technologies(). +# Author: Ammu Raj (odoo@cybrosys.com) +# +# This program is free software: you can modify +# it under the terms of the GNU Affero General Public License (AGPL) as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +################################################################################ +from odoo import models + + +class StockMoveLine(models.Model): + """ Class to inherit the model stock.move.line to override the create + function """ + _inherit = 'stock.move.line' + + def write(self, vals): + """ When editing a done stock.move.line, we impact the valuation. + Users may increase or decrease the `qty_done` field. There are three + cost method available: standard, average and fifo. We implement the + logic in a similar way for standard and average: increase or decrease + the original value with the standard or average price of today. In + fifo, we have a different logic whether the move is incoming or + outgoing. If the move is incoming, we update the value and + remaining_value/qty with the unit price of the move. If the move is + outgoing and the user increases qty_done, we call _run_fifo, and it'll + consume layer(s) in the stack the same way a new outgoing move would + have done. If the move is outgoing and the user decreases qty_done, we + either increase the last receipt candidate if one is found or we + decrease the value with the last fifo price. + """ + if 'qty_done' in vals: + moves_to_update = {} + for move_line in self.filtered( + lambda ml: ml.state == 'done' and ( + ml.move_id._is_in() or ml.move_id._is_out())): + moves_to_update[move_line.move_id] = ( + vals['qty_done'] - move_line.qty_done) + for move_id, qty_difference in moves_to_update.items(): + move_vals = {} + if move_id.product_id.cost_method in ['standard', 'average', + 'last']: + correction_value = (qty_difference * + move_id.product_id.standard_price) + if move_id._is_in(): + move_vals['value'] = move_id.value + correction_value + elif move_id._is_out(): + move_vals['value'] = move_id.value - correction_value + else: + if move_id._is_in(): + correction_value = qty_difference * move_id.price_unit + move_vals['value'] = move_id.value + correction_value + move_vals['remaining_qty'] = (move_id.remaining_qty + + qty_difference) + move_vals['remaining_value'] = (move_id.remaining_value + + correction_value) + elif move_id._is_out() and qty_difference > 0: + correction_value = self.env['stock.move']._run_fifo( + move_id, quantity=qty_difference) + # No need to adapt `remaining_qty` and + # `remaining_value` as `_run_fifo` took care of it + move_vals['value'] = move_id.value - correction_value + elif move_id._is_out() and qty_difference < 0: + candidates_receipt = self.env['stock.move'].search( + move_id._get_in_domain(), order='date, id desc', + limit=1) + if candidates_receipt: + candidates_receipt.write({ + 'remaining_qty': candidates_receipt.remaining_qty + -qty_difference, + 'remaining_value': candidates_receipt.remaining_value + ( + -qty_difference * candidates_receipt.price_unit), + }) + correction_value = (qty_difference * + candidates_receipt.price_unit) + else: + correction_value = (qty_difference * + move_id.product_id.standard_price) + move_vals['value'] = move_id.value - correction_value + move_id.write(move_vals) + if move_id.product_id.valuation == 'real_time': + move_id.with_context( + force_valuation_amount=correction_value, + forced_quantity=qty_difference)._account_entry_move() + if qty_difference > 0: + move_id.product_price_update_before_done( + forced_qty=qty_difference) + return super().write(vals) diff --git a/stock_last_purchase_price/static/description/assets/cybro-icon.png b/stock_last_purchase_price/static/description/assets/cybro-icon.png new file mode 100644 index 000000000..06e73e11d Binary files /dev/null and b/stock_last_purchase_price/static/description/assets/cybro-icon.png differ diff --git a/stock_last_purchase_price/static/description/assets/cybro-odoo.png b/stock_last_purchase_price/static/description/assets/cybro-odoo.png new file mode 100644 index 000000000..ed02e07a4 Binary files /dev/null and b/stock_last_purchase_price/static/description/assets/cybro-odoo.png differ diff --git a/stock_last_purchase_price/static/description/assets/h2.png b/stock_last_purchase_price/static/description/assets/h2.png new file mode 100644 index 000000000..0bfc4707d Binary files /dev/null and b/stock_last_purchase_price/static/description/assets/h2.png differ diff --git a/stock_last_purchase_price/static/description/assets/icons/arrows-repeat.svg b/stock_last_purchase_price/static/description/assets/icons/arrows-repeat.svg new file mode 100644 index 000000000..1d7efabc5 --- /dev/null +++ b/stock_last_purchase_price/static/description/assets/icons/arrows-repeat.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/stock_last_purchase_price/static/description/assets/icons/banner-1.png b/stock_last_purchase_price/static/description/assets/icons/banner-1.png new file mode 100644 index 000000000..c180db172 Binary files /dev/null and b/stock_last_purchase_price/static/description/assets/icons/banner-1.png differ diff --git a/stock_last_purchase_price/static/description/assets/icons/banner-2.svg b/stock_last_purchase_price/static/description/assets/icons/banner-2.svg new file mode 100644 index 000000000..e606d97d9 --- /dev/null +++ b/stock_last_purchase_price/static/description/assets/icons/banner-2.svg @@ -0,0 +1,73 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/stock_last_purchase_price/static/description/assets/icons/banner-bg.png b/stock_last_purchase_price/static/description/assets/icons/banner-bg.png new file mode 100644 index 000000000..a8238d3c0 Binary files /dev/null and b/stock_last_purchase_price/static/description/assets/icons/banner-bg.png differ diff --git a/stock_last_purchase_price/static/description/assets/icons/banner-bg.svg b/stock_last_purchase_price/static/description/assets/icons/banner-bg.svg new file mode 100644 index 000000000..b1378103e --- /dev/null +++ b/stock_last_purchase_price/static/description/assets/icons/banner-bg.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/stock_last_purchase_price/static/description/assets/icons/banner-call.svg b/stock_last_purchase_price/static/description/assets/icons/banner-call.svg new file mode 100644 index 000000000..96c687e81 --- /dev/null +++ b/stock_last_purchase_price/static/description/assets/icons/banner-call.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/stock_last_purchase_price/static/description/assets/icons/banner-mail.svg b/stock_last_purchase_price/static/description/assets/icons/banner-mail.svg new file mode 100644 index 000000000..cbf0d158d --- /dev/null +++ b/stock_last_purchase_price/static/description/assets/icons/banner-mail.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/stock_last_purchase_price/static/description/assets/icons/banner-pattern.svg b/stock_last_purchase_price/static/description/assets/icons/banner-pattern.svg new file mode 100644 index 000000000..9c1c7e101 --- /dev/null +++ b/stock_last_purchase_price/static/description/assets/icons/banner-pattern.svg @@ -0,0 +1,343 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/stock_last_purchase_price/static/description/assets/icons/banner-promo.svg b/stock_last_purchase_price/static/description/assets/icons/banner-promo.svg new file mode 100644 index 000000000..d52791b11 --- /dev/null +++ b/stock_last_purchase_price/static/description/assets/icons/banner-promo.svg @@ -0,0 +1,147 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/stock_last_purchase_price/static/description/assets/icons/brand-pair.svg b/stock_last_purchase_price/static/description/assets/icons/brand-pair.svg new file mode 100644 index 000000000..d8db7fc1e --- /dev/null +++ b/stock_last_purchase_price/static/description/assets/icons/brand-pair.svg @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/stock_last_purchase_price/static/description/assets/icons/check.png b/stock_last_purchase_price/static/description/assets/icons/check.png new file mode 100644 index 000000000..c8e85f51d Binary files /dev/null and b/stock_last_purchase_price/static/description/assets/icons/check.png differ diff --git a/stock_last_purchase_price/static/description/assets/icons/chevron.png b/stock_last_purchase_price/static/description/assets/icons/chevron.png new file mode 100644 index 000000000..2089293d6 Binary files /dev/null and b/stock_last_purchase_price/static/description/assets/icons/chevron.png differ diff --git a/stock_last_purchase_price/static/description/assets/icons/close-icon.svg b/stock_last_purchase_price/static/description/assets/icons/close-icon.svg new file mode 100644 index 000000000..df8cce37a --- /dev/null +++ b/stock_last_purchase_price/static/description/assets/icons/close-icon.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/stock_last_purchase_price/static/description/assets/icons/cogs.png b/stock_last_purchase_price/static/description/assets/icons/cogs.png new file mode 100644 index 000000000..95d0bad62 Binary files /dev/null and b/stock_last_purchase_price/static/description/assets/icons/cogs.png differ diff --git a/stock_last_purchase_price/static/description/assets/icons/collabarate-icon.svg b/stock_last_purchase_price/static/description/assets/icons/collabarate-icon.svg new file mode 100644 index 000000000..dd4e10518 --- /dev/null +++ b/stock_last_purchase_price/static/description/assets/icons/collabarate-icon.svg @@ -0,0 +1,3 @@ + + + diff --git a/stock_last_purchase_price/static/description/assets/icons/consultation.png b/stock_last_purchase_price/static/description/assets/icons/consultation.png new file mode 100644 index 000000000..8319d4baa Binary files /dev/null and b/stock_last_purchase_price/static/description/assets/icons/consultation.png differ diff --git a/stock_last_purchase_price/static/description/assets/icons/cybro-logo.png b/stock_last_purchase_price/static/description/assets/icons/cybro-logo.png new file mode 100644 index 000000000..ff4b78220 Binary files /dev/null and b/stock_last_purchase_price/static/description/assets/icons/cybro-logo.png differ diff --git a/stock_last_purchase_price/static/description/assets/icons/down.svg b/stock_last_purchase_price/static/description/assets/icons/down.svg new file mode 100644 index 000000000..f21c36271 --- /dev/null +++ b/stock_last_purchase_price/static/description/assets/icons/down.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/stock_last_purchase_price/static/description/assets/icons/ecom-black.png b/stock_last_purchase_price/static/description/assets/icons/ecom-black.png new file mode 100644 index 000000000..a9385ff13 Binary files /dev/null and b/stock_last_purchase_price/static/description/assets/icons/ecom-black.png differ diff --git a/stock_last_purchase_price/static/description/assets/icons/education-black.png b/stock_last_purchase_price/static/description/assets/icons/education-black.png new file mode 100644 index 000000000..3eb09b27b Binary files /dev/null and b/stock_last_purchase_price/static/description/assets/icons/education-black.png differ diff --git a/stock_last_purchase_price/static/description/assets/icons/faq.png b/stock_last_purchase_price/static/description/assets/icons/faq.png new file mode 100644 index 000000000..4250b5b81 Binary files /dev/null and b/stock_last_purchase_price/static/description/assets/icons/faq.png differ diff --git a/stock_last_purchase_price/static/description/assets/icons/feature-icon.svg b/stock_last_purchase_price/static/description/assets/icons/feature-icon.svg new file mode 100644 index 000000000..fa0ea6850 --- /dev/null +++ b/stock_last_purchase_price/static/description/assets/icons/feature-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/stock_last_purchase_price/static/description/assets/icons/feature.png b/stock_last_purchase_price/static/description/assets/icons/feature.png new file mode 100644 index 000000000..ac7a785c0 Binary files /dev/null and b/stock_last_purchase_price/static/description/assets/icons/feature.png differ diff --git a/stock_last_purchase_price/static/description/assets/icons/gear.svg b/stock_last_purchase_price/static/description/assets/icons/gear.svg new file mode 100644 index 000000000..0cc66b6ea --- /dev/null +++ b/stock_last_purchase_price/static/description/assets/icons/gear.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/stock_last_purchase_price/static/description/assets/icons/hero.gif b/stock_last_purchase_price/static/description/assets/icons/hero.gif new file mode 100644 index 000000000..380654dfe Binary files /dev/null and b/stock_last_purchase_price/static/description/assets/icons/hero.gif differ diff --git a/stock_last_purchase_price/static/description/assets/icons/hire-odoo.svg b/stock_last_purchase_price/static/description/assets/icons/hire-odoo.svg new file mode 100644 index 000000000..e1ac089b0 --- /dev/null +++ b/stock_last_purchase_price/static/description/assets/icons/hire-odoo.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/stock_last_purchase_price/static/description/assets/icons/hotel-black.png b/stock_last_purchase_price/static/description/assets/icons/hotel-black.png new file mode 100644 index 000000000..130f613be Binary files /dev/null and b/stock_last_purchase_price/static/description/assets/icons/hotel-black.png differ diff --git a/stock_last_purchase_price/static/description/assets/icons/license.png b/stock_last_purchase_price/static/description/assets/icons/license.png new file mode 100644 index 000000000..a5869797e Binary files /dev/null and b/stock_last_purchase_price/static/description/assets/icons/license.png differ diff --git a/stock_last_purchase_price/static/description/assets/icons/life-ring-icon.svg b/stock_last_purchase_price/static/description/assets/icons/life-ring-icon.svg new file mode 100644 index 000000000..3ae6e1d89 --- /dev/null +++ b/stock_last_purchase_price/static/description/assets/icons/life-ring-icon.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/stock_last_purchase_price/static/description/assets/icons/lifebuoy.png b/stock_last_purchase_price/static/description/assets/icons/lifebuoy.png new file mode 100644 index 000000000..658d56ccc Binary files /dev/null and b/stock_last_purchase_price/static/description/assets/icons/lifebuoy.png differ diff --git a/stock_last_purchase_price/static/description/assets/icons/mail.svg b/stock_last_purchase_price/static/description/assets/icons/mail.svg new file mode 100644 index 000000000..1eedde695 --- /dev/null +++ b/stock_last_purchase_price/static/description/assets/icons/mail.svg @@ -0,0 +1,3 @@ + + + diff --git a/stock_last_purchase_price/static/description/assets/icons/manufacturing-black.png b/stock_last_purchase_price/static/description/assets/icons/manufacturing-black.png new file mode 100644 index 000000000..697eb0e9f Binary files /dev/null and b/stock_last_purchase_price/static/description/assets/icons/manufacturing-black.png differ diff --git a/stock_last_purchase_price/static/description/assets/icons/notes.png b/stock_last_purchase_price/static/description/assets/icons/notes.png new file mode 100644 index 000000000..ee5e95404 Binary files /dev/null and b/stock_last_purchase_price/static/description/assets/icons/notes.png differ diff --git a/stock_last_purchase_price/static/description/assets/icons/notification icon.svg b/stock_last_purchase_price/static/description/assets/icons/notification icon.svg new file mode 100644 index 000000000..053189973 --- /dev/null +++ b/stock_last_purchase_price/static/description/assets/icons/notification icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/stock_last_purchase_price/static/description/assets/icons/odoo-consultancy.svg b/stock_last_purchase_price/static/description/assets/icons/odoo-consultancy.svg new file mode 100644 index 000000000..e05f65bde --- /dev/null +++ b/stock_last_purchase_price/static/description/assets/icons/odoo-consultancy.svg @@ -0,0 +1,4 @@ + + + + diff --git a/stock_last_purchase_price/static/description/assets/icons/odoo-licencing.svg b/stock_last_purchase_price/static/description/assets/icons/odoo-licencing.svg new file mode 100644 index 000000000..2606c88b0 --- /dev/null +++ b/stock_last_purchase_price/static/description/assets/icons/odoo-licencing.svg @@ -0,0 +1,3 @@ + + + diff --git a/stock_last_purchase_price/static/description/assets/icons/odoo-logo.png b/stock_last_purchase_price/static/description/assets/icons/odoo-logo.png new file mode 100644 index 000000000..0e4d0eb5a Binary files /dev/null and b/stock_last_purchase_price/static/description/assets/icons/odoo-logo.png differ diff --git a/stock_last_purchase_price/static/description/assets/icons/patter.svg b/stock_last_purchase_price/static/description/assets/icons/patter.svg new file mode 100644 index 000000000..25c9c0a8f --- /dev/null +++ b/stock_last_purchase_price/static/description/assets/icons/patter.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/stock_last_purchase_price/static/description/assets/icons/pattern1.png b/stock_last_purchase_price/static/description/assets/icons/pattern1.png new file mode 100644 index 000000000..09ab0fb2d Binary files /dev/null and b/stock_last_purchase_price/static/description/assets/icons/pattern1.png differ diff --git a/stock_last_purchase_price/static/description/assets/icons/pos-black.png b/stock_last_purchase_price/static/description/assets/icons/pos-black.png new file mode 100644 index 000000000..97c0f90c1 Binary files /dev/null and b/stock_last_purchase_price/static/description/assets/icons/pos-black.png differ diff --git a/stock_last_purchase_price/static/description/assets/icons/puzzle-piece-icon.svg b/stock_last_purchase_price/static/description/assets/icons/puzzle-piece-icon.svg new file mode 100644 index 000000000..3e9ad9373 --- /dev/null +++ b/stock_last_purchase_price/static/description/assets/icons/puzzle-piece-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/stock_last_purchase_price/static/description/assets/icons/puzzle.png b/stock_last_purchase_price/static/description/assets/icons/puzzle.png new file mode 100644 index 000000000..65cf854e7 Binary files /dev/null and b/stock_last_purchase_price/static/description/assets/icons/puzzle.png differ diff --git a/stock_last_purchase_price/static/description/assets/icons/replace-icon.svg b/stock_last_purchase_price/static/description/assets/icons/replace-icon.svg new file mode 100644 index 000000000..d0e3a7af1 --- /dev/null +++ b/stock_last_purchase_price/static/description/assets/icons/replace-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/stock_last_purchase_price/static/description/assets/icons/restaurant-black.png b/stock_last_purchase_price/static/description/assets/icons/restaurant-black.png new file mode 100644 index 000000000..4a35eb939 Binary files /dev/null and b/stock_last_purchase_price/static/description/assets/icons/restaurant-black.png differ diff --git a/stock_last_purchase_price/static/description/assets/icons/screenshot-main.png b/stock_last_purchase_price/static/description/assets/icons/screenshot-main.png new file mode 100644 index 000000000..575f8e676 Binary files /dev/null and b/stock_last_purchase_price/static/description/assets/icons/screenshot-main.png differ diff --git a/stock_last_purchase_price/static/description/assets/icons/screenshot.png b/stock_last_purchase_price/static/description/assets/icons/screenshot.png new file mode 100644 index 000000000..cef272529 Binary files /dev/null and b/stock_last_purchase_price/static/description/assets/icons/screenshot.png differ diff --git a/stock_last_purchase_price/static/description/assets/icons/service-black.png b/stock_last_purchase_price/static/description/assets/icons/service-black.png new file mode 100644 index 000000000..301ab51cb Binary files /dev/null and b/stock_last_purchase_price/static/description/assets/icons/service-black.png differ diff --git a/stock_last_purchase_price/static/description/assets/icons/skype-fill.svg b/stock_last_purchase_price/static/description/assets/icons/skype-fill.svg new file mode 100644 index 000000000..c17423639 --- /dev/null +++ b/stock_last_purchase_price/static/description/assets/icons/skype-fill.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/stock_last_purchase_price/static/description/assets/icons/skype.png b/stock_last_purchase_price/static/description/assets/icons/skype.png new file mode 100644 index 000000000..51b409fb3 Binary files /dev/null and b/stock_last_purchase_price/static/description/assets/icons/skype.png differ diff --git a/stock_last_purchase_price/static/description/assets/icons/skype.svg b/stock_last_purchase_price/static/description/assets/icons/skype.svg new file mode 100644 index 000000000..df3dad39b --- /dev/null +++ b/stock_last_purchase_price/static/description/assets/icons/skype.svg @@ -0,0 +1,3 @@ + + + diff --git a/stock_last_purchase_price/static/description/assets/icons/star-1.svg b/stock_last_purchase_price/static/description/assets/icons/star-1.svg new file mode 100644 index 000000000..7e55ab162 --- /dev/null +++ b/stock_last_purchase_price/static/description/assets/icons/star-1.svg @@ -0,0 +1,53 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/stock_last_purchase_price/static/description/assets/icons/star-2.svg b/stock_last_purchase_price/static/description/assets/icons/star-2.svg new file mode 100644 index 000000000..5ae9f507a --- /dev/null +++ b/stock_last_purchase_price/static/description/assets/icons/star-2.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/stock_last_purchase_price/static/description/assets/icons/support.png b/stock_last_purchase_price/static/description/assets/icons/support.png new file mode 100644 index 000000000..4f18b8b82 Binary files /dev/null and b/stock_last_purchase_price/static/description/assets/icons/support.png differ diff --git a/stock_last_purchase_price/static/description/assets/icons/test-1 - Copy.png b/stock_last_purchase_price/static/description/assets/icons/test-1 - Copy.png new file mode 100644 index 000000000..f6a902663 Binary files /dev/null and b/stock_last_purchase_price/static/description/assets/icons/test-1 - Copy.png differ diff --git a/stock_last_purchase_price/static/description/assets/icons/test-1.png b/stock_last_purchase_price/static/description/assets/icons/test-1.png new file mode 100644 index 000000000..0908add2b Binary files /dev/null and b/stock_last_purchase_price/static/description/assets/icons/test-1.png differ diff --git a/stock_last_purchase_price/static/description/assets/icons/test-2.png b/stock_last_purchase_price/static/description/assets/icons/test-2.png new file mode 100644 index 000000000..4671fe91e Binary files /dev/null and b/stock_last_purchase_price/static/description/assets/icons/test-2.png differ diff --git a/stock_last_purchase_price/static/description/assets/icons/trading-black.png b/stock_last_purchase_price/static/description/assets/icons/trading-black.png new file mode 100644 index 000000000..9398ba2f1 Binary files /dev/null and b/stock_last_purchase_price/static/description/assets/icons/trading-black.png differ diff --git a/stock_last_purchase_price/static/description/assets/icons/training.png b/stock_last_purchase_price/static/description/assets/icons/training.png new file mode 100644 index 000000000..884ca024d Binary files /dev/null and b/stock_last_purchase_price/static/description/assets/icons/training.png differ diff --git a/stock_last_purchase_price/static/description/assets/icons/translate.svg b/stock_last_purchase_price/static/description/assets/icons/translate.svg new file mode 100644 index 000000000..af9c8a1aa --- /dev/null +++ b/stock_last_purchase_price/static/description/assets/icons/translate.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/stock_last_purchase_price/static/description/assets/icons/update.png b/stock_last_purchase_price/static/description/assets/icons/update.png new file mode 100644 index 000000000..ecbc5a01a Binary files /dev/null and b/stock_last_purchase_price/static/description/assets/icons/update.png differ diff --git a/stock_last_purchase_price/static/description/assets/icons/user.png b/stock_last_purchase_price/static/description/assets/icons/user.png new file mode 100644 index 000000000..6ffb23d9f Binary files /dev/null and b/stock_last_purchase_price/static/description/assets/icons/user.png differ diff --git a/stock_last_purchase_price/static/description/assets/icons/video.png b/stock_last_purchase_price/static/description/assets/icons/video.png new file mode 100644 index 000000000..576705b17 Binary files /dev/null and b/stock_last_purchase_price/static/description/assets/icons/video.png differ diff --git a/stock_last_purchase_price/static/description/assets/icons/whatsapp.png b/stock_last_purchase_price/static/description/assets/icons/whatsapp.png new file mode 100644 index 000000000..d513a5356 Binary files /dev/null and b/stock_last_purchase_price/static/description/assets/icons/whatsapp.png differ diff --git a/stock_last_purchase_price/static/description/assets/icons/wrench-icon.svg b/stock_last_purchase_price/static/description/assets/icons/wrench-icon.svg new file mode 100644 index 000000000..174b5a465 --- /dev/null +++ b/stock_last_purchase_price/static/description/assets/icons/wrench-icon.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/stock_last_purchase_price/static/description/assets/icons/wrench.png b/stock_last_purchase_price/static/description/assets/icons/wrench.png new file mode 100644 index 000000000..6c04dea0f Binary files /dev/null and b/stock_last_purchase_price/static/description/assets/icons/wrench.png differ diff --git a/stock_last_purchase_price/static/description/assets/modules/1.jpg b/stock_last_purchase_price/static/description/assets/modules/1.jpg new file mode 100644 index 000000000..3cb15fe01 Binary files /dev/null and b/stock_last_purchase_price/static/description/assets/modules/1.jpg differ diff --git a/stock_last_purchase_price/static/description/assets/modules/2.jpg b/stock_last_purchase_price/static/description/assets/modules/2.jpg new file mode 100644 index 000000000..662cadcc3 Binary files /dev/null and b/stock_last_purchase_price/static/description/assets/modules/2.jpg differ diff --git a/stock_last_purchase_price/static/description/assets/modules/3.jpg b/stock_last_purchase_price/static/description/assets/modules/3.jpg new file mode 100644 index 000000000..717a00443 Binary files /dev/null and b/stock_last_purchase_price/static/description/assets/modules/3.jpg differ diff --git a/stock_last_purchase_price/static/description/assets/modules/4.png b/stock_last_purchase_price/static/description/assets/modules/4.png new file mode 100644 index 000000000..00ebf54ad Binary files /dev/null and b/stock_last_purchase_price/static/description/assets/modules/4.png differ diff --git a/stock_last_purchase_price/static/description/assets/modules/5.jpg b/stock_last_purchase_price/static/description/assets/modules/5.jpg new file mode 100644 index 000000000..7c67e2eec Binary files /dev/null and b/stock_last_purchase_price/static/description/assets/modules/5.jpg differ diff --git a/stock_last_purchase_price/static/description/assets/modules/6.gif b/stock_last_purchase_price/static/description/assets/modules/6.gif new file mode 100644 index 000000000..a35ece8df Binary files /dev/null and b/stock_last_purchase_price/static/description/assets/modules/6.gif differ diff --git a/stock_last_purchase_price/static/description/assets/screenshots/1.png b/stock_last_purchase_price/static/description/assets/screenshots/1.png new file mode 100644 index 000000000..45b67455f Binary files /dev/null and b/stock_last_purchase_price/static/description/assets/screenshots/1.png differ diff --git a/stock_last_purchase_price/static/description/assets/screenshots/2.png b/stock_last_purchase_price/static/description/assets/screenshots/2.png new file mode 100644 index 000000000..65e0593cb Binary files /dev/null and b/stock_last_purchase_price/static/description/assets/screenshots/2.png differ diff --git a/stock_last_purchase_price/static/description/assets/screenshots/3.png b/stock_last_purchase_price/static/description/assets/screenshots/3.png new file mode 100644 index 000000000..0c1a3a108 Binary files /dev/null and b/stock_last_purchase_price/static/description/assets/screenshots/3.png differ diff --git a/stock_last_purchase_price/static/description/assets/screenshots/4.png b/stock_last_purchase_price/static/description/assets/screenshots/4.png new file mode 100644 index 000000000..577b1493b Binary files /dev/null and b/stock_last_purchase_price/static/description/assets/screenshots/4.png differ diff --git a/stock_last_purchase_price/static/description/assets/screenshots/5.png b/stock_last_purchase_price/static/description/assets/screenshots/5.png new file mode 100644 index 000000000..120c486c5 Binary files /dev/null and b/stock_last_purchase_price/static/description/assets/screenshots/5.png differ diff --git a/stock_last_purchase_price/static/description/assets/screenshots/6.png b/stock_last_purchase_price/static/description/assets/screenshots/6.png new file mode 100644 index 000000000..aef511f06 Binary files /dev/null and b/stock_last_purchase_price/static/description/assets/screenshots/6.png differ diff --git a/stock_last_purchase_price/static/description/assets/screenshots/GIF.gif b/stock_last_purchase_price/static/description/assets/screenshots/GIF.gif new file mode 100644 index 000000000..bfb46d058 Binary files /dev/null and b/stock_last_purchase_price/static/description/assets/screenshots/GIF.gif differ diff --git a/stock_last_purchase_price/static/description/assets/y18.jpg b/stock_last_purchase_price/static/description/assets/y18.jpg new file mode 100644 index 000000000..eea1714f2 Binary files /dev/null and b/stock_last_purchase_price/static/description/assets/y18.jpg differ diff --git a/stock_last_purchase_price/static/description/banner.jpg b/stock_last_purchase_price/static/description/banner.jpg new file mode 100644 index 000000000..9b2d0dfc7 Binary files /dev/null and b/stock_last_purchase_price/static/description/banner.jpg differ diff --git a/stock_last_purchase_price/static/description/icon.png b/stock_last_purchase_price/static/description/icon.png new file mode 100644 index 000000000..333326340 Binary files /dev/null and b/stock_last_purchase_price/static/description/icon.png differ diff --git a/stock_last_purchase_price/static/description/index.html b/stock_last_purchase_price/static/description/index.html new file mode 100644 index 000000000..558b2ce21 --- /dev/null +++ b/stock_last_purchase_price/static/description/index.html @@ -0,0 +1,1047 @@ + + + + + + Costing Method: Last Purchase Price + + + + + + + + + + +
+
+ + + +
+
+ Enterprise +
+
+ Odoo.sh +
+
+
+ +
+
+
+
+

+ Introducing New Costing Method 'Last Purchase Price' in Odoo. +

+

Costing Method: Last Purchase Price +

+
+
+ +
+ +
+ +
+
+
+ +
+
+ +
+
+ +
+
+
+

Key + Highlights

+
+
+
+
+ +
+
+ Product's Cost as Last Purchase Price +
+

+ This module allows you to update your product's cost as your last purchase price and changes the stock + valuation based on that. +

+
+
+
+
+
+ +
+
+ A New Costing Method +
+

+ A new costing method is added to the list and can be chosen from product category form. +

+
+
+
+
+
+ +
+
+ Compatibility +
+

+ Designed to work with both Odoo Community and Enterprise editions. +

+
+
+ +
+
+ +
+
+
+ Costing Method: Last Purchase Price +

+ Are you ready to make your business more + organized? +
Improve now! +

+ +
+
+ +
+
+
+ + + + +
+
+ +
+
+
+
+ acc_bg +
+ +
+
+
+
+

+ Set Product Cost. + +

+
+
+

+ Product form showing the cost. +

+
+
+
+ +
+
+
+
+
+
+
+
+
+

+ + Set Costing method +

+
+
+

+ Select the Product category and set costing method as Last Purchase Price. +

+
+
+
+ +
+
+
+
+
+
+
+
+
+

+ Set Price Difference Account + +

+
+
+

+ Set a price difference account in product form. +

+
+
+
+ +
+
+
+
+
+
+
+
+
+

+ Create Purchase Order + +

+
+
+

+ Purchase order created with new cost. +

+
+
+
+ +
+
+
+
+
+
+
+
+
+

+ The Cost is Updated + +

+
+
+

+ Cost updated in the product form with the new cost. +

+
+
+
+ +
+
+
+
+
+
+
+
+
+

+ Journal Items + +

+
+
+

+ Journal item generated by the price change. +

+
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+
+ +
+

+ Automatically posting price difference related accounting entries to the 'Price Difference Account' + when we use automated inventory valuation.

+
+ +
+
+
+
+
+
+ +
+

+ A new costing method is added to the list and can be chosen from product category form.

+
+
+
+
+
+
+
+ +
+

+ Cost price of products will be updated with their last purchase price.

+
+
+
+
+
+
+
+
+
+
+ +
+ +
+ +
+

+ The Last Purchase Price method calculates the cost of inventory based on the most recent purchase price of the item, ensuring that the value reflects the latest market conditions. +

+
+
+ +
+ +
+

+ Inventory valuation using the Last Purchase Price method can fluctuate based on recent purchase prices, which can lead to more accurate financial reporting and better cash flow management. +

+
+
+ +
+ +
+

+ Yes, in systems like Odoo, the Last Purchase Price is automatically updated whenever a new purchase order is processed, ensuring that inventory costs remain current and accurate. +

+
+
+
+ +
+
+
+
+
+
+ +
+
+

+ Latest Release 18.0.1.0.0 +

+ + 4th October, 2024 + +
+
+
+
+
+ Add +
+
+
+
    +
  • + Initial Commit +
  • + +
+
+
+
+
+
+
+
+
+
+ + + +
+

+ Related Products +

+ +
+ + +
+

+ Our Services

+ +
+ +
+
+ .... +
+
+ +
+ + +
+
+ + + + + +