Commit Graph
97316 Commits
Author SHA1 Message Date
Thibault Delavallée 38b1485d52 [IMP] stock and various: labelling
- delivery: rename cost price to shipper price to ease the understanding.
- product_email_template: fixed space issues in help of email_template_id.
- stock: labelling reordering wizard
- stock_account: labelling (inventory at date) + shorter and cleaner help
messages. The main menu for this wizard has been put in technical group.
- stock_landed_costs: fields labels update
2015-08-24 15:34:19 +02:00
qsm-odoo 98ee61fd73 [FIX] web_kanban: odd/even column color when sorting
The kanban columns color switched when a column was being dragged.
2015-08-24 15:01:10 +02:00
qsm-odoo b904cd876f [FIX] web: FieldRadio without any value
When a FieldRadio had no selected value, a traceback occured when
trying to render the widget in readonly mode.
2015-08-24 15:01:10 +02:00
Cedric Snauwaert 7e45e3a685 [FIX] account: fix qweb template error introduced in commit bfe9d5b747 2015-08-24 13:42:19 +02:00
Aaron Bohy f3f56f6dc9 [FIX] web: typo introduced by 6baf611df1 2015-08-24 12:00:31 +02:00
ssh-odoo 0c0f87bc73 [FIX] l10n_de is back with two seperate modules, one for each coa, compliant with the new accounting 2015-08-24 11:46:59 +02:00
Arthur Maniet f9283a7faa [IMP] account: bank journal name can be inferred from account number 2015-08-24 11:44:32 +02:00
Xavier Morel 3e8727e2aa [FIX] crm_project_issue: one more handrolled ref/xmlid_to_res_id 2015-08-24 11:26:37 +02:00
ssh-odoo 2c48bfe68f [FIX] l10n_cn is back, compliant with the new accounting 2015-08-24 11:24:03 +02:00
Raphael Collet 598acd7d4b [IMP] ir_model: when renaming a column, also rename the corresponding index 2015-08-24 11:10:31 +02:00
Raphael Collet 2d782da436 [FIX] ir_model: make sure registry is consistent after modifying models and fields
First, there is no need to "patch" the registry before setting up models: the
setup of models will rebuild the custom models and fields in registry.

Second, invalidate the registry cache for manual fields after updates.  This
guarantees a clean setup of models after the changes.
2015-08-24 11:10:31 +02:00
Raphael Collet 5bb25b198e [IMP] ir_model: remove unnecessary keys from context, and fix the case that needed it 2015-08-24 11:10:31 +02:00
Thibault Delavallée cae29df7d9 [CLEAN] product and various: light model / code cleaning
Main changes summarized

product
- [REM] weight_net field. Weight net is removed from the product model.
Indeed a product should be modeled without its possible packaging data.
Moreover in the codebase the weight_net field is not really used.
- unused import
- removed _common.py file holding wrappers for tools (rouding and
ceiling), used only once in the codebase

purchase
- unused imports

purchase_requisition
- dead code
- purchase_requisition: from boolean to selection, because V > M

stock
- [REM] qty_available2, logic, loc_rack, loc_row, loc_case fields. location_id
and warehouse_id moved from the product to the template to ease the
configuration.
- [ADD] description_picking field

stock_account
- [REM] date_account field on stock.inventory

misc wording (sale_margin, ...), notably Cost Price renamed to Cost.
2015-08-24 10:46:38 +02:00
pvy a94da27d8e [RM] l10n_be: removed unneeded reports that have been ported to the new engine 2015-08-24 10:35:21 +02:00
Xavier Morel 2e66c489e3 [FIX] manual reimplementations of ref/xmlid_to_\* 2015-08-24 10:31:02 +02:00
rsi-odoo 8dddc02531 [FIX] l10n_ca is back, compliant with the new accounting 2015-08-24 10:22:34 +02:00
cod-odoo 8217c58612 [FIX] l10n_nl is back, compliant with the new accounting 2015-08-24 10:21:31 +02:00
Cedric Snauwaert 7d0f4e4abc [FIX] account: res_config_view, remove empty div that was needed for enterprise version 2015-08-24 10:04:21 +02:00
qdp-odoo fc78b9375d [FIX] account: invoice related usability changes. Add of signed fields to display the residual and total amounts of refunds with a negative sign, fixed the invoiced button on partners, fixed the numbering for refunds 2015-08-22 14:36:00 +02:00
qdp-odoo 701bd2c867 [REF] account_bank_statement_import: minor refactoring on xpath 2015-08-22 14:36:00 +02:00
Fabien Pinckaers bfe9d5b747 [MISC] misv improvements 2015-08-22 11:49:04 +02:00
Fabien Pinckaers 5fe086a520 [IMP] Misc improvements on accouting views 2015-08-22 11:44:17 +02:00
Christophe Matthieu 41e730cbfa [IMP] web_editor: add document into the media editor
User can upload documents and add the link in the page to download it.
2015-08-21 22:06:52 +02:00
Christophe Matthieu 00adbd36ff [IMP] project: remove displayed_image_id on project 2015-08-21 22:06:52 +02:00
Christophe Matthieu d4bae06d08 [IMP] web: use css to display attachment mimetype
Widgets and website display images or display the type with icon like pdf, doc...
2015-08-21 22:06:52 +02:00
Christophe Matthieu 6baf611df1 [IMP] web: create generic controller '/web/content' and '/web/image'
Replace deprecate controllers like /web/binary/image, /web/binary/saveas...
Use ETag for all content with 'unique' option to cache the content if the content is never changed.
2015-08-21 22:06:52 +02:00
odoo-tac 5d2c3ceb02 [FIX] survey : Adding context in create token method to allow overriding in further modules 2015-08-21 17:40:04 +02:00
Arthur Maniet 9a8a140782 [IMP] account: change an account currency along with its journal's 2015-08-21 17:07:22 +02:00
cod-odoo 84ad0849cb [IMP] l10n_ma is back, compliant with the new accounting 2015-08-21 16:53:12 +02:00
Raphael Collet a0fb9d83c7 Revert "[IMP] fields: translated html fields must use xml_translate or a callable"
This reverts commit 75140d7ea1.
2015-08-21 16:44:48 +02:00
Arthur Maniet 857156e33e [FIX] account: set a journal bank_statements_source after it succeeds
When a bank statement acquisition method (file import, plaid, manual encoding)
is used on a journal, it should only be set as the journal's
bank_statements_source after successful completion.
2015-08-21 16:43:25 +02:00
Thibault Delavallée 3a4848e3a9 [FIX] mail: followers widget
id of the partner / channel is now res_id. id is the id of the follower
entry itself.
2015-08-21 16:37:20 +02:00
Christophe Matthieu f434c475d4 [FIX] web_editor: can't save backend translation with field html 2015-08-21 16:15:02 +02:00
Damien Bouvy b1f36fd81e [FIX] account: remove duplicate file
probably introduced in a rebase or something; not imported anywhere anyway
2015-08-21 16:04:23 +02:00
Martin Trigaux 86384800a5 [FIX] base: help message of an action as html
Convert help field on an ir.action to html as it was already used do display
html messages.
Converting it to html allows to benefit from changes made at 75140d7e for better
translation of help message.
2015-08-21 15:59:22 +02:00
Martin Trigaux 59452e4e1a [IMP] base_action_rule: missing _description 2015-08-21 15:59:22 +02:00
Raphael Collet 5022891091 [IMP] api: make Environment implement the a mapping API {model_name: model} 2015-08-21 15:40:41 +02:00
Raphael Collet 75140d7ea1 [IMP] fields: translated html fields must use xml_translate or a callable 2015-08-21 15:39:53 +02:00
Raphael Collet def2527395 [IMP] res_users: force update on groups inside user form view 2015-08-21 14:35:54 +02:00
Raphael Collet f84c375cfc [FIX] res_users: do not update a view arch with user language in context 2015-08-21 14:35:54 +02:00
qsm-odoo 99faa6addd [FIX] web: M2ODialog, adaptation to new Dialog API
(backport from the enterprise version)
The M2ODialog still used the old Dialog API.
2015-08-21 14:31:11 +02:00
qsm-odoo 2a3f359ae8 [REF] * : Remove oe_left of oe_title & oe_avatar
LESS rules (enterprise compatibility) :
* .oe_avatar is float:left by default
* .oe_title is placed between oe_avatar/oe_button_box if any
without the need to make it float
2015-08-21 14:31:11 +02:00
Cedric Snauwaert cb1ce61c84 [ADD] account: add a popover with payment details and action on invoice 2015-08-21 14:06:15 +02:00
Xavier Morel 2ea5c3aeef [IMP] restrict modules to system_group
* listing of modules in website already bypassed session user
* altered authenticated endpoint so it does the same
* sudoed a few read accesses & name_get in groups
* other accesses are list/form views, menu only accessible to
  system_user
* new-API-ified some calls & unified listing of installed modules
2015-08-21 12:59:06 +02:00
Géry Debongnie 3c4f88b30a [IMP] web: increase tooltip delay timer
from 500 to 1000, as requested by fp
2015-08-21 12:17:15 +02:00
Thibault Delavallée 88b8cd0587 [REF] mail: model update for NewChatter
Main changes :
- mail.notification model is removed. People do not receive notifications
anymore. Instead two ways of following documents exist
  - using a channel; messages will be displayed on the channel itself
  in a near future commit
  - following with its partner; messages will all be considered as
  needaction, using a new m2m table. People should receive less
  needaction messages by following less records by themselves.
There is no more read / unread state anymore. Instead only needaction
messages are considered. Todo (Favorites) messages still exist, and are
stores on a new m2m table instead of using decorated notifciations.
- the main filter for documents is not message_unread anymore, but
message_needaction. A lot of views and filters have been updated
accordingly.
- the vote feature has been removed
2015-08-21 12:11:56 +02:00
Thibault Delavallée c02982b4c4 [REF] mail: mail_channel update
Some features from live_chat have been moved to the mail module :
- channels now have members, replacing followers;
- a decorated m2m is used to link channels and members. It stores the last
seen message on the channel for a specific partner;
- channels do not create menu entries anymore, because the
NewChatter will have its own display and use of channels;
- access rights have been updated accordingly, using members instead of
followers
2015-08-21 12:11:56 +02:00
Thibault Delavallée e6f038a821 [REF] mail: mail_thread: followers update
Followers can now be partners or channels. Partners following a document
will receive needaction, as previously. However people can follow documents
through channels. Members of a channel are able to listen to a stream
of messages using the channel. Those messages do not create needaction
messages. It is therefore possible to follow documents without receiving
too much notifications. For interesting documents subscribing with its
partner will create notification.

message_follower_ids fields is udpated. It is now a many2many to
mail.followers, not to res.partner anymore. A subscription can be either
a partner (partner_id) or a channel (channel_id).

Some access rules have been updated accordingly.
2015-08-21 12:11:56 +02:00
Thibault Delavallée 098fcb7e4e [MOV] mail: move code for email notification
Move the notification management from mail.notification to res.partner model.
Those methods belong more to the partner model, as they work on partners.
Moreover with the upcoming new model for NewChatter notification will be
heavily refactored.
2015-08-21 12:11:55 +02:00
Yannick Tivisse 1617db3337 [IMP] Modules list reorganization to correspond with the app switcher. 2015-08-21 10:44:51 +02:00