Commit Graph
81391 Commits
Author SHA1 Message Date
Xavier Morel f6762f79e6 [MERGE] from trunk likely completely broken
bzr revid: xmo@openerp.com-20130909094437-kyxvgoz7zxt3fes0
2013-09-09 11:44:37 +02:00
Thibault Delavallée 43dc750917 [MERGE] Sync with trunk
bzr revid: tde@openerp.com-20130826085405-04kpm11rfz9m6zgk
bzr revid: tde@openerp.com-20130902142029-8u7esi4j51g8xguj
bzr revid: tde@openerp.com-20130906081619-m84142whjfs2zbdg
bzr revid: tde@openerp.com-20130909093131-rnj42h1tu7s5akt2
2013-09-09 11:31:31 +02:00
Martin Trigaux 1ae3118c54 [FIX] stock: change wrong variable name
bzr revid: mat@openerp.com-20130909091837-jkzfijspdyw2g79y
2013-09-09 11:18:37 +02:00
Martin Trigaux 63a2e35cd8 [MERGE] [FIX] pass context for 2many fields in views
bzr revid: mat@openerp.com-20130909085809-qwtvig71g8re40fa
2013-09-09 10:58:09 +02:00
Martin Trigaux f17ab8b43c [FIX] stock: overwrite message_{un,}subscribe on stock.picking.{in,out}
lp bug: https://launchpad.net/bugs/1197169 fixed

bzr revid: mat@openerp.com-20130909081952-t6x482m9f3vt6xmg
2013-09-09 10:19:52 +02:00
Fabien Meghazi e980e1c715 [FIX] context merge
bzr revid: fme@openerp.com-20130909075031-rvwxjdc07zhq0m8u
2013-09-09 09:50:31 +02:00
Turkesh Patel (Open ERP) 84872f59c8 [IMP] improved code
bzr revid: tpa@tinyerp.com-20130909065930-u9btuxnl7ot19fuo
2013-09-09 12:29:30 +05:30
Turkesh Patel (Open ERP) 3413d5364f [IMP] improved domain on invoice analysis report action
bzr revid: tpa@tinyerp.com-20130909055858-yvf28wwpixak1kdy
2013-09-09 11:28:58 +05:30
Turkesh Patel (Open ERP) 2e4b5e8130 [MRG] add default values for currency in all l10n_ modules lp:~openerp-dev/openobject-addons/7.0-coa-wizard-data-cod
bzr revid: tpa@tinyerp.com-20130909053941-prtpliol6yeaw09g
2013-09-09 11:09:41 +05:30
Turkesh Patel (Open ERP) b8c1905e7b [MRG] merge with lp:openobject-addons/7.0
bzr revid: tpa@tinyerp.com-20130909053300-bfsxzkyk600fg473
2013-09-09 11:03:00 +05:30
Chirag Dodiya (OpenERP Trainee) a5de1c3230 [IMP]Improved currency as per country data file
bzr revid: chiragdd7@gmail.com-20130909052054-zkxbfhh6xcrzhprn
2013-09-09 10:50:54 +05:30
Turkesh Patel (Open ERP) 3a6ff5135e [MRG] lp:~openerp-dev/openobject-addons/trunk-coa-wizard-tpa-coa-accounting-sunil
bzr revid: tpa@tinyerp.com-20130909050921-30zxrazcub15uk0m
2013-09-09 10:39:21 +05:30
Sunil Sharma (OpenERP Trainee) 099fedc7a4 [IMP]:improved currency.
bzr revid: sunilsharma.sharma07@gmail.com-20130909045951-t2wjsr5xu5ajw432
2013-09-09 10:29:51 +05:30
Launchpad Translations on behalf of openerp 1b3e67fc72 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130908050306-6ff4thsz8hd67x3z
bzr revid: launchpad_translations_on_behalf_of_openerp-20130909045922-jrx0xd00p3nszc9r
2013-09-09 04:59:22 +00:00
Moises Lopez 9f33f77f3e [REF][hr_timesheet_invoice] Add if exists domain and pep8 in modify lines.
bzr revid: moylop260@vauxoo.com-20130908212817-sxx8n2iaqoqpwpgj
2013-09-08 14:28:17 -07:00
Fabien Pinckaers d97d58f5db [IMP] structure in snippets
bzr revid: fp@openerp.com-20130908210139-3wsl86ij3yd5udqz
2013-09-08 23:01:39 +02:00
Moises Lopez e37f1e0f26 [FIX][account_payment/test/payment_order_process.yml] Fix test/test_hr_timesheet_invoice.yml too
bzr revid: moylop260@vauxoo.com-20130908205724-uylcetl1e4xy908t
2013-09-08 13:57:24 -07:00
Antony Lesuisse 12580e690a [IMP] openerp threaded, gevent, prefork service cleanup
- unify signal handling
- unify start and stop
no new feature yet, it paves the way for
- developement mode auto reload
- graceful restart on HUP
- multiprocessing and gevent on windows

bzr revid: al@openerp.com-20130908173535-xomt5w7xmqtwkmyy
2013-09-08 19:35:35 +02:00
Launchpad Translations on behalf of openerp d8bd4d3652 Launchpad automatic translations update.
bzr revid: launchpad_translations_on_behalf_of_openerp-20130907054014-6wekhttz1qczae31
bzr revid: launchpad_translations_on_behalf_of_openerp-20130908050234-ym1z7eoff4sxcfgf
2013-09-08 05:02:34 +00:00
Moises Lopez 50492bb349 [FIX][hr_timesheet_invoice] Fix global->particular invoice search to test_hr_timesheet_invoice_no_prod_tax
bzr revid: moylop260@vauxoo.com-20130907161501-9uip7h4simwv8ccz
2013-09-07 09:15:01 -07:00
Olivier Dony 54a8cbb7cd [MERGE] product: support string values for context pricelist key when computing prices
As of v7 search views will replace the value of any `self`
      literal in a @context attribute by the name of the
      record, whereas it used to be its ID.
      This means that the `Pricelist` filter used to display
      the product list with a specific pricelist would not
      work anymore.
      
      The fix requires a rather hackish name_search()
      override for product.pricelist because the display
      name of pricelists includes their currency, while
      that could be a valid name for a pricelist too.
      
      To avoid side-effects the name_search() override
      only picks up the special case used by the
      product.product._product_price() method when it
      tries to apply the context pricelist, that is
      with operator explicitly set to `=` and no extra
      domain `args`.

      Also avoid useless warning in log by disabling the actual
      filtering for the dummy pricelist_id field, whose
      only purpose is to alter the context.

      Finally, add a default _order for pricelists that is
      a bit more intuitive than the default sort by `id`.
      An explicit _order was required for the application of
      the `limit` in pure SQL, and using `name` seems slightly
      better than `id`.

lp bug: https://launchpad.net/bugs/1178835 fixed

bzr revid: odo@openerp.com-20130906161422-0huf2uwjg42shdqp
2013-09-06 18:14:22 +02:00
Christophe Matthieu 62aafc07b1 [WIP] website: snippets, use template qweb js for snippets
bzr revid: chm@openerp.com-20130906160006-5gdgsv2jq8lz1voz
2013-09-06 18:00:06 +02:00
Olivier Dony 6de0051315 [FIX] product: support string values for context pricelist key when computing prices
As of v7 search views will replace the value of any `self`
      literal in a @context attribute by the name of the
      record, whereas it used to be its ID.
      This means that the `Pricelist` filter used to display
      the product list with a specific pricelist would not
      work anymore.
      
      The fix requires a rather hackish name_search()
      override for product.pricelist because the display
      name of pricelists includes their currency, while
      that could be a valid name for a pricelist too.
      
      To avoid side-effects the name_search() override
      only picks up the special case used by the
      product.product._product_price() method when it
      tries to apply the context pricelist, that is
      with operator explicitly set to `=` and no extra
      domain `args`.

lp bug: https://launchpad.net/bugs/1178835 fixed

bzr revid: odo@openerp.com-20130906155047-7dmozy2jpe1ca1p2
2013-09-06 17:50:47 +02:00
Olivier Dony a382a62555 [FIX] Revert data.js test that was not reverted along with the corresponding patch in previous commit
See also reverted commit revid:nicolas.vanhoren@openerp.com-20130805130458-21w806v9wc456oq4

bzr revid: odo@openerp.com-20130906154422-jkdf2v2stgcd6akx
2013-09-06 17:44:22 +02:00
Frédéric van der Essen 44967200e4 [IMP] point_of_sale: removed the ScaleInvite Screen in cashier mode, + only update the weight value in ScaleScreen
bzr revid: fva@openerp.com-20130906153448-daev4x2ea3rf4pug
2013-09-06 17:34:48 +02:00
Martin Trigaux 8c2b5d2316 [FIX] l10n_be: VAT reports needs to have explicitly two digits, rounded values not accepted (sigh)
bzr revid: mat@openerp.com-20130906150835-zwg7zum91d713154
2013-09-06 17:08:35 +02:00
Christophe Matthieu 4d1cc6a4ed [WIP] website: snippets
bzr revid: chm@openerp.com-20130906150408-81qzb2492lwqf7lb
2013-09-06 17:04:08 +02:00
Xavier Morel 4a1d3f16ce [FIX] broken pager
Turns out when code looks somewhat odd there may well be a good reason
for it, and changing it without wondering breaks the pager.

In this case, `/web/dataset/search_read` has a significant difference
with Model.search_read: it returns the records slice specified by
(``limit``, ``offset``) but it also returns the *total number of
records* for ``domain`` which is sort-of useful to generating the
pager.

lp bug: https://launchpad.net/bugs/1218266 fixed

bzr revid: xmo@openerp.com-20130906150101-2qb349fzaz6rye36
2013-09-06 17:01:01 +02:00
Antony Lesuisse 6da5da7aa0 [FIX] activate import by default
bzr revid: al@openerp.com-20130906143719-rl1vqf06p6f3o2na
2013-09-06 16:37:19 +02:00
Xavier Morel 945376a066 [FIX] no Logger.getChild in Python 2.6
bzr revid: xmo@openerp.com-20130906135331-zt3uzoeupvlba513
2013-09-06 15:53:31 +02:00
Olivier Dony fe15a49f0e [MERGE] res.partner: current name_search() implementation tends to skip a few valid results during early autocompletion - mitigation attempt
The main reason for the semi-random behavior
observed during auto-completion is the
missing ORDER BY clause in the pre-filtering
SQL query.

The ORDER BY clause is expensive but inevitable
if we want to apply a correct LIMIT, otherwise
we would return random `limit` results among
all the possible matches.

The current SQL query seems convoluted due
to the duplicated CASE clause but it
performs slightly better than the equivalent
CTE-based (WITH...) query, so it was preferred.


There is still a chance of returning too
few results due to double limit application,
as further discussed in bug 1203727

lp bug: https://launchpad.net/bugs/1203727 fixed

bzr revid: odo@openerp.com-20130906134950-gi0szic3uw3onyuv
2013-09-06 15:49:50 +02:00
Xavier Morel 81118812a8 [ADD] moved view.save method from server
bzr revid: xmo@openerp.com-20130906130916-txj4mwhulb89kpov
2013-09-06 15:09:16 +02:00
Xavier Morel a61e7b5efa [REM] view.save, move to website module where it belongs
bzr revid: xmo@openerp.com-20130906130905-86ul9efvjt6wo1j2
2013-09-06 15:09:05 +02:00
Chirag Dodiya (OpenERP Trainee) 78aec83d2f [IMP] Improved code as per coding convention
bzr revid: chiragdd7@gmail.com-20130906125557-3gid1ewa4qjmixsn
2013-09-06 18:25:57 +05:30
Turkesh Patel (Open ERP) 7650083606 [IMP] l10n_de: improved currency.
bzr revid: tpa@tinyerp.com-20130906124836-40p7xtnu0qwl8g94
2013-09-06 18:18:36 +05:30
Chirag Dodiya (OpenERP Trainee) 7d4eec0418 [IMP] Improved data for account chart template
bzr revid: chiragdd7@gmail.com-20130906120536-y31ix9g9s8e00kqc
2013-09-06 17:35:36 +05:30
Turkesh Patel (Open ERP) 0074daad9f [MRG] add currency in account chart template lp:~openerp-dev/openobject-addons/trunk-coa-wizard-tpa-coa-accounting-sunil
bzr revid: tpa@tinyerp.com-20130906113812-myyim21e522jnbl2
2013-09-06 17:08:12 +05:30
Turkesh Patel (Open ERP) 17b89198ab [FIX] round amount insted of converting in to int.
bzr revid: tpa@tinyerp.com-20130906111655-f6na9nvtot6t7wdd
2013-09-06 16:46:55 +05:30
Sunil Sharma (OpenERP Trainee) 87ff039a2a [IMP]:trunk account chart template data
bzr revid: sunilsharma.sharma07@gmail.com-20130906105705-j2u30ldytf3qev3r
2013-09-06 16:27:05 +05:30
Pinakin Nayi (OpenERP) 7ecff57509 [FIX]res_user : replace field to show latest connection in tree view
bzr revid: pna@tinyerp.com-20130906104251-lf0584j6q5hm2sfm
2013-09-06 16:12:51 +05:30
Thibault Delavallée cd63d4d21a [ADD] mass_mailing: added directories + skeletons for doc and tests
bzr revid: tde@openerp.com-20130906103325-e15fmq49puldcwu3
2013-09-06 12:33:25 +02:00
Xavier Morel 76409db724 [FIX] bootstrap makes buttons unselectable, which breaks RTE. Revert behavior when button in section being edited
bzr revid: xmo@openerp.com-20130906101658-m35uqghtvi3kd7bc
2013-09-06 12:16:58 +02:00
Thibault Delavallée 205a5c37c0 [CLEAN] qweb, kanban: removed forgotten console.log + unnecessary void line
bzr revid: tde@openerp.com-20130906101155-0o58oycwb992s093
2013-09-06 12:11:55 +02:00
Thibault Delavallée 20ba3bd349 [IMP] crm, mass_mailing, sale_crm: added dependencies to web_kanban_gauge/sparkline newly introduced modules
bzr revid: tde@openerp.com-20130906100554-vcg4rux2f5omyq3t
2013-09-06 12:05:54 +02:00
Thibault Delavallée 5245e732bc [MOV] [ADD] Moved gauge and sparkline widgets into their own modules.
Introducing two new web modules: web_kanban_gauge and web_kanban_sparkline.

bzr revid: tde@openerp.com-20130906100528-rfk9u9op5u8kadl9
2013-09-06 12:05:28 +02:00
Thibault Delavallée a937b5679b [IMP] [FIX] kanban: updated justgage and sparklin libraries; fixed gauge widget showing 0 as value by forcing a refresh
bzr revid: tde@openerp.com-20130906093221-n94whqrrj2meknwf
2013-09-06 11:32:21 +02:00
Xavier Morel f4c27f6332 [FIX] move view's page attribute to module
bzr revid: xmo@openerp.com-20130906091351-37cr1g2scvpiyc7u
2013-09-06 11:13:51 +02:00
Xavier Morel 4f6af7f857 [REM] page attribute on views, doesn't belong in server
bzr revid: xmo@openerp.com-20130906091108-gk2biyqyi2xaekxl
2013-09-06 11:11:08 +02:00
Xavier Morel 3d42f63246 [IMP] remove unused imports
bzr revid: xmo@openerp.com-20130906091013-4smmete74hc9kpj1
2013-09-06 11:10:13 +02:00
Turkesh Patel (Open ERP) bf1649ff74 [ADD] remove currency_id logic and set currency_id based on ir.values
bzr revid: tpa@tinyerp.com-20130906090052-mr2hcurvsu573pm1
2013-09-06 14:30:52 +05:30