Commit Graph
107816 Commits
Author SHA1 Message Date
Fabien Pinckaers 7379f703c0 [IMP] web_settings_dashboard: minor sentence improvement 2016-08-11 10:39:48 -07:00
Stefano Rigano d1663f06e7 [IMP] doc: define a layout for 'category index' pages
These pages were indexed by google but did not have any layout defined.
2016-08-11 16:26:49 +02:00
Christophe Simonis 13a6b7052b [FIX] test_pylint: not all versions of pylint have a __version__ attribute 2016-08-11 16:23:03 +02:00
Simon Lejeune 4015e5a929 [IMP] all: clean usage of unsafe_eval
* document every legit usage of an unsafe eval by using it
  under the name `unsafe_eval`
* add a test that will run the check w0123 of pylint that
  will report and fail for every use of `eval`
2016-08-11 15:38:03 +02:00
Raphael Collet bf668b64c1 [IMP] all: clean usage of safe_eval
Specifically: do not import `safe_eval` as `eval`, keep it explicit instead.
2016-08-11 15:36:56 +02:00
Nicolas Lempereur 1924fb4bb9 [FIX] account: don't use abs price in invoice report
The field price_subtotal_signed on an invoice line contains the line
subtotal:

- untouched if the invoice is of in_refund or out_invoice type,
- negated if the invoice is of in_invoice or out_refund type

At one point in time (not found), commit 649b289f using absolute value
of price_subtotal was introduced because price_subtotal_signed sometimes
had the wrong sign.

But this is source of an issue since it is possible to have an invoice with
two lines such as : 100€ and -20€, the report would then display 120, whilst
80 should have appeared.

This commit remove the use of absolute value, and if some old report data
(pre saas-6 migration with wrong migration script) are reported wrong
for an instance, it should be corrected manually.

opw-683952
closes #13118
2016-08-11 15:33:40 +02:00
Dhaval Panchal 1ed526057f [IMP] website_quote: hide expiration date on confirmed sale reports 2016-08-11 15:24:40 +02:00
Srushti Patel ac7331c71a [IMP] website_sale : improve suggested products frontend
- "Suggested alternatives" is renamed  by "Suggested Products"
- "Suggested products"  is renamed  by "Suggested Accessories"
- Display all Accessory Products rather than the first 3 ones
2016-08-11 14:56:47 +02:00
Kinjal Mehta d60b85bd22 [IMP] stock_dropshipping: make drop shipping apply on products by default
When drop Shipping is true, the route should be applicable on the products by default.
2016-08-11 14:29:36 +02:00
Mitali Patel 518d04a71e [IMP] website_sale: prevent website categories edition 2016-08-11 14:03:12 +02:00
Martin Trigaux 8b9f1600d0 [IMP] doc: add a warning about POS & HTTPS
The POSBox do not work over HTTPS, the pos must be in HTTP.
See #3156 for details
2016-08-11 12:20:59 +02:00
Raphael Collet 305ff7a31e [MIG] complete migration of special methods like init 2016-08-11 12:09:57 +02:00
Mansi Gandhi 9fb53a5055 [IMP] product: add missing fields in product views
- add missing default_code field in product template list view
- make 'uom_id' field visible in product template list view for uom  group
- add missing group on 'uom_id' field in product variant list view
- correct position of qty_available and virtual_available fields now
  that we display uom_id
2016-08-11 11:01:03 +02:00
Mansi Gandhi a7fb287a7a [IMP] stock: add Quality module option in stock Extra Features 2016-08-11 10:00:37 +02:00
Thibault Delavallée 7286902396 [MIG] hr_timesheet: migrate last little report that was trying to hide from the new API wave 2016-08-11 09:17:58 +02:00
Fabien Pinckaers 0a48884c18 [IMP] mass_mailing: better form view for mass mail 2016-08-10 13:59:52 -07:00
Wolfgang Taferner cba50c30ab [FIX] base: harmonize state code ISO 3166-2 without country prefix
This commit closes #13080
This commit closes #13069
2016-08-10 21:46:34 +02:00
Jeremy Kersten 8cc850f3a5 [IMP] website_blog: refactoring
[IMP] website_blog: display author avatar option
[IMP] website_blog: refactore cover option for blog
[IMP] website_blog: tags are now always displayed and as a label
[IMP] website_blog: side bar cleaning
[IMP] website_blog: new teaser
[IMP] website_blog: replace inline comments by quotes comment
[IMP] website_blog: new grid layout
[WIP] website_blog: read next options
[IMP] website_blog: refactoring sharing links
[IMP] website_blog: Delete cover narrow option
[IMP] website_blog: improvement for sharing links
[IMP] website_blog: blog post list cover is an option
[IMP] website_blog: archives group by year
[IMP] website_blog: if only one blog, no index blog post

Courtesy of @movanoncem
2016-08-10 18:38:28 +02:00
Richard Mathot c335c2dcf9 [REM] website_blog: outdated and unmaintained docs 2016-08-10 17:57:03 +02:00
fwi-odoo 9e28a04881 [REM] website_blog: remove yml test, the case is already tested in the python tests 2016-08-10 17:57:03 +02:00
fwi-odoo 5e7ccc0e96 [MIG] website_blog: migrate xml files 2016-08-10 17:57:03 +02:00
fwi-odoo 86793a7565 [MIG] website_blog: migrate py files 2016-08-10 17:53:49 +02:00
fwi-odoo 3b39e7066a [MOV] website_blog: reorganize files 2016-08-10 17:39:49 +02:00
Mansi Gandhi d7fe9dbc64 [IMP] point_of_sale: use 'available_in_pos' filter for products
Rather than a domain.
2016-08-10 16:40:58 +02:00
Nicolas Martinelli 69e772570b [FIX] purchase: copy PO procurement group
When duplicating a PO, we should not copy the procurement group,
otherwise the stock moves will be linked to the first picking.

opw-685812
2016-08-10 16:20:30 +02:00
Mansi Gandhi 38605ebc7c [IMP] project: improved stages usability
People tend to click on the gear on the stage column and click
the "Edit" button. There, they think they are creating a task.

- Rename the 'Edit' button into 'Edit Stage'.
- Hide mail_template_id and project_ids fields in technical features.
2016-08-10 16:18:50 +02:00
Nicolas Martinelli 19116cc878 [FIX] stock: unreserve move only if reserved quants
An issue occurs in the following use case:
- Enable "Bring goods to output location before shipping (Pick + Ship)"
- Create a SO with 2 lines. 2 Deliveries are created, Pack and Ship.
- Go to "Procurement Exceptions", and cancel one of the 2 lines
- Go to the OUTgoing shipping, "Force Availability", and "Validate"

An error occurs: "Cannot unreserve a done move". The system tries to
unreserve a move which is actually cancelled.

Actually, it should not be necessary to unreserve this move, since no
quants were actually reserved in a first place. The fix ensures that, in
this situation, we don't try to unreserve a move with no quant reserved.
This should be safe to do it in all cases, but better be safe by adding
the condition `if 'no_state_change' in context` to impact only this
specific use case.

opw-685650
2016-08-10 16:09:57 +02:00
Thibault Delavallée 6dbe9e7671 [MERGE] various: finish migration of most addons
Containing

 * migrate remaining code
 * migrate server actions
 * remove dead code
 * fix some issues related to old api / new api migration
 * update openerp imports and clean them a bit
 * rename openerp nodes to odoo in xml files
2016-08-10 15:49:13 +02:00
Thibault Delavallée efd55ab8a5 [REF] various: rename openerp node to odoo in xml files 2016-08-10 15:48:10 +02:00
Thibault Delavallée fff2201d3f [MOV] mrp: rename report files according to guidelines 2016-08-10 15:48:10 +02:00
Thibault Delavallée 52467414a7 [MIG] mrp: migrate remaining code in new API and transform rml report into standard report
rml_parse report bom_structure is translated into standard web report
2016-08-10 15:48:09 +02:00
Thibault Delavallée 90bbce6fba [MIG] website_theme_install: migrate server actions to new API 2016-08-10 15:48:09 +02:00
Thibault Delavallée 78797a4b17 [MIG] website_forum: migrate remaining message_post and update code accordingly 2016-08-10 15:48:09 +02:00
Thibault Delavallée 3f2539bc60 [MIG] website: migrate server actions to new API 2016-08-10 15:48:09 +02:00
Thibault Delavallée bfef1b7407 [MIG] project: migrate server actions in new API 2016-08-10 15:48:08 +02:00
Thibault Delavallée 3a1f84ff27 [MIG] procurement: migrate remaining code in old API 2016-08-10 15:48:08 +02:00
Thibault Delavallée 447ef04450 [MIG] point_of_sale: migrate remaining code in old API 2016-08-10 15:48:08 +02:00
Thibault Delavallée 3e7179d5dd [MIG] payment: migrate remaining code in old API 2016-08-10 15:48:08 +02:00
Thibault Delavallée b975d62c33 [MIG] lunch: migrate server actions in new API 2016-08-10 15:48:08 +02:00
Thibault Delavallée 2ce176694d [MIG] hr_recruitment: migrate remaining code in old API 2016-08-10 15:48:07 +02:00
Thibault Delavallée 0cb0fec177 [MIG] hr_expense: migrate tests to new API 2016-08-10 15:48:07 +02:00
Thibault Delavallée e33435daa9 [MIG] mail: migrate remaining code in old API 2016-08-10 15:48:07 +02:00
Thibault Delavallée c8a313d51e [IMP] various: use odoo for imports instead of openerp and update class names 2016-08-10 15:48:07 +02:00
Thibault Delavallée 5ce159924c [REM] website_mail: remove dummy void tests 2016-08-10 15:48:06 +02:00
Thibault Delavallée bc022ddd0b [FIX] marketing_campaing: remove old API parameters on new API method 2016-08-10 15:48:06 +02:00
Thibault Delavallée 09c47c9a93 [FIX] mail: propagate method name change
message_get_partner_info_from_emails does not exist anymore. It is now called
message_partner_info_from_emails.
2016-08-10 15:48:06 +02:00
Thibault Delavallée 3f15922c21 [CLN] mail: remove compatibility methods on mail_template and update last addon using it 2016-08-10 15:48:05 +02:00
Srushti Patel d8227e782b [IMP] stock,product_expiry: display expiry date of product in delivery slip 2016-08-10 15:04:37 +02:00
Goffin Simon 43e25b336d [FIX] account_voucher: unreconcile with deleted journal items
Inspired from e2d16ea04a

When cancelling a voucher from a customer payment receipt,
the voucher lines linked to the deleted account move lines
have to be updated by clicking on button "unreconcile".

opw:683258
2016-08-10 15:04:30 +02:00
Tanguy Charlier eef14dd5cb [FIX] hr_timesheet: Hide timesheets on tasks w/o project
Since it is not possible to create a timesheet entry on a task without a project_id,
the timesheets page on the task form view will be hidden on such tasks.
This prevents the user from trying to create a timesheet entry on such a task and
receive a not so transparent message like: mandatory field is not set: [object with reference: account_id - account.id]
2016-08-10 14:53:40 +02:00