Commit Graph

81669 Commits

Author SHA1 Message Date
openerp-sle 12e9d218b0 [IMP] Sale order report converted to QWeb
bzr revid: openerp-sle@openerp-sle.home-20140212182247-0ahbbrgob4ssz9bn
2014-02-12 19:22:47 +01:00
openerp-sle d2cdf5c0eb [IMP] Report model: added a method to easily returns a pdf and another to easily generate a report action
bzr revid: openerp-sle@openerp-sle.home-20140212181202-8kuc6cap1oymgjn3
2014-02-12 19:12:02 +01:00
openerp-sle 8dbd892d8b [IMP] Added the route converting all reports to pdf thanks to wkhtmltopdf. The html rendered report is downloaded via werkzeug.test.client and then parsed into an lxml.etree in order to extract only the useful data : local css, header, content and footer. We then generate a minimalist html page that is passed to wkhtmltopdf. Save in attachment feature is handled. A method transform a paperformat object into a list of parameters for wkhtmltopdf. Multiple IDS reports are generated in different pdf merged at the end.
bzr revid: openerp-sle@openerp-sle.home-20140212180934-dupp8x2ivo52uzib
2014-02-12 19:09:34 +01:00
openerp-sle 5fa1be1303 [IMP] Added the default controller for the generic html reports (reports not needing data to be preprocessed)
bzr revid: openerp-sle@openerp-sle.home-20140212180025-c3p4xnixd3sty7gh
2014-02-12 19:00:25 +01:00
openerp-sle fe7d55cbdb [IMP] Added some default layouts (internal and external with more or less information). The website RTE is called from these layouts, as well as the language selector. Note: currently, the link of the bootstrap 3.1 css points to the official bootstrap site.
bzr revid: openerp-sle@openerp-sle.home-20140212175819-8cr53bzafn2uo8rc
2014-02-12 18:58:19 +01:00
openerp-sle 0d01d96dd4 [IMP] Added a 'paperformat' model that will handle properties of pdf documents that are generated from html reports. A company is linked to a default paper format and a report can be linked to a specific paperformat in order to override the default one.
bzr revid: openerp-sle@openerp-sle.home-20140212175412-aeij8e9ifwjwgc1m
2014-02-12 18:54:12 +01:00
openerp-sle 7b66c1e35f [IMP] Report model: Added a 'render_doc' method that renders a template into the associated partner's lang (used in invoices for instance).
bzr revid: openerp-sle@openerp-sle.home-20140212173037-889koy9to39xg38c
2014-02-12 18:30:37 +01:00
openerp-sle c3c43a9ce5 [IMP] Report model: Added a 'render' method that redirects to request.websit.render. Reports rendering therefore needs the website module.
bzr revid: openerp-sle@openerp-sle.home-20140212172750-va0dkdavcomwsy87
2014-02-12 18:27:50 +01:00
openerp-sle 71be2de1ef [IMP] Add structure of the 'report' module
bzr revid: openerp-sle@openerp-sle.home-20140212172214-r0n8wzngr1hkp8q0
2014-02-12 18:22:14 +01:00
Launchpad Translations on behalf of openerp 0bbf709f5c Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140212052933-2x7w3n6hxognlz1m
2014-02-12 05:29:33 +00:00
Christophe Simonis 295743b1c1 [IMP] oe initialize must take the port as parameter (for http tests)
bzr revid: chs@openerp.com-20140211224846-waor2hz1fkw1dml8
2014-02-11 23:48:46 +01:00
Frédéric van der Essen 6dd6035509 [MERGE] point_of_sale: allow negative product quantities and totals in the POS
bzr revid: fva@openerp.com-20140211165120-306mkomw1t964x33
2014-02-11 17:51:20 +01:00
Frédéric van der Essen bfcc2fead3 [MERGE] from trunk
bzr revid: fva@openerp.com-20140211165043-3t8nys0btenqie59
2014-02-11 17:50:43 +01:00
Frédéric van der Essen bcc6a6aeda [IMP] point_of_sale: allow negative product quantities, and negatives totals
bzr revid: fva@openerp.com-20140211164541-nt2xu5rhdv0tm7pk
2014-02-11 17:45:41 +01:00
Raphael Collet 3aa24b345e [MERGE] from saas-3
bzr revid: rco@openerp.com-20140211162843-bfowcg6a3qb91h3c
2014-02-11 17:28:43 +01:00
Raphael Collet 9f7c687dec [FIX] ir_ui_view: in context dict, put model name instead of model itself
bzr revid: rco@openerp.com-20140211162736-hgkwjk336ldkjej6
2014-02-11 17:27:36 +01:00
Denis Ledoux 6185dbf5a2 [FIX]hr_hodlidays: date_from and date_to are required only if leave request, not if leave alloc
bzr revid: dle@openerp.com-20140211154827-d1529gkf30e57wz5
2014-02-11 16:48:27 +01:00
Gery Debongnie 1f06a50153 [MERGE] merge various graph view fixes
bzr revid: ged@openerp.com-20140211154441-6sq778kxoxeg7zrf
2014-02-11 16:44:41 +01:00
Gery Debongnie 3a9833d212 [FIX] fixes various problem with the sales team screen (crashes and various dates mismatch) (mainly addon crm)
bzr revid: ged@openerp.com-20140211154307-p2pwv7fin33nsnri
2014-02-11 16:43:07 +01:00
Thibault Delavallée d93fce56b6 [MERGE] mrp: small usability fixes
- updated groups on some fields of bom
- removed some icons in form view, to be coherent with other form views
- BOM form view: updated onchange_product_id that now takes product_qty into account to compute
uos and uos quantity.

bzr revid: tde@openerp.com-20140211152116-niwt0pak4r0n8jst
2014-02-11 16:21:16 +01:00
Christophe Simonis 04e783e880 [FIX] auth_oauth: decorator @fragment_to_query_string must redirect to same route
bzr revid: chs@openerp.com-20140211145529-cp1rhf3hbhvq4sg4
2014-02-11 15:55:29 +01:00
Christophe Matthieu 712811654a [FIX] website: text-box and image in the banner is too big on large screen. It should be in a 'container'.
bzr revid: chm@openerp.com-20140211143619-b1dwa5q1wdoeyzn4
2014-02-11 15:36:19 +01:00
Thibault Delavallée 394b6389f0 [MERGE] Sync with upstream (trunk)
bzr revid: tde@openerp.com-20140211141925-p3sziwkon7jlsq5r
2014-02-11 15:19:25 +01:00
Christophe Simonis 8d5da6b8b4 [FIX] auth_signup: when POSTing signup data, there is always an error in qcontext as default behaviour is trying to login with data (error injected by super() call)
bzr revid: chs@openerp.com-20140211140255-mv84m6fb0sqkflm5
2014-02-11 15:02:55 +01:00
Thibault Delavallée 796d40b474 [MERGE] [IMP] hr, hr_recruitment: job position update and usability improvements
hr: hr.job
- no_of_recruitment now indicates the number of employees you want to hire in a given recruitment phase
- added no_of_hired_employee that is the number of employees already recruited in the current recruitment phase
- updated form view
- removed simplified form view
- the job in the employee form view is now clickable and redirects to the job form view

hr_recruitment
- new dependency: web_kanban_gauge
- installing this module adds the 'Job Positions' menu, and adds a new kanban view for hr.job
- adds fields on hr.job to track applicants and their documents, used in the kanban view
- added configuration for default jobs alias, available in the Human Resources settings
- updated applicant / job subtypes: following some subtypes on the job now makes automatically follow some subtypes on applicants, like salesteam/opportunities or project/tasks and issues

mail: mail_alias
- when migrating to alias, use mail_notrack to avoid performing the tracking; indeed we are in a transient state, and trying to browse and track value change is risky.
mail: mail_thread: empty list help: small tweak to try to find a default alias

misc
- sale_crm: update for the new gauge widget parameters

bzr revid: tde@openerp.com-20140211140149-l15qr876s5ykfww5
2014-02-11 15:01:49 +01:00
Thibault Delavallée cff84e5329 [MERGE] [IMP] web_kanban_gauge: cleaned and improved parameters
- max_value: maximum value of the gauge [default: 100]
- max_field: get the max_value from the field that must be present in the view; takes over max_value
- gauge_value_field: if set, the value displayed below the gauge is taken from this field instead of the base field used for the gauge. This allows to display a number different from the gauge.
- force_set: is value is 0, display a text 'Click to set' [default: True]
- label: lable of the gauge, displayed below the gauge value
- title: title of the gauge, displayed on top of the gauge
- on_change: action to call when cliking and setting a value (previously names action_change)
- on_click_label: optional label of the input displayed when clicking

Coming with an update of jobs that triggered those various changes and cleaning in the gauge widget.

bzr revid: tde@openerp.com-20140211140101-33259mv4i5c1ge7j
2014-02-11 15:01:01 +01:00
Christophe Matthieu 5b8ea0803a [FIX] website: crappy layout when use click on edit in the shop. Microforma error. Don't use meta tag in page content: ckeditor bug report 8117.
bzr revid: chm@openerp.com-20140211135610-0xhf2yiuwfc8k0ss
2014-02-11 14:56:10 +01:00
Christophe Simonis cebbede4c6 [FIX] auth_signup: do not shadow errors
bzr revid: chs@openerp.com-20140211132901-o7e8cup1hlc6mxzf
2014-02-11 14:29:01 +01:00
Christophe Simonis 3954a2f9af [FIX] auth_signup: force login to be an email when signup
bzr revid: chs@openerp.com-20140211132839-a4lzg0t7m7kl5ihr
2014-02-11 14:28:39 +01:00
Thibault Delavallée 0b43555b65 [IMP] web_kanban_gauge: fade update when changing the value
bzr revid: tde@openerp.com-20140211122622-5c3doi7vjp5fepfc
2014-02-11 13:26:22 +01:00
Thibault Delavallée b8c82c0f45 [IMP] hr_recruitment: cleaned code about default user_id and things like that when creating a new applicant.
All code now belongs to onchange_job, and is called in create, whether with
vals.get('job_id') or context.get('default_job_id')

bzr revid: tde@openerp.com-20140211122341-xz5hxe0qrt1reevg
2014-02-11 13:23:41 +01:00
Thibault Delavallée 623b230390 [IMP] hr_recruitment: updated gauge parameter name
bzr revid: tde@openerp.com-20140211122308-qnwz8e9j9ggs4n7p
2014-02-11 13:23:08 +01:00
Thibault Delavallée 6b03c5076a [IMP] sale_crm: udpated gauge parameter name
bzr revid: tde@openerp.com-20140211122253-tj3a7llcr0dbhdbn
2014-02-11 13:22:53 +01:00
Thibault Delavallée f8b9f2a5c5 [IMP] web_kanban_gauge: action_change, renamed to on_click_action, now renamed to on_change, because because.
bzr revid: tde@openerp.com-20140211122240-rtb292sw0f0wngmv
2014-02-11 13:22:40 +01:00
Thibault Delavallée 8b6bea01ed [FIX] hr: demo data: removed color definition as this field is defind in hr_recruitment, not in hr
bzr revid: tde@openerp.com-20140211120551-y5e4oyb3lkalx6l8
2014-02-11 13:05:51 +01:00
Thibault Delavallée 610ebaef85 [CLEAN] hr: moved color field + an action in hr_recruitment, because they are used in this module + removed unnecessary code
bzr revid: tde@openerp.com-20140211120433-f34jsy7xjga1ultt
2014-02-11 13:04:33 +01:00
Thibault Delavallée 38604c3761 [MERGE] Sync with upstream (trunk)
bzr revid: tde@openerp.com-20140211115243-zkqkarv99ah95kc3
2014-02-11 12:52:43 +01:00
Thibault Delavallée 110612fc11 [IMP] hr_recruitment: updated help of default recruitment menu
bzr revid: tde@openerp.com-20140211114121-vehqz4p0ca2o3m79
2014-02-11 12:41:21 +01:00
Thibault Delavallée 7f662d3958 [CLEAN] hr_recruitment: cleaned added code in res_config
- alias finding extgracted in its own method, and uses the new ir.model.data API
xmlid_to_resid
- simplified code of get_default_alias and set_default_alias
- alias_domain default method calls the one defined in mail.alias to try to have only
one method doing the trick

bzr revid: tde@openerp.com-20140211112434-iuqy2a2mrm0pmaxq
2014-02-11 12:24:34 +01:00
Gery Debongnie e9bc12aab1 [IMP] changes the sparkline graph in the sales team/kanban view (opportunities) so that it uses date_deadline instead of create_date (addon crm)
bzr revid: ged@openerp.com-20140211110936-531vgazu3lhvlwj2
2014-02-11 12:09:36 +01:00
Gery Debongnie 39f834c678 [IMP] improves the tooltips in sales team kanban view (addon crm)
bzr revid: ged@openerp.com-20140211110802-wwjn7ys1twmj0nnt
2014-02-11 12:08:02 +01:00
Thibault Delavallée 7fd1a825a8 [CLEAN] hr_recruitment: cleaning before merging
- some code reindentation
- updated subtypes, to use parent_id feature between applicants and jobs. Another task will
improve the layout bu hiding some subtypes in applicant; currently we keep a child / parent
behavior.
- renamed open_attachments method
- some changes in create reverted
- chatter posted in job now hav ea subtype, not sure to keep those

bzr revid: tde@openerp.com-20140211105807-ay93xbwilsz3mso6
2014-02-11 11:58:07 +01:00
Martin Trigaux 24b0b132d4 [FIX] module: fix imports broken at revision 5055
get_module_resource method is required by function fields of ir.module.module

bzr revid: mat@openerp.com-20140211105525-tuhs10hb8y3o1rnp
2014-02-11 11:55:25 +01:00
Christophe Simonis 88e8c52702 [FIX] trunk is 8.0 alpha, not saas-3
lp bug: https://launchpad.net/bugs/1278411 fixed

bzr revid: chs@openerp.com-20140211105315-ogfh9d2qzhu3sa5o
2014-02-11 11:53:15 +01:00
Thibault Delavallée 87028244f4 [FIX] sale_crm: fixed gauge widget according to new parameters
bzr revid: tde@openerp.com-20140211100725-n5u4y42givj18ept
2014-02-11 11:07:25 +01:00
Thibault Delavallée 5c2839f102 [IMP] hr_recruitment: job kanban view: updated gauge widget according to new parameters
bzr revid: tde@openerp.com-20140211100537-9yrae5pbvmdntelv
2014-02-11 11:05:37 +01:00
Thibault Delavallée 5113c8bca6 [IMP] web_kanban_gauge: udpated parameters
- new parameters: input_value_field is now called gauge_value_field, this is the field
displayed under the gauge
- new parameter: force_set: whether to force setting a value when the value is nul
- new parameter: on_click_label: label under the input when editing the gauge value
- action_change renamed on_click_action

bzr revid: tde@openerp.com-20140211100445-289mvmr8grcgns8x
2014-02-11 11:04:45 +01:00
Christophe Matthieu 7d1ba3329c [FIX] website: contactus: address of the company above the phone, typo edit button
bzr revid: chm@openerp.com-20140211095933-s712ssydrv1d54nq
2014-02-11 10:59:33 +01:00
Fabien Pinckaers 7e41345c02 [IMP] reduce image size, faster preview
bzr revid: fp@tinyerp.com-20140211091401-b3jvu4792bz1de0j
2014-02-11 10:14:01 +01:00
Fabien Pinckaers d31504171c [IMP] Pantone colors of the year
bzr revid: fp@tinyerp.com-20140211085450-ny3pgidw5nobjc5x
2014-02-11 09:54:50 +01:00