Crop Seeds Breeding — Customer Portal
Optional bridge addon (task CB-SA-2) connecting grev_od_seeds_crops_man to the shared portal foundation grev_od_portal_base (X-18). Mirrors grev_od_seeds_livestock_portal's own LB-SA-2 shape, including its own security exception -- carried one step further here (see below).
Why a separate addon
grev_od_seeds_crops_man must stay installable and fully functional with no portal/SaaS module present at all (X-17's own bridge-addon rule). So the breeding module itself carries no portal dependency and no portal code; everything lives here.
Provides
- A "My Crop Seeds Breeding" portal home tile and /my/seeds dashboard: program KPI cards (active programs, avg budget variance, cross count) + a seed-lot pipeline chart (count by seed class) + a trial-statistics summary (mean yield / CV% across visible trials).
- Record pages: /my/seeds/programs (+ /<id> detail), /my/seeds/trials (+ /<id> detail: statistics, and top performers via the trial's own get_entry_ranking() once state == 'reported').
- Certified-seed availability at /my/seeds/certified -- the customer-facing piece (lot class, germination/purity %, certificate status, available quantity), scoped by buyer, not tenant.
Security note -- a genuinely different shape from every prior SA-2 task
Every model this addon reads -- grev.crop.breeding.program, grev.crop.field.trial, and grev.crop.seed.lot -- _inherits project.project (CB-RM-0/4/1). Unlike grev_od_seeds_livestock_portal's own day-one batch (_inherits stock.lot, a non-portal-excluded backbone letting the normal ir.rule pattern apply for its own buyer-facing page), every single model in this addon is portal-excluded by the same X-13/core ir.rule-cascade finding LF-SA-2 first documented -- there is no plain model left to give a normal ir.rule to, so this addon ships no security.xml / ir.model.access.csv at all. All four access points (program list/detail, trial list/detail, and the buyer-facing certified-seed list) go through sudo()-scoped grev_get_portal_*() methods; the certified-seed page is the first case in this whole SA-2 family where even the buyer-facing page needs the sudo() shape -- keyed on grev.crop.seed.lot.buyer_id (a real, already-populated CB-PI-3 field, unlike livestock's day-one batch which needed a brand new field) rather than tenant company_id.
Requires Odoo Enterprise transitively (via grev_od_portal_base -> grev_od_saas_base_ent -> sale_subscription).
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Discuss (mail)
• Inventory (stock) • Invoicing (account) • Project (project) • Purchase (purchase) • Employees (hr) • Subscriptions (sale_subscription) • Sales (sale_management) |
| Community Apps Dependencies | Show |
| Lines of code | 16108 |
| Technical Name |
grev_od_seeds_crops_portal |
| License | OPL-1 |
| Website | https://grevlin.com |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module