Commit Graph
81891 Commits
Author SHA1 Message Date
Simon Lejeune 1650919181 [MERGE] trunk
bzr revid: sle@openerp.com-20140220135606-qks6te5keyca9chx
2014-02-20 14:56:06 +01:00
Simon Lejeune 8930e494d0 [FIX] Qweb-PDF: fixed 'werkzeug relative links' (like src='/report/getbarcode/QR/texttext') by setting a base_url and passing the cookie header to wkhtmltopdf. ; Barcode Controller: added possibility to set image size.
bzr revid: sle@openerp.com-20140220111323-z6zuic6lg77zutqb
2014-02-20 12:13:23 +01:00
Launchpad Translations on behalf of openerp d24b67ed3e Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140220051443-j5eojea132bflo3e
2014-02-20 05:14:43 +00:00
Xavier Morel fc780d5a81 [FIX] actually retry select on EINTR
Turns out select has its own select.error which does *not* subclass
EnvironmentError (or OSError or IOError) and does *not* have a .errno
attribute. So use the correct exception, might just work better than using
a completely different one with no relation.

bzr revid: xmo@openerp.com-20140219155303-sgz7m3gnzr2bmani
2014-02-19 16:53:03 +01:00
Xavier Morel 55a9e5af27 [FIX] re-enable website_sale tests because they pass so whatever
bzr revid: xmo@openerp.com-20140219144754-52dz24qmnjq72zor
2014-02-19 15:47:54 +01:00
Simon Lejeune ac0641d21c [IMP] Added a simple controller to generate barcode
bzr revid: sle@openerp.com-20140219142649-5ekx9pjvje45jclv
2014-02-19 15:26:49 +01:00
Xavier Morel a77097ce60 [REM] broken and PITA test_02_public_login_logout
* / fails to load, it turns out Tour is undefined because unlogged home does
  not load bootstrap-tour

* after injecting bootstrap-tour, redirects to /login (to log in), tries to
  inject tour again except this time ``openerp.website`` is completely empty
  (although it is present on the page), no idea why.

removed test because whatever, if enable-test-fix-tour is ever rewritten and
fixed it may reappear.

bzr revid: xmo@openerp.com-20140219142115-5kpu5uvzpkwnt1ef
2014-02-19 15:21:15 +01:00
Xavier Morel 86a537e6a7 [FIX] typo method name
bzr revid: xmo@openerp.com-20140219140241-5p6u4t818mkuo74w
2014-02-19 15:02:41 +01:00
Xavier Morel d5cb5c2a14 [FIX] correctly display JS stack frames in phantomjs runner
altered reporting to handle and deserialize JSON if JSON-deserializable. Can't
just send multiple lines as driver currently does not handle multiple lines of
message... Yeah turns out having a JSON-based protocol between phantomjs and
the python runner allowed multiple lines in messages, who'd have thought eh?

bzr revid: xmo@openerp.com-20140219123850-0h0upb3x33j7leqk
2014-02-19 13:38:50 +01:00
Thibault Delavallée f9993774f1 [IMP] note: user_id owner field added in model, allowing to tune a bit
the access rules, notably about reading and creation. This allows by the way
to remove the hack about the operation in context when subscribing
users on a document.
The new rules on create and read now include user_id, aka the owner of a note
can always create (default value) and read its notes.
Also removed an unnecessary field (current_partner_id), as it was buggy and
unnecessary; view udpated accordingly.

[IMP] mail: removed a hack introduced in saas-3 with the current orm operation
in context to by-pass some access rules when subscribing someone on a document.

bzr revid: tde@openerp.com-20140219111330-l3hw5324hvuikpjc
2014-02-19 12:13:30 +01:00
Simon Lejeune 1be06b0a67 [IMP] Independance from the website module: moved the editor into a 'website_report' module
bzr revid: sle@openerp.com-20140219105327-xx2jaqu4dvhv5goh
2014-02-19 11:53:27 +01:00
Xavier Morel fbead8fab1 [IMP] style
use break instead of return so cleanup can eventually be put after loop if necessary (?)

bzr revid: xmo@openerp.com-20140219101334-n8fcmzxptrqj717a
2014-02-19 11:13:34 +01:00
Xavier Morel abb58ee3b8 [FIX] possibility of select being interrupted, just restart the call
uses EnvironmentError because not sure if socket.error or os.error

bzr revid: xmo@openerp.com-20140219101110-4g4o658vzsol7jae
2014-02-19 11:11:10 +01:00
Simon Lejeune e671171ed8 [MERGE] trunk
bzr revid: sle@openerp.com-20140219092216-39qp9v5uixh6jmju
2014-02-19 10:22:16 +01:00
Launchpad Translations on behalf of openerp bb08d9aa3a Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20140219052308-a68gl450xb2r5kd8
2014-02-19 05:23:08 +00:00
Frédéric van der Essen 6ef5b07c9a [MERGE] hw_proxy: posbox documentation
bzr revid: fva@openerp.com-20140218170233-68jn6riwan2ff0f0
2014-02-18 18:02:33 +01:00
Frédéric van der Essen 611bd08bd7 [MERGE] from trunk
bzr revid: fva@openerp.com-20140218170153-1nnck8im4hdkrdr6
2014-02-18 18:01:53 +01:00
Frédéric van der Essen 6fb94d91d0 [IMP] hw_escpos: added a posbox schematic
bzr revid: fva@openerp.com-20140218170003-72g4s35qjgdu75w0
2014-02-18 18:00:03 +01:00
Thibault Delavallée 79a0a10f93 [MERGE] [IMP] hr: broadcast the welcome message only for new employee coming
from the recruitment, not all created employees.
Before this merge, every created employee was broadcasted to all existing users
of the same company. However when creating a batch of employees, for example
when configuring an new openerp instance, this was creating a lot of noise
in the inboxes.
Now, only recruited employee have a welcome message.

bzr revid: tde@openerp.com-20140218162958-2rr967jh9zu2spwe
2014-02-18 17:29:58 +01:00
Xavier Morel 61c82f28a4 [FIX] imports, use @expectedFailure, simplify some inject specs
bzr revid: xmo@openerp.com-20140218160339-2r34z4ks2o4lriu5
2014-02-18 17:03:39 +01:00
Simon Lejeune fabc1cdd40 [FIX] renamed ir.actions.report.paperformat model to report.paperformat, renamed html_skeleton to html_container in report layouts and renamed paperformat.py file to report_paperformat.py
bzr revid: sle@openerp.com-20140218155347-tfxlndg9wgaw0bv1
2014-02-18 16:53:47 +01:00
Frédéric van der Essen 49e81fb133 [IMP] hw_proxy: initial commit for the posbox's documentation
bzr revid: fva@openerp.com-20140218141129-sa4bhpi535sd7uhb
2014-02-18 15:11:29 +01:00
Xavier Morel c42f9553ec [IMP] remove pointless semicolons, use @expectedFailure instead of commenting broken test
bzr revid: xmo@openerp.com-20140218140610-t4amo9b2jjkk2r0h
2014-02-18 15:06:10 +01:00
Simon Lejeune 47d1019ed0 [MERGE] trunk
bzr revid: sle@openerp.com-20140218140417-lrzzswy31wsjr2py
2014-02-18 15:04:17 +01:00
Xavier Morel cb03b384b0 [IMP] phantomjs runner
* use Skip exception to skip tests in case phantomjs binary not found
* remove spurious logging, move some to debug when debatable
* use testing assertions for correct reporting
* allow failure message
* use mutable buffer to accumulate stdout data

bzr revid: xmo@openerp.com-20140218133445-e5l155j10i934o88
2014-02-18 14:34:45 +01:00
Simon Lejeune 68115b2c6f [IMP] Merge the pdf documents into a StringIO and not a File
bzr revid: sle@openerp.com-20140218131414-khmd3gy8dbjedmrg
2014-02-18 14:14:14 +01:00
Simon Lejeune 3c6c3d91d5 [IMP] qweb-pdf reports are now downloaded instead of being openned in a popup. It is done by using the 'session.get_file' of the webclient.
bzr revid: sle@openerp.com-20140218125322-yym87kc2c0guhgg2
2014-02-18 13:53:22 +01:00
Simon Lejeune ed9061893a [IMP] Moved the action manager for qweb reports into addons branch
bzr revid: sle@openerp.com-20140218104959-p0nqlizhvynqy4j3
2014-02-18 11:49:59 +01:00
Xavier Morel cbc987191c [FIX] QUnitSuite: don't be self-recursive
bzr revid: xmo@openerp.com-20140218104347-u56pghrto948iclx
2014-02-18 11:43:47 +01:00
Xavier Morel d926581bb9 [IMP] slightly improve error message at the end of a module's failed tests
bzr revid: xmo@openerp.com-20140218101847-mwsd2zolpze1xdhf
2014-02-18 11:18:47 +01:00
Xavier Morel 33076a34aa [FIX] run_unit_tests lying about its return value: it only ever returns a bool, never None
bzr revid: xmo@openerp.com-20140218095632-r4aq7gnzj4hq9u64
2014-02-18 10:56:32 +01:00
Xavier Morel 71259f09f4 [ADD] hooks to enable/disable tests running during install
also add flag for post_install run, but not used yet

bzr revid: xmo@openerp.com-20140218095452-pptez5rlpdez1ttl
2014-02-18 10:54:52 +01:00
Thibault Delavallée 735f18b0d4 [MERGE] [IMP] website: server action: add a widget url in the form view on the website_url field.
Seems quite logical.

bzr revid: tde@openerp.com-20140218091245-b3w86tr4ia7y3674
2014-02-18 10:12:45 +01:00
Richard Mathot (OpenERP) 0e3c241e66 [IMP] Add url widget in server actions form view
bzr revid: rim@openerp.com-20140218084315-gtutjttm6sx627k1
2014-02-18 09:43:15 +01:00
Thibault Delavallée ef6cdbf0f2 [MERGE] [IMP] point of sale: usability: label typos + help in menus
bzr revid: tde@openerp.com-20140218083412-k1jajrze3nc51xyh
2014-02-18 09:34:12 +01:00
Antony Lesuisse e4579fdbbd [IMP] actionmanager report port to the new synchronous pyeval api.
bzr revid: al@openerp.com-20140217224626-3s0q34x0jw8t4okg
2014-02-17 23:46:26 +01:00
Xavier Morel 9a22d42b8b [IMP] unwrap tests suites during module loading, prepare for storing/filtering attributes
bzr revid: xmo@openerp.com-20140217155830-dcacx7qvyf7i0i4m
2014-02-17 16:58:30 +01:00
openerp-sle 0834a5ba49 [MERGE] Renamed 'paper_format' field on the company to 'rml_paper_format' and reorder all report's configuration into one tab
bzr revid: openerp-sle@openerp-sle.home-20140217154120-owxojq0tzoys5n32
2014-02-17 16:41:20 +01:00
openerp-sle 0b7351da20 [MERGE] trunk
bzr revid: openerp-sle@openerp-sle.home-20140217153601-75znvem3gez24ycs
2014-02-17 16:36:01 +01:00
openerp-sle 1e0d15e5ec [FIX] Added the 'oldname' attribute on the renamed 'paper_format' field
bzr revid: openerp-sle@openerp-sle.home-20140217153459-3hcxvzmd1j5vvwgq
2014-02-17 16:34:59 +01:00
Xavier Morel aa0eac1257 [FIX] re-enable crawler tests
Move URLCase back out of the test module, otherwise loadTestFromModule
attempts to load it in the usual manner (~URLCase('runTest')). Which does not
work at all, because that's not what URLCase is for.

URLCase extends TestCase to benefit from the TestCase.run infrastructure
(running tests, filling result object, etc...)

bzr revid: xmo@openerp.com-20140217151535-alq7pq6qapski73x
2014-02-17 16:15:35 +01:00
Xavier Morel 665e2629e2 [FIX] only run test modules called test_*, similar to normal autodiscovery
bzr revid: xmo@openerp.com-20140217151521-vyg130iznzojv3e4
2014-02-17 16:15:21 +01:00
openerp-sle e060bc056b [MERGE] trunk
bzr revid: openerp-sle@openerp-sle.home-20140217142030-619etd09tv45gq3q
2014-02-17 15:20:30 +01:00
openerp-sle 919a2fb29a [FIX] Report layouts: location of bootstap.js in web module
bzr revid: openerp-sle@openerp-sle.home-20140217140921-bru0uvuvuq2nij0t
2014-02-17 15:09:21 +01:00
openerp-sle 67fc7252c5 [IMP] Lunch order report converted to QWeb
bzr revid: openerp-sle@openerp-sle.home-20140217140523-591vtpvc5yd6nuuv
2014-02-17 15:05:23 +01:00
Thibault Delavallée 8cf3a3b0b8 [FIX] fleet: vehicle cost name field unhacked.
- remove name composition based on vehicle name, date and cost_subtype_id;
instead those fields have been added to the tree view. name field is now just
a related to the vehicle name, but the name field itself does not seem necessary
anymore. Should be checked further.

bzr revid: tde@openerp.com-20140217133930-dmzbwjtr58s4upy3
2014-02-17 14:39:30 +01:00
Fabien Meghazi 375941932c [FIX] website's slug() should check if slugified string is empty
lp bug: https://launchpad.net/bugs/1271143 fixed

bzr revid: fme@openerp.com-20140217130755-ip1hccv9cxiscqf8
2014-02-17 14:07:55 +01:00
openerp-sle 1dfb35be10 [IMP] Converted mrp repair order to QWeb
bzr revid: openerp-sle@openerp-sle.home-20140217125648-vxewc7hbv071vusz
2014-02-17 13:56:48 +01:00
Thibault Delavallée bc1ed91b2e [MERGE] [IMP] accounting: usability
- bank statement form view: partner is usually a supplier, add default suplier
is context of partner_id
- bank account form view: bank bic not required anymore

bzr revid: tde@openerp.com-20140217103841-yucx1dh744ihz5uu
2014-02-17 11:38:41 +01:00
openerp-sle 6334792778 [MERGE] trunk
bzr revid: openerp-sle@openerp-sle.home-20140217095017-st100iyy9vkuzyhc
2014-02-17 10:50:17 +01:00