Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multi-Currency Sales Margin Reports

This module based on Odoo 18 Community Edition, provides multi-currency sale margin report, both as a web-based and pdf.

report-screenshot.png

Reports can be generated from Sales ➔ Reporting ➔ Sales Margin Report: Multi-currency

Installation

Docker

Git clone this repo into your custom addons path, then execute the following command line using Docker:

docker exec -it <odoo_container_id> bash -c "odoo -d <odoo_db_name> -i bm_sale_margin_reports"

Running tests in a Docker container

docker exec -it <odoo_container_id> bash -c "odoo -p <port> -d <test_db_name> -r <db_username> -w <db_password> --db_host=<db_host> --db_port=<db_port> -i bm_sale_margin_reports  --test-enable --stop-after-init"

Example:

docker exec -it odoo18_community bash -c "odoo -p 5050 -d odoo18_db_test -r odoo -w odoo --db_host=db --db_port=5432 -i bm_sale_margin_reports --log-level=test --test-enable --stop-after-init --test-enable --stop-after-init"

or to execute specific test case example:

docker exec -it odoo18_community bash -c "odoo -p 5050 -d odoo18_db_test -r odoo -w odoo --db_host=db --db_port=5432 -i bm_sale_margin_reports --log-level=test --test-enable --stop-after-init --test-enable --stop-after-init --test-tags /bm_sale_margin_reports:ComplaintsTests.test_default_settings"

About

Sales margin report with multi-currency support for Odoo Community v18

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages