Commit Graph
99161 Commits
Author SHA1 Message Date
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
Denis Ledoux 772112e8d0 [FIX] stock: warehouse rename with missing operation types
It wasn't possible to rename a warehouse if one
of its picking types (except `In Type`) was
not set

opw-647815
2015-08-24 10:15:20 +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
Goffin Simon 256978195b [FIX] website_mail: action_edit_html
Introduced by 9abf7a2010
When clicking on the many2one edition button of the field "email_registration_id"  in the
"event.event" view form, the return action id was not available in the action.

closes #8147
opw:647698
2015-08-24 09:11:00 +02:00
Odoo Translation Bot 99931637d5 [I18N] Update translation terms from Transifex 2015-08-23 01:51:13 +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
Christophe Simonis 7bc53eeb49 [FIX] purchase: typo introduced in b2062df
I should learn how to spell "procurement"
2015-08-21 17:29:05 +02:00
Josse Colpaert 7d2223da08 [FIX] stock: Report stock level forecast correction
Should take minimum id instead of max and different
ids for stock moves and quants.

The report was by day and the view by week, which
gave wrong results for the cumulative quantity
when having multiple values in a week (as it was summing them)
We changed the SQL view to be by week also.

Expected dates in the past are all reduced to the current date.
2015-08-21 17:25:53 +02:00
Arthur Maniet 9a8a140782 [IMP] account: change an account currency along with its journal's 2015-08-21 17:07:22 +02:00
Christophe Simonis b2062df319 [MERGE] forward port of branch 8.0 up to 86f98d5 2015-08-21 17:01:17 +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 Simonis 86f98d5144 [MERGE] forward port of branch saas-3 up to 04e1318 2015-08-21 16:18: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
Christophe Simonis 04e13180c9 [MERGE] forward port of branch 7.0 up to 607114f 2015-08-21 16:08:27 +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
Christophe Matthieu ee0fd9765e [IMP] website: add on_select on Theme object
Called by click or changes with enable or disable.
Called only one time by selection.
Receive all changed inputs.
For e.g.: allow to the designer to use this method to open modal or other option.
2015-08-21 16:01:00 +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
Christophe Matthieu 86696c3d70 [FIX] website: can't add a slide in banner 2015-08-21 15:58:53 +02:00
Christophe Matthieu 394a0c8bb4 [FIX] website: two sliders or galleries can have the same id
(because the user can edit separate part like footer or using versioning)
2015-08-21 15:58:53 +02:00
Christophe Matthieu a38e5bee18 [FIX] website: zero index for snippet gallery 2015-08-21 15:58:53 +02:00
Nicolas Lempereur 57c00ebea5 [FIX] website: escape when in a modal don't close editor
When a bootstrap modal is closed via the escape key, the editor would
snatch this keydown event and think we want to stop the editing.
2015-08-21 15:58:52 +02:00
Nicolas Lempereur ca9f0f283b [FIX] website: remove remnants of video autoplay
Video autoplay was removed in commit 9069d0 (december 2014) but there
was still two needless references.
2015-08-21 15:58:52 +02:00
Nicolas Lempereur 0ddb68be81 [FIX] website: manage css margin for resizing
In some case margin could be applied via CSS and not via mb* classes
(e.g several themes with different aspects but a shared snippet). This
commit allow this if custom CSS margin matches a CSS mb* class value
(currently 0, 4, 8, 16, 32, 48, 92 and 128).
2015-08-21 15:58:52 +02:00
Nicolas Lempereur 681195a53e [FIX] website: edge case for slider background
Update the snippet option background "target" and cached
"background data" each time another slide is shown.
2015-08-21 15:58:52 +02:00
Nicolas Lempereur 0934fcc9ad [FIX] website: improve font awesome icons
* don't duplicate fa classes needlessly,
* keep img-* classes which may be used on icons with a background,
* copy overlay when we transform a tag to a span
2015-08-21 15:58:52 +02:00
Nicolas Lempereur b35b21402e summernote: Fix script error when last undo.
from https://github.com/summernote/summernote/commit/715fec370
2015-08-21 15:58:52 +02:00
Nicolas Lempereur 43d378f2e8 summernote: add hasUndo and hasRedo method for pre/next buttons
Since the stack offset of the editing history is hidden, it was not
possible to have next (CTRL+Y) and previous (CTRL+Z) buttons.
2015-08-21 15:58:52 +02:00
Christophe Matthieu f52c046afe [FIX] website: snippet editor call on_clone & on_remove on children 2015-08-21 15:58:52 +02:00
Christophe Matthieu 0c1f6f7092 [FIX] website: double enter in blockquote & pre = new line outside 2015-08-21 15:58:52 +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