Fueling Curiosity, One Insight at a Time
At Codemancers, we believe every day is an opportunity to grow. This section is where our team shares bite-sized discoveries, technical breakthroughs and fascinating nuggets of wisdom we've stumbled upon in our work.
Mar 14, 2024
Consumable products does not have certain properties such as
Reason being, storable product needs accurate inventory tracking where as consumable product focuses on purchase and expense records without maintaining detailed inventory levels.
On Hand
& Forecasted
while Storable products has it.Reason being, storable product needs accurate inventory tracking where as consumable product focuses on purchase and expense records without maintaining detailed inventory levels.
satya
Mar 13, 2024
To create products in odoo.
• Navigate to Products > Products
• Click on "New" and fill in the necessary details like product name, sales price, cost, product type and any other relevant information.
• Click on "Save".
And now the product will be available in the Inventory Adjustment for us to add in stock.
#inventory-management #wms #odoo
• Navigate to Products > Products
• Click on "New" and fill in the necessary details like product name, sales price, cost, product type and any other relevant information.
• Click on "Save".
And now the product will be available in the Inventory Adjustment for us to add in stock.
#inventory-management #wms #odoo
Syed Sibtain
System Analyst
Mar 13, 2024
Delivery Order
in Odoo is used for sending goods from warehouse to customer and external parties, to transfer between warehouses use Internal Transfers
in Odoo.#inventory-management #wms #odoo
satya
Mar 12, 2024
If using Podman (instead of Docker for Mac) and trivy for image scanning, trivy expects DOCKER_HOST env variable to be setup for scanning local images and fails unless DOCKER_HOST is pointing to the podman socket.
Fix:
#docker #devops
Fix:
$ export DOCKER_HOST="unix://$(podman machine inspect --format '{{.ConnectionInfo.PodmanSocket.Path}}')"
$ trivy image image_name
#docker #devops
Gautam
Director
Mar 2, 2024
atob()
function decodes a string of data which was encoded using Base64 encoding and btoa()
method encodes the datasujay
Mar 1, 2024
•
•
ActiveSupport::TimeZone.all
which likely fetches a list of available time zones supported by the ActiveSupport library in rails.•
Date::ABBR_DAYNAMES
, which is an array containing abbreviated names of the days of the week (e.g., ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"]). This array is provided by Ruby's Date class, making it convenient for developers to access the names of the days without manually typing them out.Giritharan
System Analyst
Mar 1, 2024
While exploring a lengthy code file, we often need to see the available properties and methods without diving into their implementation. In VS Code, this is quite easy with "Fold Level 1" functionality. This feature collapses the code to display only the top-level structures, which makes it easier to understand the file's architecture without getting into the details.
To Use Fold Level 1:
1. Open Command Palette:
2. Select
#vs-code, #coding
To Use Fold Level 1:
1. Open Command Palette:
Ctrl+Shift+P
(Windows) or Cmd+Shift+P
(macOS).2. Select
Fold Level 1
: Now, only the main parts of our code will be visible.#vs-code, #coding
Ashwani Kumar Jha
Senior System Analyst
Feb 29, 2024
Migration of a Repository from GitLab to GitHub:
1. Clone the GitLab Repository Locally
2. Add the GitHub Repository as a Remote
3. Resolve any merge conflicts that may arise using rebase after pull
4. Push from your local repository to the GitHub repository
1. Clone the GitLab Repository Locally
git clone <GitLab-repository-URL>
cd <repository-name>
2. Add the GitHub Repository as a Remote
git remote add github <GitHub-repository-URL>
3. Resolve any merge conflicts that may arise using rebase after pull
git pull github main
4. Push from your local repository to the GitHub repository
git push github main
soniya.rayabagi
Feb 27, 2024
Resolving blocked host:
The Blocked Host is a new feature of Rails 6. To resolve the Blocked Host error in rails, add
config.hosts.clear
to config/environments/development.rb
in your Rails project. This disables the functionality in the development environment, allowing requests from ngrok.#host-block-issue, #rails
Giritharan
System Analyst
Feb 26, 2024
Extract the source code of the gem to a local directory by using the command
gem unpack GEMNAME
.sujay
Showing 23 to 25 of 77 results
Ready to Build Something Amazing?
Codemancers can bring your vision to life and help you achieve your goals
- Address
2nd Floor, Zee Plaza,
No. 1678, 27th Main Rd,
Sector 2, HSR Layout,
Bengaluru, Karnataka 560102 - Contact
hello@codemancers.com
+91-9731601276