Comments (7)
Hey @simahawk - Take a look at the barcodes_generator_product
. It doesn't fully meet your specs of using a different column, but it is insanely easy to add more logic to do so. You can use my barcodes_generator_package
as an example of implementation on a non-existant col.
from product-attribute.
Also, have you thought about using the Internal Ref as the internal one, and barcode as external? You could then just implement the barcode generator side of things on the pre-existing column, instead of creating a new one.
from product-attribute.
@lasley hey! :) thanks for the tips (and for noticing me about that cool feature) but that's too much work for just a - in our case - "stupid" char field, I think.
And, yes, we considered using barcode as external but it won't work because they need to scan and print using internal ref so barcode must be equal to ref. Unless you override all the barcode-scan machinery.... but, then, once again... I won't do all this work for an additional char field :)
So, ATM I solved the requirement w/ an additional field + small override of PS mapper to use this field instead of barcode.
from product-attribute.
I was under the impression that all barcode scanning happened against the barcode nomenclatures? As an example, barcodes_generator_partner
adds a new nomenclature type & a new barcode field to a model that didn't previously have it. This should mean that the client is scannable, assuming that the scanner is working against the core nomenclatures.
Admittedly I haven't screwed around with the core scanning interfaces (POS/Barcodes) - so this could be wrong. Seems a bit weird that Odoo SA would design all this intricacy without implementing it into their own interface though.
from product-attribute.
@lasley hmm, maybe I am wrong but in a customer project we use enterprise version and the module "stock_barcode" searches products and pickings like this:
self.env['product.product'].search(['|', ('barcode', '=', barcode), ('default_code', '=', barcode)], limit=1)
so, barcode
field is hardcoded :/ and I fear is the same for many other logics.
The real point is: are you telling me that I can use https://github.com/OCA/stock-logistics-barcode/tree/9.0/stock_scanner
and all related modules to replace enterprise machinery for scanning pickings, products and so on? :) Sorry if it sounds as a dumb question but this is the 1st time I play w/ such things π
If the answer is "yes" which is the minimal set of modules I should use to cover this basic need?
from product-attribute.
and all related modules to replace enterprise machinery for scanning pickings, products and so on?
That's the goal, but the web part isn't done - OCA/stock-logistics-barcode#55
I don't have (or want) Enterprise, so I can't comment on how anything there works. Weird that Odoo SA didn't use their own nomenclature type definitions though. They totally relate back to model, and they even relate to the field once the generator modules come into play.
I'd say probably stick with your solution for the moment, but maybe think about helping out on the PR too π .
from product-attribute.
No updates here and Q as i read was solved, close it please.
from product-attribute.
Related Issues (20)
- Migration to version 16.0 HOT 28
- product_packaging_type: Migrate to 16.0 HOT 8
- [15] product_supplierinfo_for_customer donΒ΄t install HOT 1
- [14.0]pos_product_cost_security returning tax from all companies HOT 5
- [16.0] product_logistics_uom: Introduces inconsistencies HOT 4
- product_lot_sequence: Incrementation issues HOT 2
- Archive UoM Measures Categories HOT 2
- [16.0] Product Secondary Unit unexpected conversion HOT 1
- Product Dimension, Branch 14 not calculating inches to cubic ft (feet) or inches (in) properly HOT 5
- Error when opening a product through the BoM HOT 1
- Missing @api.depends_context("product") HOT 2
- Migration to version 17.0 HOT 22
- product_company_default is in V16 but not V15 HOT 2
- Bug of product assortment - Got error when creat new product assortment HOT 1
- Multiple Images in Products Module HOT 1
- product_main_supplierinfo typo HOT 2
- [16.0] product_pricelist_simulation "Unit sales price" is not updated when the date is changed HOT 4
- product_secondary_unit is not working, secondary unit does not appear in the sales order is not working, secondary unit does not appear in the sales order HOT 1
- Brands on POS
- V16 branch looks broken HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from product-attribute.