Commit Graph

74341 Commits

Author SHA1 Message Date
Christophe Simonis 4ec71c74d1 [FIX] do not run migration scripts on empty databases
bzr revid: chs@openerp.com-20130912182827-iknosbmr7kni7ulo
2013-09-12 20:28:27 +02:00
Frédéric van der Essen 4080a18ac3 [FIX] point_of_sale: fixed text overflow issues due to long product names
bzr revid: fva@openerp.com-20130912155409-nh2j4a3ereqwt3nn
2013-09-12 17:54:09 +02:00
Frédéric van der Essen 00d1183947 [FIX] point_of_sale: onscreen keyboard would stop working when category changed + make it disappear outside product screen
bzr revid: fva@openerp.com-20130912151334-c3kc4c4137amrl9f
2013-09-12 17:13:34 +02:00
Christophe Simonis e13ffe7e11 [MERGE] forward port of branch 7.0 up to revid 5075 chs@openerp.com-20130912141018-qmcyase8zqov9d01
bzr revid: chs@openerp.com-20130906165207-1oklc8cqs0rex3kg
bzr revid: dle@openerp.com-20130909170248-a4t5y6qd5ikkhhac
bzr revid: dle@openerp.com-20130911083736-6jfkb140jxbbx7j6
bzr revid: chs@openerp.com-20130912150616-v0c383trj7gaa7eu
2013-09-12 17:06:16 +02:00
Frédéric van der Essen c82bbdbb91 [IMP] point_of_sale: make products searchable by internal reference (default_code)
bzr revid: fva@openerp.com-20130912141208-8xrxaf96j5jn5z9u
2013-09-12 16:12:08 +02:00
Christophe Simonis 1d91378ce2 [FIX] ir.ui.view: properly validate newly created inheriting views
When a new inheriting view is imported during a module
    installation, it is validated thanks to the _constraints
    on the ir.ui.view model. However the validation uses
    a rather convoluted system for validating the whole
    view tree at once (root view + all inherited changes)
    while only taking into account the views that belong
    to modules that are currently loaded.

    This complicated system is necessary to be able to
    operate on-the-fly at any point during the registry
    loading/initialization.

    Now because _constraints are checked during create()
    this particular validation happens *before* the
    external ID (ir.model.data entry) of that new view
    can be created (it obviously needs to wait until
    the view record is inserted). As a consequence the
    view validation cannot determine the module to
    which that new view belongs, and was erroneously
    ignoring it.
    Changing the view filtering to also include views
    that have triggered this check.
    Manually created views are not check during registry
    update.

bzr revid: chs@openerp.com-20130912141018-qmcyase8zqov9d01
2013-09-12 16:10:18 +02:00
Paramjit Singh Sahota 2b65bbfa82 [IMP] Improved code to return product_lines.
bzr revid: psa@tinyerp.com-20130912135445-xf0rmbh117fznd5v
2013-09-12 19:24:45 +05:30
Thibault Delavallée a3cf19a28e [FIX] Chart of accounts: fixed currency not selected on COA.
This fix replaced the fix merged into 7.0 / saas-1 (rev 9434), by adding a new currency_id field on
the model. XML data for the various COAs have been updated accordingly.

bzr revid: tde@openerp.com-20130912132032-8k2dj2t3n5hi6s43
2013-09-12 15:20:32 +02:00
Thibault Delavallée eaba6bffb7 [FORWARD] Forward port of saas-1 branch until revision 8773 revid tde@openerp.com-20130912121059-k840pi4rwdzpez8g
Most of 7.0 commit about COAs (9434) has been discarded, because another fix has been implemented
for the trunk branch. This new fix will be merged right after this forward port
of 7.0 / saas-1 branch.

bzr revid: tde@openerp.com-20130912131546-2f8p23bwwcc7930c
2013-09-12 15:15:46 +02:00
Paramjit Singh Sahota 8825f2070b [IMP] Improved method name and code accordingly.
bzr revid: psa@tinyerp.com-20130912131434-99xv1prw3o4dy9ge
2013-09-12 18:44:34 +05:30
Martin Trigaux b17fd217bd [FIX] point_of_sale: correct _get_tax_amount to see several taxes in reports
bzr revid: mat@openerp.com-20130912130747-g3mj44w341v8ao2z
2013-09-12 15:07:47 +02:00
Paramjit Singh Sahota 387bffe50e [IMP] Divided the action_compute method and improved code according to that.
bzr revid: psa@tinyerp.com-20130912115556-9c67dzpr6mao251w
2013-09-12 17:25:56 +05:30
Thibault Delavallée 6df4eaacd5 [MERGE] [FIX] charts of account: fixed currency not selected on COA, added some missing default values (US/MA/VE).
Currency is found by adding values in ir.values and retrieving it when installing the COA.

In trunk/8.0, a new currency_id field will be added allowing to retrieve directly the currency.

bzr revid: tde@openerp.com-20130912113247-esuwq1zppcq2gakk
2013-09-12 13:32:47 +02:00
Paramjit Singh Sahota 000ca6103d [IMP] Added another testcase for 2 service type product
And improved code for bom product with service type product used in SO doesnt link the project perfectly.

bzr revid: psa@tinyerp.com-20130912110454-x9tidij14xj09joz
2013-09-12 16:34:54 +05:30
Thibault Delavallée f8922d6b16 [IMP] [ADD] mass_mailing: added a wizard to create new segments.
It can be called directly from within the campaign form view, using a button.
It allows to easily create new segments and launch the composer.

bzr revid: tde@openerp.com-20130912100909-ofalececxn64a389
2013-09-12 12:09:09 +02:00
Thibault Delavallée f5639479db [DOC] mail: updated changelog
bzr revid: tde@openerp.com-20130912100829-nnp723by9nvwjozb
2013-09-12 12:08:29 +02:00
Paramjit Singh Sahota 8985dda550 [IMP] Improved the test case to make the product produce.
bzr revid: psa@tinyerp.com-20130912090636-h28zgcheleg9h9vm
2013-09-12 14:36:36 +05:30
Martin Trigaux ab7d8c4ccf [MERGE] refactoring of tests to be executed as normal users instead of administrator, fixed some security rules
bzr revid: mat@openerp.com-20130912085812-xvmjoa5fjis0l2ws
2013-09-12 10:58:12 +02:00
Martin Trigaux d2e389900a [MERGE] ir_model_data: allow employees to create new records, useful for tests that requires to create new xml_ids
bzr revid: mat@openerp.com-20130912081948-k6ezwz03syv07mq4
2013-09-12 10:19:48 +02:00
Thibault Delavallée 837f2c7cb4 [DOC] web_kanban_gauge, web_kanban_sparkline: added doc with changelog
bzr revid: tde@openerp.com-20130912080022-fmzl4hll4wca2yy2
2013-09-12 10:00:22 +02:00
Martin Trigaux 5175ce9e77 [IMP] ir_model_data: restrict ir_model_data rule to read only for user and add create to group_user
bzr revid: mat@openerp.com-20130912075353-s1hjsz3b0lvzhzj3
2013-09-12 09:53:53 +02:00
Thibault Delavallée 22822d994b [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130912074055-7wari7rupipuqk17
2013-09-12 09:40:55 +02:00
Thibault Delavallée be64818d1b [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130909093126-dg8odqhq6g2bsd9w
bzr revid: tde@openerp.com-20130912073949-dib01nji97z0ogn2
2013-09-12 09:39:49 +02:00
Launchpad Translations on behalf of openerp a71caa14d6 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130911051954-5q0wh820h5himluq
bzr revid: launchpad_translations_on_behalf_of_openerp-20130912071731-lxe3j09ejij11oty
2013-09-12 07:17:31 +00:00
Martin Trigaux bed4a740d4 [FIX] crm: removed useless test with state -> stage
bzr revid: mat@openerp.com-20130912070647-abvqj0j57nazap6l
2013-09-12 09:06:47 +02:00
Launchpad Translations on behalf of openerp 9dba69ba48 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130912064018-3vecn03jcu9fm1m8
2013-09-12 06:40:18 +00:00
niv-openerp 298fbff2bb [FIX] security problem in im
bzr revid: nicolas.vanhoren@openerp.com-20130911163452-jumg8wahlzof4a6l
2013-09-11 18:34:52 +02:00
niv-openerp 84e16c9895 [IMP] Added link to web training in web doc
bzr revid: nicolas.vanhoren@openerp.com-20130911161529-ue0rqihlu02pr3qd
2013-09-11 18:15:29 +02:00
Frédéric van der Essen a590fbaf43 [MERGE] point_of_sale: various fixes and improvements
bzr revid: chs@openerp.com-20130910125223-5iu0tohmourxcz64
bzr revid: fva@openerp.com-20130911155921-xyqskhjx9r9pgw9c
2013-09-11 17:59:21 +02:00
Frédéric van der Essen 2f86c5ab5a [MERGE] from trunk
bzr revid: fva@openerp.com-20130911155650-uqrn4213urt98f43
2013-09-11 17:56:50 +02:00
Frédéric van der Essen b38c271031 [IMP] point_of_sale: big reworking of the scale screens:
- no welcome scale in cashier mode, as it was an unnecessary delay for people who use it all day
- no more parallel calls to the proxy which could reorder or make the driver crash
- auto throttling of the proxy calls -> max 20 reads per seconds, but can go slower as well.
- faster and cleaner update of the weight in the scale screen

bzr revid: fva@openerp.com-20130911154155-rs600cixvftvkhoi
2013-09-11 17:41:55 +02:00
Martin Trigaux f5d8d2a451 [FIX] crm: better test
bzr revid: mat@openerp.com-20130911153150-uje35usg4jj8710l
2013-09-11 17:31:50 +02:00
Paramjit Singh Sahota a0cb8675df [IMP] Improved code
bzr revid: psa@tinyerp.com-20130911145615-wzy1kmajr7j1731y
2013-09-11 20:26:15 +05:30
Martin Trigaux 5e051e9484 [FIX] resource: better access rights
bzr revid: mat@openerp.com-20130911142549-cpzg8588ol31b8k1
2013-09-11 16:25:49 +02:00
Paramjit Singh Sahota a3482a990f [IMP] Improved code for the BOM with service type product.
bzr revid: psa@tinyerp.com-20130911141123-snw3u5mgtf4xv3k6
2013-09-11 19:41:23 +05:30
Paramjit Singh Sahota f716d9bf9c [REM] Removed the unwanted code.
bzr revid: psa@tinyerp.com-20130911123044-xgw123lfj62cx71x
2013-09-11 18:00:44 +05:30
Martin Trigaux c312cac0fa [IMP] remove merged conflict
bzr revid: mat@openerp.com-20130911121132-47g2d267ld4b2cyl
2013-09-11 14:11:32 +02:00
Martin Trigaux dd84b00b0b [IMP] revert changes in yaml_import
bzr revid: mat@openerp.com-20130911112108-z0ivfwqy1zlqhnec
2013-09-11 13:21:08 +02:00
Martin Trigaux c48504fdba [MERGE] sync with trunk (state -> stage removed some test)
bzr revid: mat@openerp.com-20130911110755-zf3ytf9m27im6x9k
2013-09-11 13:07:55 +02:00
Paramjit Singh Sahota 9ffd1e1346 [MERGE] Merged lp:openobject-addons/7.0
bzr revid: bde@tinyerp.com-20130904061852-ybzve9dslyqcrbnm
bzr revid: psa@tinyerp.com-20130911095650-s8yjb2zt1gxygbr6
2013-09-11 15:26:50 +05:30
Martin Trigaux 1f30f78fab [MERGE] sync with trunk
bzr revid: mat@openerp.com-20130911094257-yu17yffdawc45v2a
2013-09-11 09:42:57 +00:00
Martin Trigaux 16293621dd [MERGE] [FIX] report: Skip register reports that have xsl but no xml
bzr revid: mat@openerp.com-20130911092947-4gy77vtgddpk1odh
2013-09-11 09:29:47 +00:00
Launchpad Translations on behalf of openerp c1ee146f7b Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130911051946-7al2yclyqfsdurml
2013-09-11 05:19:46 +00:00
Thibault Delavallée 128d7f39c8 [IMP] mass_mailing: using delivered instead of bounced in kanban views
bzr revid: tde@openerp.com-20130910152933-3xb34l0xyhj9yh21
2013-09-10 17:29:33 +02:00
Thibault Delavallée ce8c987089 [IMP] mail, email_template, mass_mailing: improvev mass mailing management in mail.compose.message + form view cleanings + some fixes in mail_mail about set_opened/replied/bounced, now checking that ids effectively exist
bzr revid: tde@openerp.com-20130910151901-nhuwvtrkbwekyh7x
2013-09-10 17:19:01 +02:00
Thibault Delavallée 2982257521 [IMP] mail: added catchall and bounce aliases to config
bzr revid: tde@openerp.com-20130910151822-jg78ff0fojjqdiwj
2013-09-10 17:18:22 +02:00
Olivier Dony b24e37db63 [FIX] ir.mail_server: be more lenient when validating From address
When a user has their email as name, the system will
construct the From header as "email<email>".
We previously forbade this, because the naive
check only counts the number of emails in
the From header.
We might need to drop that assert or implement
something better in the future.

bzr revid: odo@openerp.com-20130910143809-wu32dkz20es579nv
2013-09-10 16:38:09 +02:00
Christophe Simonis 3fa90321e1 [MERGE] forward port of branch saas-1 up to revid 8772 chs@openerp.com-20130910122113-171osvcukxffxcry
bzr revid: chs@openerp.com-20130910124803-wxkb8gkz1tub5qjf
2013-09-10 14:48:03 +02:00
Thibault Delavallée c063f54691 [IMP] mail: in mass mail mode, default value is now to send emails, not to perform a mass post on documents.
bzr revid: tde@openerp.com-20130910124754-jssus6l43nil4qad
2013-09-10 14:47:54 +02:00
Christophe Simonis 4327e09a55 [MERGE] forward port of branch saas-1 up to revid 4903 dle@openerp.com-20130909170248-a4t5y6qd5ikkhhac
bzr revid: chs@openerp.com-20130910121230-xcr2yj6rpbo83wy0
2013-09-10 14:12:30 +02:00