Commit Graph
117156 Commits
Author SHA1 Message Date
Lucas Perais (lpe) 5589f102e6 [FIX] base: fixed display of company details for printing
Also, rebuilt preview pdf
2017-09-25 08:53:31 +02:00
Lucas Perais (lpe) d9134d7331 [FIX] base: Py3 fix in ir_action_report 2017-09-25 08:53:21 +02:00
Odoo Translation Bot c8796d45fe [I18N] Update translation terms from Transifex 2017-09-24 07:14:32 +02:00
Odoo Translation Bot 3550a68d96 [I18N] Update translation terms from Transifex 2017-09-24 04:41:28 +02:00
Odoo Translation Bot 740ddf81b0 [I18N] Update translation terms from Transifex 2017-09-24 01:44:27 +02:00
Denis Ledoux 633b5495b7 [ADD] event, event_sale: registration summary methods.
Method which return summary information about the registration,
which can be used by email or QWeb templates to fetch useful
information about the registration.
2017-09-22 22:25:56 +02:00
Simon Lejeune d9d595a684 [REF] stock: immediate transfer wizard
Now that the user is able to fill quantities even if the picking is in
draft, the conditions to open this wizard should be adapted.
2017-09-22 19:30:16 +02:00
Simon Lejeune 0b30f6aec4 [FIX] stock: show operations view and planned pickings
According to the planned_picking context key (which is set by the plan a
picking button), the detailed operations page should be visible or not.
2017-09-22 19:30:16 +02:00
Simon Lejeune b42547e7f7 [FIX] stock: picking: mark as todo visibility
Always hide this button if the picking has not move lines.
2017-09-22 19:12:15 +02:00
qsm-odoo 3b70961e38 [FIX] web: fix list editable visual bugs
- Tags' text were able to overflow their cell to the right
- In-edition elements were sometimes hidden by other rows' content
2017-09-22 16:27:24 +02:00
Ankit Joshi a7ec2d94fe [FIX] account: clean message if no payment to post
Was PR #19656
2017-09-22 16:14:54 +02:00
amoyaux e91fd246d2 [FIX] stock: merge move not always working.
Correct sort on recordset. See this commit for more
information cdd7f09
2017-09-22 16:13:14 +02:00
Prakash Prajapati 497ea3199f [FIX] link_tracker: Use the correct method name
Issue introduced by https://github.com/odoo/odoo/commit/7accd77999ebcd4ce16388f2a23ee296093fecbc
2017-09-22 15:24:59 +02:00
dbh f6f9e73124 [FIX] web: fix vertical alignement in button box 2017-09-22 15:14:05 +02:00
dbh a203eaccbf [IMP] mass_mailing: Fix traceback on onchange when removing recipients model 2017-09-22 15:08:42 +02:00
Darshil Trivedi 858d06fe0a [FIX] purchase: Fix syntax error on domain definition 2017-09-22 15:01:54 +02:00
qsm-odoo bae966c106 [FIX] web, mail: fix bootstrap customization
- bg-*-full color classes were only defined in enterprise while they
  should have been defined here (fixes kanban column progressbars)
- new @gray-lighter variations should be defined in variables.less
  as they are bootstrap extensions, not bootstrap overrides
2017-09-22 14:58:10 +02:00
qdp-odoo 7049aac877 [FIX] account_check_printing: ir.actions.server state = 'code' where it deserves.
As per https://github.com/odoo/odoo/commit/c56b7462214114079823c38d38de9f194757d20c, the default changed to 'object_write' but some server actions with code were left without specifying the state value to 'code'
2017-09-22 14:53:55 +02:00
amoyaux decd00ec99 [FIX] stock: scheduler active True and rename
Commit 0e4f3bb959 turn scheduler
cron to inactive though it should not.

It also rename the MRP in the name since the scheduler is not
only relative to mrp.
2017-09-22 13:36:16 +02:00
amoyaux bb87187cd8 [FIX] stock: consolidate merge quant
It could exist issue with concurency. If the user try to
open the inventory menu but the database can't obtain the lock
for quants to modify/delete. It could raise a traceback to the
end user.

In order to prevent that we use a try catch and pass the exception
it's okay if all the quants are not merged for the user, it will
probably be the next time. It also use a savepoint in order to not
rollback the whole transaction.

The merge quants was only used once the user click on inventory
menu. But if the user only do it once every 2-3 years, there could
be too much quants to merge in only one transaction. In order to
avoit it, we also deduplicate quants in the scheduler cron.
2017-09-22 13:36:16 +02:00
Mehul Patel ca01a458ec [FIX] website: Update default language when removing current default
Purpose
=======

Steps to reproduce:

Remove current default language of your website, it doesn't change the default language which makes the website crashing on edition.
2017-09-22 13:34:43 +02:00
Yannick Tivisse b2aaba4b3d [FIX] http_routing: Convert Bytes to String before concatenation 2017-09-22 13:34:43 +02:00
Mehul Patel 17206d4016 [FIX] account_check_printing : change amount in word when currenncy was changed. 2017-09-22 13:27:07 +02:00
Mehul Patel 9b6c407c82 [IMP] account : remove commas from string. (#19620) 2017-09-22 13:24:16 +02:00
Parth Patel 7698b6d9fb [FIX] sale: Don't display the full address for invoicing and delivery on SO
Currently, the delivery and the invoicing addresses and displayed fully on a SO instead of displaying only the partner name.
2017-09-22 12:28:41 +02:00
Kirti Choudhary d797628779 [IMP] website_sale:set background-repeat property of image to no-repeat so it will not repeat. 2017-09-22 11:41:08 +02:00
Yannick Tivisse abcfade555 [FIX] mass_mailing: Make kanban card links leading to reporting
Purpose
=======

Links in the dashboard are not working, when clicking on them nothing happens. Either they should do something like other app's dashboard or they should not be clickable
2017-09-22 11:23:22 +02:00
Lucas Perais (lpe) 5da551a0d0 [FIX] account: fiscal day should fall within month boundaries
Before this commit, it was possible to set an illegal date such as november 31st as the fiscal date, messing with all the reports
Now, a new constraint is implemented at save time to ensure the date is correct

closes #19612
2017-09-22 10:24:46 +02:00
Prakash Prajapati 5a96672453 [IMP] stock: rename Inventory Control menuitem 2017-09-21 18:44:59 -07:00
Prakash Prajapati 7cb688f4b7 [IMP] stock: rename scheduler menuitem
Also make it appear lower in the list.
2017-09-21 18:44:59 -07:00
Prakash Prajapati 2ea88cf1e7 [IMP] stock_landed_costs: reorganize menuitems
- Landed Costs under Operations
- Landed Cost Types under Products
2017-09-21 18:44:59 -07:00
Prakash Prajapati c77cee585e [IMP] mrp: rename Orders menu 2017-09-21 18:44:59 -07:00
Prakash Prajapati d562a69bdc [IMP] stock, delivery: remove Packages menu 2017-09-21 18:44:58 -07:00
Prakash Prajapati 7c7d806150 [IMP] stock: remove inventory adjustment Inventory Lines button 2017-09-21 18:44:58 -07:00
Prakash Prajapati adeb1fbfaf [IMP] stock_account: change inventory valuation icon 2017-09-21 18:44:58 -07:00
Prakash Prajapati 83114055c7 [IMP] stock: make location_id string consistent with location_dest_id 2017-09-21 18:44:58 -07:00
Prakash Prajapati 4629cb7d97 [IMP] stock: restructure stock.move.line form view
- Use the new reference field
- Add a UOM after qty_done
- Display some other fields
2017-09-21 18:44:58 -07:00
Prakash Prajapati 1e15a08e13 [IMP] stock, purchase: restructure stock move form view
And also display origin moves and destination moves.
2017-09-21 18:44:58 -07:00
Prakash Prajapati 1e9cfa1730 [IMP] stock_account: improve action_get_account_moves button 2017-09-21 18:44:58 -07:00
Prakash Prajapati 6bb1964360 [IMP] delivery: remove weight on stock.move form 2017-09-21 18:44:58 -07:00
Prakash Prajapati 0b9105cc2c [IMP] stock: add reference that is either picking name or move name
Add this in the stock.move tree while also cleaning it up a bit.
2017-09-21 18:44:58 -07:00
Prakash Prajapati 1a8f086041 [IMP] stock: display move reference instead of picking in tree view 2017-09-21 18:44:49 -07:00
Olivier Dony 2257583bb5 [ADD] ir.attachment: add token field for external access
Introduce a new attachment field (access_token) to allow external
unauthenticated access. This will be an opaque unique number
(typically a UUID) that should be provided via an appropriate
controller, for unauthenticated display.

The field is intended to be NULL unless unauthenticated access has been
allowed, in which case a value will be set for the access_token.

This could be used e.g. for allowing access to images within mailings,
even when the recipient is not logged in (which is sometimes entirely
impossible, when email providers use restricted proxy servers to
load images)

Note 1: this is still a work-in-progress, but serves to freeze the API.
The implementation of the access check and provisioning of the new
field will be added later.

Note 2: namimg collisions with the file download token prevent the use
of a shorter 'token' parameter for download routes.

Apologies for the late (and incomplete) addition in saas-18 :-/
2017-09-21 23:48:36 +02:00
Olivier Dony bb0404ea30 [IMP] website_mail: simplify helpers for external post
After removing the `sha_in` params a while ago, we get rid of
the deprecated `token_field` option.

- Make `token_field` a model attribute, so that each model can easily
  define the token field that should be used, and it does not need
  to be passed around all the time anymore.

- Rename `_special_access_object()` to `_has_token_access()`, much more
  readable since it returns a bool

- Do not forward the `attachment_ids` keyword arg to message_post,
  as it sometimes contains unrelated IDs (the helper is not meant
  to post attachments anyway)

- Update callers accordingly
2017-09-21 23:42:45 +02:00
Goffin Simon 3a6fb27148 [FIX] account: Register a payment with no sequence for account.payment
Fine tuning of this commit: ce2d00f346

opw:767224
2017-09-21 22:17:51 +02:00
Christophe Simonis 5c51a0ad4d [MERGE] forward port branch saas-17 up to bf4ccb21f6 2017-09-21 18:14:55 +02:00
Christophe Simonis bf4ccb21f6 [MERGE] forward port branch saas-16 up to 88395bdb8e 2017-09-21 17:18:49 +02:00
Yannick Tivisse 8e2d7c2e3c [FIX] hr_expense: Make expense sheet report multi currency coherent
Purpose
=======

Currently, if we want to print an expense report that has several currencies in its expense lines, the total amount is hidden on the report. Otherwise, it is simply summed.

That could lead to confusing uses cases. Example.
1 expense line of 92 dollars.
1 expense report expressed in euros.

In the report we will have
- 1 line of 92 dollars
- Total amount: 92 euros

Which is obviously wrong.

Specification
=============

Always display the amount + Compute the amount in the expense report currency, by converting the amount with the rate at the day the expense has been made.
2017-09-21 16:51:13 +02:00
kujiu (@havelock.kujiu.org) 1fbaa11c6f Revert "Add attributes and elements on XML views' checks to avoid errors with Studio (renamed_field and studio_groups) (#19623)"
This reverts commit fc5d6e1ab9.
2017-09-21 16:40:16 +02:00
kujiu fc5d6e1ab9 Add attributes and elements on XML views' checks to avoid errors with Studio (renamed_field and studio_groups) (#19623) 2017-09-21 16:21:53 +02:00