Commit Graph

62222 Commits

Author SHA1 Message Date
Antony Lesuisse da020d326d [IMP] hr.department cleanup
- Consolidate multiple hr.departement definition into hr.py file
- Remove ulgy department_users_get() domain hack on act_window
- Add the jobs_ids inverse relationship from departement to jobs

bzr revid: al@openerp.com-20140129002913-5qgq10jy9u3xn74e
2014-01-29 01:29:13 +01:00
Martin Trigaux 802d64ca92 [MERGE] [ADD] ways to correctly handle local datetimes in e.g. domains
* Alter datetime.now(), generate a local datetime (add utcnow() which generates a UTC datetime)
* Implement datetime.replace() to manipulate local datetimes
* Implement date.today(), generates a local date
* Implement datetime.toJSON(), returns a javascript Date (assumes datetime attributes are local)
* Add conversion hook in JSON and JSONP handlers, automatically converts a Date object to a UTC datetime formatted according to server formats

Should allow the generation of correctly working (from the end-user's POV) [Today] filters, amongst other things.
Eg: a local expression in a domain for 'Today 00:00:00' would now be expressed as 'datetime.datetime.now().replace(hour=0, minute=0, second=0)' (no .strftime) and will be converted to UTC when sent to the server

bzr revid: mat@openerp.com-20140128133706-4yp610pp5w06tcia
2014-01-28 14:37:06 +01:00
Launchpad Translations on behalf of openerp 3ce5e01eca Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140128064139-6fjg3b236v5d790j
2014-01-28 06:41:39 +00:00
Gery Debongnie 103d23719b [IMP] merge all the modifications concerning the new graph view. It mainly changes the reporting views to use the pivot table as default.
bzr revid: ged@openerp.com-20140127161718-uo6pperke86pqq5v
2014-01-27 17:17:18 +01:00
Gery Debongnie a05306c70d [MERGE] merge from trunk into local branch
bzr revid: ged@openerp.com-20140127161544-yp5857dyl3o3vkkt
2014-01-27 17:15:44 +01:00
Gery Debongnie 7d13aa91da [IMP] merge new graph view. (mainly the addon graph view). contains the Pivot table + some chart tools to analyze data (addon web_graph)
bzr revid: ged@openerp.com-20140127161407-ke0b5785ejmxtg9k
2014-01-27 17:14:07 +01:00
Gery Debongnie f38017faec [FIX] fixes a crash happening when the context has a groupby attributes which is an array (addon web_graph)
bzr revid: ged@openerp.com-20140127152324-n1jeyfjvii9dfeoh
2014-01-27 16:23:24 +01:00
Gery Debongnie e4cb7e5aa1 [FIX] change the name of the sales filter to Sales -> this is the name required in some other places that inherits it (addon sale)
bzr revid: ged@openerp.com-20140127143219-2ljcrieylv3pdz8c
2014-01-27 15:32:19 +01:00
Gery Debongnie cdde84f821 [FIX] remove the yml tests hr_timesheet_report (it should have been removed when I removed the Employee(s) timesheet reports from the reporting menu) (addon hr_timesheet)
bzr revid: ged@openerp.com-20140127140430-49i2dqyq67qc19qm
2014-01-27 15:04:30 +01:00
Frédéric van der Essen 1d7caa58bc [MERGE] point_of_sale: hardware proxy reliability improvements
bzr revid: fva@openerp.com-20140127132942-sz8yj8frk59c5z6m
2014-01-27 14:29:42 +01:00
Frédéric van der Essen 9d85d0c25f [MERGE] from trunk
bzr revid: fva@openerp.com-20140127130136-905xxex6cfsbfwjs
bzr revid: fva@openerp.com-20140127132925-9bvrpfaaxp17pq58
2014-01-27 14:29:25 +01:00
Gery Debongnie cbdf16d8b6 [MERGE] merge from trunk into local branch
bzr revid: ged@openerp.com-20140127132514-lqsoj6ypwof1phsm
2014-01-27 14:25:14 +01:00
Gery Debongnie a584ba9ed2 [IMP] removes 'Employee Timesheet' and 'Employees Timesheet' reports in HR reporting (addon hr_timesheet)
bzr revid: ged@openerp.com-20140127132020-qhxgkygxx38vecab
2014-01-27 14:20:20 +01:00
Gery Debongnie 68a466e8a8 [IMP] improves the Timesheet Analysis reporting view : changes the axis, adds a 'this month' filter using the new pivot graph view (addon hr_timesheet_sheet)
bzr revid: ged@openerp.com-20140127130351-iu422fkjnu8059wd
2014-01-27 14:03:51 +01:00
Denis Ledoux 5237dc9574 [MERGE][ADD] crm: apply deduplication for mass converting leads to opps
bzr revid: dle@openerp.com-20140127125403-rw942vf6749zsjaz
2014-01-27 13:54:03 +01:00
Frédéric van der Essen 85daaccb61 [FIX] point_of_sale: prevent barcode scanner connection loss
bzr revid: fva@openerp.com-20140127123614-vjrcwgh7s8rs2y2u
2014-01-27 13:36:14 +01:00
Gery Debongnie fcb9f7a76e [IMP] improves the Sales Analysis reporting views (add filters and changes the row/col definitions) in pivot table mode (addon sale)
bzr revid: ged@openerp.com-20140127110102-so4cma7679uvdwtk
2014-01-27 12:01:02 +01:00
Denis Ledoux 567be50d0a [FIX] crm: mass assign were not always deduplicating
bzr revid: dle@openerp.com-20140127103816-t9pga6sohbxaw5ux
2014-01-27 11:38:16 +01:00
Gery Debongnie 9cd84a5834 [IMP] replace the Leaves analysis views in reporting by the new pivot graph view (addon hr_holidays)
bzr revid: ged@openerp.com-20140127103408-8a1fi88gdhl2sud5
2014-01-27 11:34:08 +01:00
Gery Debongnie f6fec72797 [IMP] improves the Event reporting view by using the new graph view in pivot mode (addon event)
bzr revid: ged@openerp.com-20140127094918-52w9xt1nj1ae93fn
2014-01-27 10:49:18 +01:00
Gery Debongnie 737bb32e58 [IMP] improves the HR recruitment analysis view (reporting) by using the new graph view in pivot mode (addon hr_recruitment)
bzr revid: ged@openerp.com-20140127092308-g893knucca1ez4cq
2014-01-27 10:23:08 +01:00
Gery Debongnie 939ae651b4 [IMP] improves the account invoice reporting view, in graph view mode : puts the period in column, product category in rows (addon account)
bzr revid: ged@openerp.com-20140127082038-sek8wnkzwundrxe6
2014-01-27 09:20:38 +01:00
Frédéric van der Essen c9879fcd1e [IMP] point_of_sale: refactor proxy to use event based status notifications
bzr revid: fva@openerp.com-20140127002203-y2qnhwf0z708gbrx
2014-01-27 01:22:03 +01:00
Frédéric van der Essen 1e09d3b3f5 [IMP] point_of_sale: Realtime printer & scanner online status
bzr revid: fva@openerp.com-20140126215528-q32v2q8keh6m0ufo
2014-01-26 22:55:28 +01:00
Frédéric van der Essen 7e535526cb [FIX] hw_proxy: fix harmless exception on proxy restart
bzr revid: fva@openerp.com-20140126194055-pietbyi7ezvdm9ch
2014-01-26 20:40:55 +01:00
Frédéric van der Essen f1fa4fa230 [IMP] hw_proxy: better driver status reporting with hw_proxy/status, improved printing reliability
bzr revid: fva@openerp.com-20140126183500-ejbm9d4jafl817tq
2014-01-26 19:35:00 +01:00
Frédéric van der Essen ee3fa52bbe [IMP] hw_escpos: codepage switch sequence for all encodings supported by the TM-T20 printer
bzr revid: fva@openerp.com-20140124173119-naktj3usjuapb9sf
2014-01-24 18:31:19 +01:00
Gery Debongnie ede4fd8861 [MERGE] merge trunk into local branch
bzr revid: ged@openerp.com-20140124153531-f4ynl627jpssj7dx
2014-01-24 16:35:31 +01:00
Gery Debongnie 3a784da015 [MERGE] merge trunk into local branch
bzr revid: ged@openerp.com-20140124153446-2mouqvp02c009y0x
2014-01-24 16:34:46 +01:00
Gery Debongnie 4620c520a1 [FIX] fixes a typo, causing crashes when selecting date fields in groupbys (addon web_graph)
bzr revid: ged@openerp.com-20140124152821-a9ts9soiwlc2niov
2014-01-24 16:28:21 +01:00
Gery Debongnie 7b4f2df8be [FIX] fixes a crash in line chart mode when the view had more than one measure (addon web_graph)
bzr revid: ged@openerp.com-20140124152536-an2aelpaa43ivzjw
2014-01-24 16:25:36 +01:00
Gery Debongnie c43147628b [REF] lots of small tweaks to improve the code, and some small fixes, after xmo's code review (addon web_graph)
bzr revid: ged@openerp.com-20140124151635-14l3dchnrmujo5ni
2014-01-24 16:16:35 +01:00
Gery Debongnie 524324ae4e [FIX] fixes two small issues concerning the groupby dates in graph view (addon web_graph)
bzr revid: ged@openerp.com-20140124125944-wxl4zdya37pxdnqv
2014-01-24 13:59:44 +01:00
Gery Debongnie 3d6a575d03 [IMP] changes the crm_lead graph view in reporting, to use the new groupby interval features of graph view (addon crm)
bzr revid: ged@openerp.com-20140124122439-t8vvgy9zebbhhy2a
2014-01-24 13:24:39 +01:00
Thibault Delavallée e93a3b1880 [MERGE] [ADD] product_email_template new module. It allows ot send template-based emails when validating invoices. This allows to send description, user guides, technical datasheets, ... when selling products.
product_template inheritance: added email_template_id field, link to an optional email.template

invoice inheritance: when validating the invoice, send an email for each product that has a linked email.template.

email_template inheritance: defined a new simplified form view with only attachment_ids and body, to ease the quick edition of email templates. This simplified form view is used for the email_template_id field on the product.template form view.

email_template: when having default_model in default_get, use it to prefetch model_id. Indeed model is a related file, we have to redirect its default to the right model_id field.

bzr revid: tde@openerp.com-20140124120652-vxp0jwf14sl1frme
2014-01-24 13:06:52 +01:00
Thibault Delavallée b845b708af [CLEAN] email_template: cleaned code
bzr revid: tde@openerp.com-20140124114743-m6s8d1byabl78l63
2014-01-24 12:47:43 +01:00
Thibault Delavallée 5d17667bb1 [RENAME] account_product_template -> product_email_template, to avoid
confusion with product templates. The main feature are email template on product
therefore renaming the module.

bzr revid: tde@openerp.com-20140124110802-unn4u75ad4jt0bb2
2014-01-24 12:08:02 +01:00
Thibault Delavallée c98acc4919 [CLEAN] account_product_template: cleaned demo data
bzr revid: tde@openerp.com-20140124110510-k1czgon57idv4hct
2014-01-24 12:05:10 +01:00
Thibault Delavallée e374abeba6 [FIX] account_product_template: handle attachments of the template.
bzr revid: tde@openerp.com-20140124110012-lpf79nvmcqjhzuvv
2014-01-24 12:00:12 +01:00
Thibault Delavallée 9478019191 [IMP] account_product_template: cleaned code of email sending.
Now based on a composer, trigerring the onchange with the template, then
sending the email. This replicates the email sending with the composer using
a template.
TODO: fix attachments not being send

bzr revid: tde@openerp.com-20140124105406-09gndxy3izhdyq2n
2014-01-24 11:54:06 +01:00
Thibault Delavallée 79b36c68ee [IMP] account_product_template: improved
email template simplified form view

bzr revid: tde@openerp.com-20140124105214-i0fgxj2ibwgezqau
2014-01-24 11:52:14 +01:00
Thibault Delavallée a5b8a1b3db [CLEAN] account_product_template: some cleaning for eadability
bzr revid: tde@openerp.com-20140124105150-xg8r52n6vpxg807t
2014-01-24 11:51:50 +01:00
Frédéric van der Essen 8bfc149e7b [MERGE] point_of_sale: further point of sale and hardware integration improvements
bzr revid: fva@openerp.com-20140124105115-uxalr0xt52zzhd5t
2014-01-24 11:51:15 +01:00
Thibault Delavallée 0d21e37728 [CLEAN] account_product_template: moved email sending into its own method.
bzr revid: tde@openerp.com-20140124102201-dkh2n7odwxvg4lsv
2014-01-24 11:22:01 +01:00
Thibault Delavallée b187d1873f [CLEAN] account_product_template: added help and docstrings in the product template inheritance
bzr revid: tde@openerp.com-20140124102031-9gyq19ehxgtdvxxz
2014-01-24 11:20:31 +01:00
Thibault Delavallée ee692b43e2 [REF] account_product_template: reorganized the module, according to the
new module guildelines :
- model files in model directory, with product and template addition
- view files in views directory, with product and template view addition
- demo file in data directory

bzr revid: tde@openerp.com-20140124095056-v18lfk9wex5y00d7
2014-01-24 10:50:56 +01:00
Thibault Delavallée c9260b90a8 [CLEAN] account_product_template: openerp and init files cleaning
bzr revid: tde@openerp.com-20140124094514-o50cxzlm348p1vpc
2014-01-24 10:45:14 +01:00
Thibault Delavallée 9c74cab9a5 [REVIEW] account: wording of the new config field
bzr revid: tde@openerp.com-20140124093947-kbz534udanag4v14
2014-01-24 10:39:47 +01:00
Gery Debongnie 29d08d9a6b [IMP] graph_view now properly honors the 'interval' attribute of field names in the xml description (addon web_graph)
bzr revid: ged@openerp.com-20140124084222-dq1gpg1tg8rinozx
2014-01-24 09:42:22 +01:00
Turkesh Patel (Open ERP) 0ad36cf35f [IMP] improved code and send template only on cutomer invoice
bzr revid: tpa@tinyerp.com-20140124060945-zn1bpzt41xwkh3p7
2014-01-24 11:39:45 +05:30