Skip to content

mekomsolutions/odoo-sale_order_price_recalculation

Repository files navigation

Odoo Sales Order Price Recalculation Add-on

README

See README

Run add-on tests

Project tests should be run using the following Gradle command:

./gradlew clean test

Once the tests have run, you may want to run ./gradlew cleanDocker to make sure all the resources are destroyed (containers, volumes, folders)

Install locally

Install the archive locally:

./gradlew clean install

Deploy on repository

2 ways to set the credentials:

  • export username/password as environment variables:
# Prompt for Nexus username and password
read -p "Nexus username: " user; export NEXUS_USER=$user; read -sp "Nexus password: " password; export NEXUS_PASSWORD=$password; echo ""
./gradlew publish -Puser=${NEXUS_USER} -Ppassword=${NEXUS_PASSWORD}
  • read from the ~/.m2/settings.xml file:
export NEXUS_REPO_ID="mks-nexus"
./gradlew publish -PrepoId=${NEXUS_REPO_ID}

(Note that, if set, the -Puser and -Ppassword will take precedence over the settings read in the ~/.m2/settings.xml)

By default the repo URL will be Mekom Nexus repository, but you can provide your own artifact repository URL by adding:

-Purl="https://my-nexus/url"

Additional info

If you are willing to leave the Odoo server running after running the tests, use:

./gradlew clean test run

The Odoo server will be accessible at http://localhost:8069

About

Odoo Add-on to update lines prices from the selected price list

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •