< 202019-12-21⋎22 >

farmOS (farmos.org) is a free and open source, web-based farm management system. User guide: farmos.org/guide/ - Feature requests and bug reports: github.com/farmOS/farmOS/issuesSet by ChanServ on 2018-08-16 at 14:32
09:26*JustTB has quit (Quit: Leaving.)
09:42*JustTB has joined
13:00*kosnick has joined
13:01*kosnick has quit (Remote host closed the connection)
17:56generalredneck[mmstenta: I was playing with the egg module today. Harvests don't directly affect inventory it looks like. How would you suggest tracking the sale of eggs for example? Our biggest thing is knowing our current egg count so we know how many dozen we have on hand without having to go all the way out to the fridge in the stables. (cause we are lazy)
18:02generalredneck[mYou had mentioned using farm_ledger for sale and purchase. I'm guessing that I woudl probably have to write some hooks for the egg quickforms to alter inventory?
18:04generalredneck[mI feel like I'm struggling with some of the main concepts of how some items are represented in the system
18:09mstenta[m]@generalredneck:matrix.org: yes, basically the "inventory tracking" is not finished yet
18:10generalredneck[m<mstenta[m] "@generalredneck:matrix.org: yes,"> Got it
18:11mstenta[m]We took some initial steps while we were developing the grazing module, so that animals could have headcounts (inventory) that can be adjusted (incremented/decremented) with logs
18:11mstenta[m]So the next step is to make that applicable to other asset types as well
18:11mstenta[m]So the basic logic is in place, but there are a few steps left before we have inventory tracking on other things
18:12mstenta[m]So long story short: only animals have inventory tracking at the moment :-)
18:12generalredneck[mI know it's not as simple as 12 eggs == 1 dozen to sale
18:12generalredneck[mCause you have shrink and all that jazz
18:13mstenta[m]Mm yeah that's another layer too
18:13mstenta[m]Unit conversions
18:13mstenta[m]Right now if you are using the egg module and the quantity report module you can figure out how many eggs were harvested in a given timeframe
18:13mstenta[m]But you can't really see how many you have left
18:13mstenta[m]It's not tied together yet
18:14generalredneck[mCool at least I have an idea of expectations
18:15mstenta[m]Brb getting the kids ready for naptimes
18:16mstenta[m]We're close! Just hasn't been top of the priority list :-)
18:17generalredneck[mI get that too. I've been too busy with the recent unsupported security fixes by the security team rescuing modules to play here too :p
18:53mstenta[m]Oh yea I saw those! Glad farmOS wasn't using any :-)
20:15*farmBOT has joined
21:09generalredneck[mI see you have unit converstion opportunities all over the place where you have a quantity of the unit and a freeform "unit" type which is the unit of measure. There's a couple of solutions out there that allow conversion from one unit of measure to another. D7 specific is the Units API, and there are a few modules that integrate with that.
21:09generalredneck[mif you are looking for something a little lower level, there is github.com/PhpUnitsOfMeasure/php-units-o.
21:09generalredneck[mThings you can do with this are like allow users to define what the "Units" mean... like if the unit is "bag" it might be 50 lbs of feed. Or 1 pallet, which may be 40 bags... WIth a library as such integrated, then you could say that 1 pallet == 408.233 kgs of feed.
21:11generalredneck[mthis would work out really well in the "input" logs if you were trying to find out the cost of how much feed per chicken if you knew how much feed a chicken consumed over a period of time.
21:13generalredneck[mI don't know how often unit conversion is an ask though. Just thinking out loud
21:17mstenta[m]Oh very cool!
21:17mstenta[m]I'd love to think more about that with you
21:17mstenta[m]I have seen some of the drupal modules available
21:18mstenta[m]But I felt it was important to allow user entered units at the lower level
21:18mstenta[m]So settled on simple taxonomy, with the hope that we could build more prescriptive unit system on top of that
21:19mstenta[m]Now is a great time to give it thought, as we are making plans for the Drupal 8 upgrade
21:19mstenta[m]This relates to inventory management too
21:21mstenta[m]My plan is to actually combine the quantity measurement and inventory adjustment fields, so that you can optionally adjust inventory with quantity measurement together
21:22mstenta[m]And then you would be able to adjust inventory with specific units too
21:22mstenta[m]That's the other piece that is missing from the current inventory adjustments: units
21:22mstenta[m]Which is fine for animal head counts
21:23mstenta[m]So that's part of the next step in my mind :-)
21:24generalredneck[mI was wondering if your focus was going to be D8/9
21:24generalredneck[mIdeally if you get to 8, 9 would be fairly painless
21:24mstenta[m]Yes! Yes!
21:25generalredneck[mI just maintain D7s for a living... only about 30% of my clients are D8
21:34mstenta[m]Oh cool!
21:50mstenta[m]Have you ever done anything with custom field types?
22:55generalredneck[mYeah. In D7 it's a pita. In D8 it's a breeze
22:57generalredneck[mEspecially to get views integration and all that jazz working. Making entity api a requirement helps
22:58generalredneck[mPretty sure in d8 you can use Drupal console to build a new custom field
23:40*JustTB has quit (Ping timeout: 268 seconds)
23:56*JustTB has joined

< 202019-12-21⋏22 >