lp://staging/~numerigraphe-team/purchase-wkfl/7.0-add-purchase_budget_limit
Here is a new module to block purchase orders when the budget is at risk of being exhausted.
Only validated budgets are checked.
Also, only invoiced purchases are counted (because only invoices are counted in the budget). I'll soon be publishing an additional module to count draft purchases in the budgets too.
Unfortunately, no automatic test bundled because the account_budget does not provide any either.
- Get this branch:
- bzr branch lp://staging/~numerigraphe-team/purchase-wkfl/7.0-add-purchase_budget_limit
Branch merges
- Pedro Manuel Baeza: Needs Resubmitting
- Loïc Bellier - Numérigraphe (community): Approve (code review)
- Romain Deheele - Camptocamp (community): Needs Fixing (code review, test)
-
Diff: 569 lines (+511/-0)11 files modifiedpurchase_budget_limit/__init__.py (+22/-0)
purchase_budget_limit/__openerp__.py (+54/-0)
purchase_budget_limit/i18n/fr.po (+74/-0)
purchase_budget_limit/i18n/purchase_budget_limit.pot (+74/-0)
purchase_budget_limit/purchase.py (+116/-0)
purchase_budget_limit/purchase_view.xml (+31/-0)
purchase_budget_limit/purchase_workflow.xml (+34/-0)
purchase_budget_limit/security/ir.model.access.csv (+3/-0)
purchase_budget_limit/wizard/__init__.py (+21/-0)
purchase_budget_limit/wizard/purchase_budget.py (+62/-0)
purchase_budget_limit/wizard/purchase_budget_view.xml (+20/-0)
Branch information
Recent revisions
- 34. By Numérigraphe
-
[ADD] purchase_
budget_ limit: new module to block purchase orders when the budget is at risk of being exhausted - 32. By Launchpad Translations on behalf of purchase-core-editors
-
Launchpad automatic translations update.
- 31. By Nicolas Bessi - Camptocamp
-
[FIX] framework_agreement - trigger when line is created as related file might not be computed
- 30. By Launchpad Translations on behalf of purchase-core-editors
-
Launchpad automatic translations update.
- 29. By Guewen Baconnier @ Camptocamp
-
[FIX] browse_record given to create() instead of the integer id
- 28. By Launchpad Translations on behalf of purchase-core-editors
-
Launchpad automatic translations update.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)