summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function/analytic_user_function.py
AgeCommit message (Collapse)Author
2015-07-16[FIX] Timesheets Modules : Issues could appear due to the change of method ↵odoo-tac
signature in account.analytic.line.on_change_account_id(). To prevent such issues without building a bridge module, this method always takes the right number of arguments, even if analytic_user_function is not installed
2015-06-23[REF]Account: Refactoring the account, Change some fields name according to ↵Mahendra barad
new api guidelines code improvement code improvement payment_method to payment_method_id writeoff_account to writeoff_account_id property_account_receivable to property_account_receivable_id property_account_payable to property_account_payable_id property_account_expense_categ to property_account_expense_categ_id property_account_income_categ to property_account_income_categ_id property_account_expense to property_account_expense_id property_account_income to property_account_income_id property_account_expense_categ fix sale_tax to sale_tax_id and default_sale_tax to default_sale_tax_id purchase_tax to purchase_tax_id and default_purchase_tax to default_purchase_tax_id ref_companies to ref_companies_ids property_account_position to property_account_position_id property_payment_term to property_payment_term_id property_supplier_payment_term to property_supplier_payment_term_id bank_accounts_id to bank_accounts_ids payment_method fix after rebase user_type after rebase payment_method fix after rebase after rebase invoice to invoice_id fix payment_method_id after rebase code improvement [IMP]user_type to user_type_id [IMP]property_stock_account_input_categ, property_stock_account_output_categ to _id [IMP]improve after rebase [IMP]fix type [IMP]Account: code improvement
2015-06-02[LEGAL] Use global LICENSE/COPYRIGHT files, remove boilerplate textOlivier Dony
- Preserved explicit 3rd-party copyright notices - Explicit boilerplate should not be necessary - copyright law applies automatically in all countries thanks to Berne Convention + WTO rules, and a reference to the applicable license is clear enough.
2015-04-28[REF] Refactored hr_timesheet: Refactored the "timesheet" model in several ↵odoo-tac
modules. hr.analytic.timesheet is removed, and account.analytic.line is used directly to represent timesheets. Also removed worklogs on tasks and replaced them by generic timesheets, i.e. account.analytic.line(s)
2015-01-16[IMP] Cleanup and refactoring of exception handlingGoffin Simon
Unify and refactor exception handling in framework and addons. The generic `except_osv` is now deprecated, and replaced by more specialized exception subtypes: - `UserError` (renamed from Warning, as it conflicts with the built-in `Warning`) raised when a non-technical error occurs during a business operation. It could be a missing information in the data provided by the user, or a misconfiguration. - `AccessError`: raised when any operation is denied because the user conducting it does not have the required access rights. - `AccessDenied`: raised when an operation that requires authenticated access is attempted via an unauthenticated request. - `MissingError`: raised when an operation is attempted on a record that does not exist. - `ValidationError`: raised when an operation violates a SQL or Python constraint. - All other exceptions are internal errors due to a system problem or bug, and raised untouched to the client-side, which should display a traceback. All exceptions take a single message argument. The `test_exceptions` module has been updated to showcase both new and old (deprecated) exceptions. A great many old `except_osv` had a useless title with "Error!" or "Warning", those have been removed, as this is handled by the client-side widget that displays the messages. This commit introduces a more consistent policy for logging errors and warnings: - All messages that do not require administrator attention should be logged at INFO level or lower. This includes all errors that are notified to the user in a friendly manner, even for access right problems or validation errors during business operations. - All messages that indicate a likely misconfiguration or malicious use by the users should be logged at WARNING level, as they typically require administrator attention. - All other unhandled internal errors cannot typically be handled by the user and should be logged at ERROR or higher level, as they require immediate administrator attention.
2014-12-31[REF] remove vim modelines and resulting trailing blank linesLeonardo Donelli
Let 2015 be a year without modelines! cf #4174
2014-07-06[MERGE] new v8 api by rcoRaphael Collet
A squashed merge is required as the conversion of the apiculture branch from bzr to git was not correctly done. The git history contains irrelevant blobs and commits. This branch brings a lot of changes and fixes, too many to list exhaustively. - New orm api, objects are now used instead of ids - Environements to encapsulates cr uid context while maintaining backward compatibility - Field compute attribute is a new object oriented way to define function fields - Shared browse record cache - New onchange protocol - Optional copy flag on fields - Documentation update - Dead code cleanup - Lots of fixes
2014-04-09[FIX] analytic_user_function: add missing _rec_nameMartin Trigaux
bzr revid: mat@openerp.com-20140409142917-ueqzyblgh3iwblc0
2013-08-21[FIX] analytic_user_function: initialise variableMartin Trigaux
bzr revid: mat@openerp.com-20130821154401-vgjpfmmjd59bm3j6
2013-06-07[IMP] Improve typos in warning (Grammar mistake, Capitalize title, Typos)Christophe Matthieu
bzr revid: chm@openerp.com-20130607113829-1mi6jk18c2v3jjhn
2013-03-28[FIX] Fixed local variable 'prod' referenced before assignment.chirag patel
bzr revid: cpa@tinyerp.com-20130328130833-a3pohp88pxa6q8a7
2013-03-12[FIX] misc fixes on contracts, timesheetsFabien Pinckaers
bzr revid: fp@openerp.com-20130312123321-mly0k9lrh3im78bg
2012-12-18[MERGE] Access inherited product fields on the product directly rather than ↵Olivier Dony
template, courtesy of Alexis de Lattre (Akretion) It makes the code a little more straightforward and does not hurt. bzr revid: odo@openerp.com-20121218225015-6r9ydxjlh147m3z1
2012-12-17[FIX] replace from/import decimal_precision by from/import ↵Cecile Tonglet
openerp.addons.decimal_precision bzr revid: cto@openerp.com-20121217152303-8e3b1x30rlw9cb0d
2012-12-06[IMP] use the openerp namespace.Vo Minh Thu
bzr revid: vmt@openerp.com-20121206145632-0h1coh5aaem65wsy
2012-10-28[IMP] remove print statementFabien Pinckaers
bzr revid: fp@openerp.com-20121028121943-0ipufxo9omjoalm3
2012-10-28[IMP] invoice on timesheet using user priceFabien Pinckaers
bzr revid: fp@openerp.com-20121028121730-1sbhsoyxa220oktn
2012-10-28[IMP] Useability: contractsFabien Pinckaers
bzr revid: fp@openerp.com-20121028103328-qjqeznq9a95mcdpe
2012-08-07[IMP] all the error messages now start with 'Error\!' (not 'Error' or 'Error ↵Antonin Bourguignon
\!') bzr revid: abo@openerp.com-20120807113137-44vehm0mthqawlo3
2012-07-27Remplace all occurences of my_browse_rec.product_id.product_tmpl_id.field to ↵Alexis de Lattre
my_browse_rec.product_id.field bzr revid: alexis@via.ecp.fr-20120727015202-7fylff5jr26sgxez
2011-11-22[IMP] Added missing vim mode linesNumerigraphe - Lionel Sausin
lp bug: https://launchpad.net/bugs/524279 fixed bzr revid: ls@numerigraphe.fr-20111122085138-x6u2lcl6vrpyybp9
2011-10-04hr : analytic_user_function- bad object naming conventionBharat (OpenERP)
lp bug: https://launchpad.net/bugs/866048 fixed bzr revid: bde@tinyerp.com-20111004115441-xl5pexqgakb6t9o8
2011-05-03[MERGE] merged from lp:~openerp-dev/openobject-addons/trunk-bugfixes-IndHarry (OpenERP)
bzr revid: hmo@tinyerp.com-20110503113537-mnuecxp5kpjfjn2h
2011-04-29[FIX][IMP] all modules improvement.AVP(Axelor)
bzr revid: amp@tinyerp.com-20110429084948-x0pny8n2ersc4h8m
2011-04-25[IMP] analytic_user_function: Improvementpso (OpenERP)
bzr revid: pso@tinyerp.com-20110425132030-hgbb7l0j37xaje5x
2011-04-25[IMP] analytic_user_function: Improved on_change_user_id methodpso (OpenERP)
bzr revid: pso@tinyerp.com-20110425130341-tkjmjmeg9e76sxyg
2011-04-25[FIX] analytic_user_function: Fixed KeyError ('amount')pso (OpenERP)
lp bug: https://launchpad.net/bugs/768968 fixed bzr revid: pso@tinyerp.com-20110425121048-rbur3dny3ou88tpf
2010-10-11[REF] accountvth
bzr revid: vth@tinyerp.com-20101011102300-59rukbdh3ps9m2dm
2010-10-05fixFabien Pinckaers
bzr revid: fp@tinyerp.com-20101004225629-vidur45sz7dmg9nn
2010-08-19[CLEAN]: Removed commented codes, unnecessary spaces.RHA (Open ERP)
bzr revid: uco@tinyerp.com-20100819115157-sfsmbnjdgpp4wl12
2010-06-16[IMP][REF] Sql-injection changes, remove print statement, some space ↵vra
improvement. bzr revid: vra@tinyerp.com-20100616115139-cql5oiqf622spa6p
2010-05-17[REF]Jay (Open ERP)
bzr revid: jvo@tinyerp.com-20100517131713-kh7s2n85elr52xjf
2010-01-22[MRG] Merge last trunk to post again my proposalJoel Grand-Guillaume
bzr revid: joel.grandguillaume@camptocamp.com-20100122131132-jdg4hqgcnyyl8qva
2010-01-12[FIX] Change the year of the copyrightStephane Wirtel
bzr revid: stephane@openerp.com-20100112091839-a6p7tenhb4e4zxyx
2009-12-23[FIX] Analytic_user_function and project_timsheet corrected according to ↵Joel Grand-Guillaume
pricetype bzr revid: joel.grandguillaume@camptocamp.com-20091223171409-a0wfgy034f8o5yjw
2009-10-14Changed licencing termsPSO(OpenERP)
bzr revid: hda@tinyerp.com-20091014111534-1vtk21rz8byhszzf
2009-10-13changed encoding to coding in all py filesChristopheChauvet(syleam)
lp bug: https://launchpad.net/bugs/357182 fixed bzr revid: hda@tinyerp.com-20091013055837-3ntnbe8b938xmk97
2009-04-06bugfix_350775Fabien Pinckaers
bzr revid: fp@tinyerp.com-20090406171957-d5obb4ykdrbitt3i
2009-04-06[FIX] Bug 353742 : analytic_user_function correctedJay (Open ERP)
bzr revid: jvo@tinyerp.com-20090406151503-rb7oshpv4vgbe3pi
2009-03-06[IMP]Christophe Chauvet
* add missing tools.translate * translate all missing raise * add encoding: utf-8 in missing file * add vim comment (when missing) at the end of file * convert tabs to spaces (PEP8 Compliant) * more pythonic when concatenate value bzr revid: christophe.chauvet@syleam.fr-20090306221824-xt1oeip60sq8fwws
2009-01-04[IMP] Update the copyright to 2009Stephane Wirtel
bzr revid: stephane@tinyerp.com-20090104221250-55q32ayj2t8kzb2k
2008-12-22fixed bug #310530Harry (Open ERP)
bzr revid: hmo@tinyerp.com-20081222103540-x0dngwoe5wr8rhic
2008-11-03passing modules in GPL-3Christophe Simonis
bzr revid: christophe@tinyerp.com-20081103191856-jhcivvwb16fvz2os
2008-09-16The following modules are merged::Sofia
addons-extra/product_procurement -> mrp module addons-extra/inventory_merge -> stock addons-extra/product_pricelist_print -> product addons-extra/invoice_payment -> account bzr revid: sahibsofia@gmail.com-20080916114513-7an9yz59hucjmjk8