Commit Graph
112683 Commits
Author SHA1 Message Date
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
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
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
Raphael Collet c6b184bb23 [FIX] fields: optimize many2many command (6, 0, ids) on new records
The command does not need to remove existing relations, as there is no relation
yet on new records.  This saves one query per many2many field with that command
in a `create`.
2017-09-21 16:10:13 +02:00
Raphael Collet 59a8234fbc [FIX] mail performance: avoid useless queries
Avoid making queries that are known to return empty recordsets, and do not
format messages to be notified on no channel.
2017-09-21 16:10:13 +02:00
Raphael Collet c21fed6ea4 [FIX] performance: use IrModel._get instead of search 2017-09-21 16:10:13 +02:00
qsm-odoo 0b5087011b [FIX] hr_attendance: use correct appswitcher background
See https://github.com/odoo/enterprise/commit/7d48e44a88cc54ddba0fa98e5ba914aaeb54c9b7
2017-09-21 16:05:31 +02:00
Christophe Simonis 88395bdb8e [MERGE] forward port branch saas-15 up to 3ad3b34df6 2017-09-21 16:00:27 +02:00
ppr-odoo d7b073d427 [FIX] base_setup,stock: Rename 'Multi-Companies' into 'Multi-Company'
As well as 'Inter-Companies' into 'Inter-Company'
2017-09-21 15:41:06 +02:00
qdp-odoo 09d3b269a3 [FIX] account: fixed sale/purchase journal traceback 2017-09-21 15:29:08 +02:00
Christophe Simonis 3ad3b34df6 [MERGE] forward port branch saas-14 up to 537d1ec0d2 2017-09-21 15:08:34 +02:00
qsm-odoo b51b0d66c2 [FIX] web: open domain selector's datepicker at the right position
Before this commit, and since the combination of new views + datepicker
library update, the datepicker opened at the top left of the window
when using it in a domain selector. It also could not be used at all.

This was because the current scenario occured:
1) Click on the datepicker
2) The datepicker triggers that it has changed on opening
3) The whole domain selector is rerendered
4) The datepicker computes where it should open... on basis of the
   old destroyed domain selector

As the main cause of the problem here was the (2), this commit changes
the datepicker odoo widget to only notifies that it has changed when it
has really changed.
2017-09-21 14:51:12 +02:00
qdp-odoo 9ded3765bb [FIX] account_voucher: default account should be payable/receivable 2017-09-21 14:40:34 +02:00
amoyaux a2ade50fd7 [FIX] stock: quantity done not invisible with show_operations
Quantity done should be readonly but not invisible when the user
uses the details operation view and work on directly on move lines
2017-09-21 14:02:47 +02:00
Christophe Simonis 537d1ec0d2 [MERGE] forward port branch 10.0 up to e245135421 2017-09-21 14:01:41 +02:00
Christophe Simonis e245135421 [MERGE] forward port branch 9.0 up to d53a201987 2017-09-21 13:55:52 +02:00
Christophe Simonis d53a201987 [MERGE] forward port branch saas-6 up to 43a47dbc93 2017-09-21 13:51:19 +02:00
qdp-odoo 00d2dde537 [FIX] account: default journal base on company
In multi-company environments the default journal wasn't taking in consideration the user's company. PR . #19618
2017-09-21 13:51:08 +02:00
axj-odoo 6d373b109d [FIX] report_intrastat: removed create button in kanban view
PR #19292
2017-09-21 13:47:57 +02:00
Hetashree Chauhan 83f4e72f04 [FIX] purchase: Import res_config_settings.py after res_company.py
Purpose
=======

Steps :
- Blank DB (without demo)
- Install inventory, Sales
- Create some products + update qty + activate serial number from setting and create some products (I tried this step and faced traceback)
- Now try to install Purchase app
It gives traceback..

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

As the field po_lock is defined on the res_company and a related field is defined on the res_config_settings.py file, modify the import order.

change the position of res.company file, so that fields of po_lock will define first and then it will not generate field's error in res.config.settings file.
2017-09-21 13:33:04 +02:00
Christophe Simonis 43a47dbc93 [MERGE] forward port branch 8.0 up to 35441cfd62 2017-09-21 13:25:42 +02:00
Haresh Shyara 5b216c03c1 [FIX] account: wrong default journal on vendor credit note 2017-09-21 12:01:51 +02:00
qdp-odoo 0267b0ac50 [FIX] account: generate accounts with group_id set 2017-09-21 11:45:19 +02:00
Géry Debongnie bd113d0709 [FIX] web: properly destroy field widgets in some cases
Before this commit, the web client did not properly destroy field
widgets when updating a one2many after an onchange.  This is rarely an
issue, because in general, there are no other field widgets besides the
row currently in edition.  However, if we specify explicitely a widget,
or if we use a custom widget, it may be a problem.
2017-09-21 10:55:09 +02:00
Aaron Bohy a8bc2a8bf8 [FIX] web: several minor issues with editable list
- correctly update the pager when a record is added or removed
- destroy the widgets of the removed row when the user clicks on
  'Cancel' when creating a new record
- ensure that the list always contains 4 rows (before this rev.,
  in list views with less than 4 records,   if the user created a
  new record, then clicked on 'Discard', there were only 3 rows
  left
- properly destroy field widgets when removed from the DOM

Note that the change of parent.parentID to parent.static is not a
bug fix, but it's better to use the key that indicates the type of
list element, instead of implying it from other attributes.
2017-09-21 10:55:09 +02:00
Pierre Masereel 332eb431c5 [FIX] mrp: don't show lines of serial with qty_done set
When you open the produce wizard, see all the move lines for a product
to consume with a serial number, we should only see the ones that have
not been already process.
2017-09-21 10:46:13 +02:00