Commit Graph
103231 Commits
Author SHA1 Message Date
Raphael Collet 5032cdf64b [FIX] translate: fix test on lxml node
Specifically, replace `not node.getparent()` by `node.getparent() is None`.
2016-06-08 16:25:40 +02:00
Jairo Llopis 87d1c4abd3 [IMP] website_portal_sale: depends on portal_sale
portal_sale adds the security rules for website_portal_sale to work proprerly

Closes #12283
2016-06-08 15:57:51 +02:00
Jeremy Kersten 4a4c4e1b95 [FIX] mail: display date and datetime in tracking value with the right timzeone.
When tracking value is converted to be rendered as a message_post, we convert
the date/datetime with the current local from momentjs.

Related to #12327

Courtesy of @aab-odoo for help and review.
2016-06-08 15:43:52 +02:00
Jeremy Kersten 039e182fe3 [REF] mail: avoid duplicated code for old and new value. 2016-06-08 15:43:52 +02:00
Christophe Simonis 672b7329df [MERGE] forward port of branch saas-11 up to 66ea78f 2016-06-08 14:55:23 +02:00
Christophe Simonis 66ea78fd89 [FIX] account_asset: field asset_iddoesn't exists anymore on stock.move 2016-06-08 14:53:45 +02:00
rap-odoo a5e7a4c8ae [IMP] Account,...: Change 'string' attribute on some fields to avoid repeated names
In odoo at many places the filter items are having repeated strings eventhough the
fiter works differently , so find all the places where this happens and give
proper string to each filter..
2016-06-08 14:02:23 +02:00
Ravi Patel 74936dbb64 [IMP] stock: Use default dest location of picking types on return transfers
Purpose:
When we create a return transfer, the return location should be selected as
the default destination location of the "Picking type for return". Odoo should
be using that return location as the default return location during reverse transfer,
but only if the default destination location of the "Picking type for return" is a
return location

Specification:
For all transfers, if the default destination location of the "Picking type for return"
is a return location, then the return location should be selected as the default
destination location during reverse transfer.
2016-06-08 12:41:07 +02:00
Christophe Simonis 7306e888a6 [MERGE] forward port of branch saas-11 up to ac50230 2016-06-08 12:28:16 +02:00
Christophe Simonis ac5023060c [MERGE] forward port of branch saas-10 up to 2f948c7 2016-06-08 12:19:23 +02:00
mdi-odoo a199988c99 [REF] purchase_requisition: Migrated yml test cases to unit test cases. 2016-06-08 11:54:03 +02:00
mdi-odoo 03c269d9b1 [MIG] purchase_requisition: Migrated to new API. 2016-06-08 11:53:58 +02:00
mdi-odoo 7840a0c25c [MOV] purchase_requisition: Re-organized directory structure. 2016-06-08 09:16:07 +02:00
Christophe Simonis 2f948c76aa [MERGE] forward port of branch saas-9 up to 3ed483c 2016-06-07 19:45:02 +02:00
Christophe Simonis 3ed483caa1 [MERGE] forward port of branch 9.0 up to fa4a371 2016-06-07 19:21:18 +02:00
Christophe Simonis fa4a371ba8 [MERGE] forward port of branch saas-6 up to 0211782 2016-06-07 19:11:49 +02:00
Denis Ledoux 57a5d1976b [FIX] qweb: t-lang warning logger
The evaluated lang is within the variable
`d.context['lang']`

`lang` contains the non-evaluated `t` attribute,
so, in the case of `report_saleorder`,
`doc.partner_id.lang`

opw-680074
2016-06-07 18:23:25 +02:00
Christophe Simonis 021178242f [MERGE] forward port of branch 8.0 up to 6140300 2016-06-07 18:01:12 +02:00
Tanguy Charlier a1a8d6d44f [MIG] barcodes: Simplify selection fields overrides 2016-06-07 17:43:35 +02:00
Ranjit Pillai 93fc313065 [MIG] barcodes: Migrated to new api 2016-06-07 17:43:35 +02:00
Ranjit Pillai cb313ac19f [MOV] barcodes: Reorganised file structure. 2016-06-07 17:43:35 +02:00
Xavier Morel 4a6adff30d [ADD] resource: work day helpers
Add methods to query work days (entire) for resources for systems
working daily insted of hourly.
2016-06-07 17:41:44 +02:00
Nicolas Lempereur 5ea4937e5a [FIX] stock: reordering_{min,max}_qty &several ids
dict.fromkeys doesn't duplicate the passed 'values', hence the code
created a table with several times the same instance of values dict.

opw-679203
2016-06-07 17:27:17 +02:00
Nicolas Martinelli 83e7f2749c [FIX] web: set title on Many2Many tags
When the content of a Many2Many tag is too large, it is truncated. This
is an issue since there is no easy way to see it.

The fix adds a title on the tag with the content.

X-port of commit odoo/enterprise@bd3bfe0422
2016-06-07 17:03:40 +02:00
Jos De Graeve 2098b703a4 [FIX] sale_timesheet: set wrong code on analytic line
The product_id is the one of the timesheet line, not the one of the order (which
actually is the one of the first line).
Closes #12013
2016-06-07 17:02:21 +02:00
Denis Ledoux 4601b044a6 [FIX] web: prevent search dropdowns to close on click inside
In the Filters, Group By and Favorites dropdowns,
when clicking outside the `li` elements but still
inside the dropdown menu itself
(like on the dividers,
or next to the advanced search `Apply` button),
the dropdowns was closed.

This behavior was annoying when doing an advanced search
with a field using the datetime picker, as, to close the datetime
picker, you have to click outside it, and when you did, it closed
automatically the filter dropdown... So you had to open it again to
finally apply the filter.

opw-674310
2016-06-07 16:48:58 +02:00
Jérome Maes 0025bc2bb2 [IMP] hr_holidays: make const with working 8h per day
Having the number 8 in the code makes developers wonder 'why this number ?'. Naming it eases tensions in geek's mind.
2016-06-07 16:34:56 +02:00
Jérome Maes 9b08ef66a6 [IMP] hr_holidays : rename 'Human Ressource' into 'Leaves App' in warning message. 2016-06-07 16:34:55 +02:00
Jérome Maes 65f7d7b122 [REM] hr_holidays : remove useless doc directory 2016-06-07 16:34:55 +02:00
Ravi Gohil 7941468fa6 [MIG] hr_holidays: migrate test cases to new api
- removed unnecessary/unused records from existing unittest cases
- converted yml test cases to python unitttest
2016-06-07 16:34:55 +02:00
Ravi Gohil 46ccb7036f [MIG] hr_holidays : migration to new api 2016-06-07 16:34:54 +02:00
Jérome Maes 3c1725da8c [MOV] hr_holidays : move code to split file per models 2016-06-07 16:34:54 +02:00
Ravi Gohil ea2e476606 [MOV] hr_holidays: reorganize module directory
Also,
- removed unused hr_bel_holidays_2008.xml file
- removed unused action with xml_id 'act_hr_employee_holiday_request_approved' from hr_holidays_views.xml
2016-06-07 16:34:54 +02:00
Olivier Dony af47009815 [FIX] website_{quote,sale}: payment tx handling consistency
Both website_sale and website_quote have logic to independently
confirm sales orders when a successful payment transaction is
processed.
Rev 46c5f93b6c introduced an extra
check and logging for transactions with mismatching amounts in
website_sale, but the same change was not done in website_quote.

Consequently, when both modules were installed, the tx mismatch
check was bypassed by website_quote, and a spurious logging message
was emitted by website_sale if the website_quote logic had executed
first.

This patch makes tx handling consistent in both modules, and avoids
the misleading log message when both modules are installed.
2016-06-07 16:29:52 +02:00
Simon Lejeune 879e2b27d9 [FIX] packaging: redhat: don't write the conf file if already there
this avoid to overwrite the configuration file at each update.

closes  #11722
2016-06-07 16:25:21 +02:00
Christophe Simonis 7889d7e0ff [FIX] web,auth_signup: prevent login autocapitalization
Mobile virtual keyboards will often capitalize the first letter of
an input text field, which is annoying as odoo logins are case-sensitive.
This will no longer happen thanks to this new attribute.

X-port of commit odoo/enterprise@b8632f8bb6
2016-06-07 16:15:47 +02:00
Nicolas Martinelli 7613cb36d6 [FIX] product: pricelist based on supplier price
In the case of a purchase pricelist based on the supplier price, the
price selected is incorrect if the supplier is not in the list of
suppliers of the product. Indeed, in this case, the price of the first
supplier is chosen.

We also need to make sure to go through all the pricelist items found.

opw-678440
2016-06-07 16:03:07 +02:00
jpr-odoo ecd892e53d [IMP] account,sale: shipping address on invoice report
PURPOSE:
Display shipping address on invoice, when both addresses are
different ('Invoice Address' and 'Delivery Address').
2016-06-07 15:55:37 +02:00
Christophe Matthieu 3d9ccef81d [FIX] translate: doctype is removed from the backend web template
issue: The rendering is altered because the browser doesn't know how to parse the html and css content
2016-06-07 14:16:12 +02:00
Jeremy Kersten 2179f53a65 [FIX] web_calendar: use local format for week in title of calendar view.
Commit odoo/odoo@9be7a9535c changes the week number
computation to match calendar and pivot views.

Now, calendar don't use isoWeek format by default, but the weekNumber from locale(),
So we need to adapt also the format for title.

closes #12068, closes #9629
2016-06-07 14:09:17 +02:00
Nicolas Martinelli 6140300da0 [FIX] account_analytic_analysis: fpos of invoices
When an invoice is created automatically thanks to the cron task, the
superuser is used. However, this implies that the company of the
superuser will be used for the account invoice creation, leading to
potentially incorrect taxes and fiscal positions.

opw-669714
2016-06-07 12:20:23 +02:00
Martin Trigaux ff3a0b12c6 [FIX] hr_evaluation: badly rendered form
The date was positioned inside the h1 and was badly rendered (field too small)
Fixes #2476
2016-06-07 12:16:38 +02:00
Denis Leemann 004ebd3a58 [CLA] add leemannd to c2c coprorate signature
Closes #12317
2016-06-07 12:00:08 +02:00
Ankit Joshi 89d7c730fb [IMP] sale_stock: Usability + Form cleaning for sales returns
1/ In Return form Change the string 'To Refund in SO'  to  'To Refund'.
2/ Return form wizard: Reduce the space in header.
3/ Change the button string name 'Reverse' into 'Return'.
2016-06-07 11:07:49 +02:00
Mansi Gandhi b656d5b281 [IMP] stock: Improve Picking wave usability
Remove no_one group on the Picking waves menu entry.
Add a search on the picking waves in the transfer lists.
Remove the 'Print all Picking' button and add primary button which is 'PRINT' button.
2016-06-07 10:44:49 +02:00
Dhaval Panchal 99d5b5afce [IMP] sale: set default terms and condition for invoice
Purpose:
Sales general terms should be printed on the invoices when creating an invoice from scratch.
For the moment, the Terms and conditions are linked to the SO.

Moreover, Terms and Conditions are not copied for Down Payments invoices

Specification:
- If the source document is an SO, it should take the Terms and conditions of the SO
  (in all cases, also with down payments)
- If created from scratch, it should take the default Terms and conditions set on the company.
2016-06-07 10:35:27 +02:00
qdp-odoo db04087b2c [FIX] account: a duplicated xmlid reference was overwritting the Chart of Accounts menuitem 2016-06-07 10:33:39 +02:00
qdp-odoo 8acfde46d2 [IMP] account: added credit card type for liquidities-liabilities accounts 2016-06-07 10:21:23 +02:00
Kinjal Mehta 4c30879da8 [IMP] hr_holidays: Several usability improvements
Change the menu tip of Allocation Request, Leaves, Leaves Allocations and Leaves details.
Change the filter name 'Current Year' instead of Current.
The default filter My requests has been removed. (in SAAS10, there is a ir_rule forcing the exact same domain)
And In the m2o field leave type in leave request, change it in to (3 remaining out of 5) instead of like (3/5).
2016-06-07 10:13:01 +02:00
Holden Rehg ee71ba392c [CLA] signature for user holdenrehg
Closes #12305
2016-06-07 09:42:02 +02:00