Commit Graph
97874 Commits
Author SHA1 Message Date
Damien Bouvy f341ca62ab [IMP] website_payment: generic payment controller
- generate payment from the frontend using a simple form
- send a payment with a simple url
- define a default provider for payments
2015-09-04 16:08:22 +02:00
Damien Bouvy f8a98d977e [IMP] payment: usability improvements
- general:
    - add payment.method and payment.transaction menu in invoicing
- payment.acquirer:
    - add image field
    - add stat button to see payment.transaction objects
- payment.transaction:
    - language field is now a selection instead of a char
    - rename s2s_cb_eval field in callback_eval
    - form view cleaning
    - on_change_partner_id now fills in the partner details
    - add an ir.sequence for transaction name
    - add a many2one to payment.method
    - country defaults to the country of the company
- payment.method:
    - add a one2many to payment.transaction
    - add a stat button to see payment.transaction objects

[IMP] website_quote: rename s2s_cb_eval payment.transaction field to callback_eval

[IMP] payment_* (all providers): add image data and rename s2s_cb_eval field to callback_eval
2015-09-04 16:08:21 +02:00
Jérome Maes 4bdfa3b6ca [IMP] mail : invite follower wizard have 2 appearances
The wizard is the same object, but to add channel as follower, some fields was not required. Via the 'mail_invite_follower_channel_only' context key, the unrelevant fields are hidden.
2015-09-04 15:55:46 +02:00
Jérome Maes 7674536713 [IMP] mail : message_post_with_template helper
Create `message_post_with_template` helper method to factorize the simulation of a mail.compose.message wizard.

Also, fix the generated attachments of mail.compose.message wizard by returning ORM command (6, 0, ids) instead of the list of attachments ids. In order to standardize the behavior of the wizard, and since the ORM support command assignation in onchange api.v8, all the x2many fields of the wizard return a command.

FYI, that was tde's idea !
2015-09-04 15:55:38 +02:00
Darshan Kalola 5f8663cdb6 [FIX]point_of_sale: fix the issue wrong invoice total when create the invoice from pos order form 2015-09-04 15:16:35 +02:00
Nicolas Lempereur bc8e91b2aa [FIX] web_editor: update .o_form_field_empty when loaded 2015-09-04 14:45:14 +02:00
rsi-odoo c858722949 [FIX] l10n_de, l10n_de_skr03, l10n_de_skr04: add new tags for taxes in l10n_de
that are used in l10n_de_skr03 and l10n_de_skr04 modules for enterprise report
2015-09-04 13:34:03 +02:00
Parth Gajjar c6a0af45ef [ADD] web_settings_dashboard: Settings Dashboard 2015-09-04 13:03:21 +02:00
Xavier Morel bd0c6a2b24 [FIX] website_crm and website_hr_recruitment tours
* run tours as public users since these screens should be accessible to
  and used by public users
* fix access rights issues in website_crm tour (default value of team_id
  when creating a crm.lead requiring read access on crm.team, which the
  public user does not have)
* remove duplicated crm.lead field (phone declared as char(size=64) then
  as char() a few lines below, removed first instance)
2015-09-04 12:59:27 +02:00
Xavier Morel 4d44b33ffe [IMP] crm & hr_recruitment tours: remove unnecessary tours
To check for result of a tour, would run a second tour performing
JSON-RPC calls to check if the first tour had correctly impacted the
database.

Tours are expensive, an empty tour takes ~6s without doing anything.

Replace second tour by regular ORM calls.
2015-09-04 12:59:27 +02:00
Fabien Pinckaers 3658a894bc [IMP] modules description, no external link 2015-09-04 11:59:55 +02:00
Damien Bouvy c1fdede6aa [IMP] sale, sale_timsheet, sale_service: create analytic account when adding lines that need it even after SO validation 2015-09-04 11:54:37 +02:00
Nicolas Lempereur a134c88d00 [FIX] web_editor: do paste after removing selection 2015-09-04 11:54:05 +02:00
rsi-odoo 65585c7589 [FIX] l10n_uk: fix taxes and tags 2015-09-04 11:48:13 +02:00
Christophe Matthieu bd3fa786b0 [FIX] base: remove wrong line, template must keep all generated css files 2015-09-04 10:32:57 +02:00
Yannick Tivisse 152325e7b1 [IMP] Still placeholders, labels are back
fp request
2015-09-04 10:28:44 +02:00
qsm-odoo fcf9c0c4c9 [FIX] web_kanban: many2many_kanban, crash on record creation
When creating a record from a many2many_kanban, it did not contain all
the data the kanban view asked to render itself. This fix extends the
record data with undefined value for unknown (but asked) data.
2015-09-04 09:15:56 +02:00
qsm-odoo 4cb0a3584a [FIX/REF] hr_timesheet_sheet: broken WeeklyTimesheet FormWidget
The FormWidget "WeeklyTimesheet" was broken since the changes in the
account.analytic.line model and onchange API.

+ Some refactoring of the JS code
2015-09-04 09:15:56 +02:00
Christophe Matthieu 38d7e563aa [IMP] base: add public field on attachment 2015-09-03 19:31:01 +02:00
Christophe Matthieu 522fcacb21 [IMP] base: assets now directly use /web/content url 2015-09-03 19:31:00 +02:00
Christophe Matthieu 952b03e32d [IMP] web: boot.js display the log only on error or with the debug mode 2015-09-03 19:31:00 +02:00
Fabien Pinckaers 207f863d33 [IMP] oe_readlony --> oe_edit_only: once you click done/cancel, you have to set and change the next action. So, it has no sense in non edit mode 2015-09-03 18:16:51 +02:00
Simon Lejeune 30e07438b5 [FIX] web: view manager: sanitize type
by ignoring the views which types aren't in the view registry
2015-09-03 18:05:19 +02:00
Simon Lejeune 1962fe73ed [FIX] mrp, mrp_operations: reintroduce gantt views 2015-09-03 18:04:33 +02:00
Aaron Bohy 2f125cd936 [FIX] mail: followers: correctly redirect to partner form view 2015-09-03 16:31:20 +02:00
Yannick Tivisse c42c752b04 [IMP] mail: Improve the mail.channel helper to be more convenient for end-users 2015-09-03 16:20:04 +02:00
Christophe Matthieu c239616164 [FIX] base: add missing is_company field in view_partner_simple_form
parent_id field in the view need is_company to compute invisible domain
2015-09-03 16:11:44 +02:00
Yannick Tivisse c9f497e046 [IMP] Replace labels by placeholders in some form titles
Impacted modules : event, gamification, hr, hr_equipment, hr_timesheet_sheet
                   mass_mailing, product, survey
2015-09-03 15:45:48 +02:00
Yannick Tivisse 020426ec68 [IMP] crm: Hide 'Done' and 'Cancel' button for Next Actions in edit mode
This was confusing because some users were clicking on it in edit mode, the selection
was disappearing and logged in the chatter, when the user didn't know what happened
2015-09-03 15:45:48 +02:00
pvy 5e00141582 [FIX] l10n_fr: some tags were wrong; needed to change them for the enterprise tax report for l10n_fr to work 2015-09-03 15:23:23 +02:00
Raphael Collet dafbdb276b [IMP] ir_model: add documentation for computed fields in form view 2015-09-03 15:07:04 +02:00
Raphael Collet 4a60a3f942 [IMP] ir_model: improve form view of ir.model.fields 2015-09-03 14:31:00 +02:00
Raphael Collet 9558dc409b [ADD] ir_model: add compute and depends on custom fields 2015-09-03 14:31:00 +02:00
Raphael Collet 7812397d57 [IMP] ir_model: by default, related fields are readonly and not copied 2015-09-03 14:31:00 +02:00
Simon Lejeune e374844808 [REM] web_gantt 2015-09-03 13:35:31 +02:00
Nicolas Martinelli e4d14110ad [ADD] purchase: auto add partner to vendors
If a product has no vendor, the partner of the PO will be added as a
vendor for the product during the confirmation of the PO.
2015-09-03 13:15:16 +02:00
Nicolas Martinelli 3f48d2b6c4 [ADD] purchase: add the two-step validation process
Two-step validation process is set up at the level of the company.
2015-09-03 13:15:16 +02:00
Yannick Tivisse e87144b255 [IMP] project: improve tests to consider a task created in a project with and without stages 2015-09-03 13:11:19 +02:00
Yannick Tivisse a10ae1bfb8 [FIX] web_kanban: crash on project kanban loading if a task in in undefined stage
kanban_normal cannot be loaded on the js side because 'Undefined' is not a stage,
which was leading to an rpc call with null id
2015-09-03 13:11:19 +02:00
Yannick Tivisse e404528c15 [IMP] Project: No default stage 2015-09-03 13:11:19 +02:00
Xavier Morel ec2d1f9f1d [IMP] sale_mrp: remove stray print in a test
also modernificate code a bit using set literals and set
comprehensions.
2015-09-03 12:45:39 +02:00
Arthur Maniet cdb30b507a [ADD] stock_barcode: field widget with barcodes scan + manual input
Barcodes are detected by catching keypresses. When a keypress is not
part of a barcode, it is 'released' by forging a keypress event.
For security reasons, a non-native keypress doesn't trigger the native
input mechanism. So in order to make both barcode-scanning and manual
keypresses work in a field, it is necessary to have a handler listen
to the 'false' keypresses and simulate the native input behaviour.
2015-09-03 11:23:38 +02:00
Arthur Maniet 27e237346d [IMP] barcodes: BarcodeEvents uses reserved barcodes prefixes
Export a list of barcodes prefixes used for software functionss
2015-09-03 11:11:56 +02:00
Raphael Collet dce836c3aa [FIX] project: move kanban_state outside of button box 2015-09-03 10:27:19 +02:00
Nicolas Lempereur c32ea33632 [FIX] web_editor, translate: xml translate encoding
lxml.HTMLParser detect the content encoding by itself if not specified.

in the issue leading to this fix, content in a mail with u'\xa4'
( ) was transformed intto u'\xc2\xa4' ( ) since HTMLParser
selected the wrong encoding (latin-1 instead of utf-8 for example).

this commit specify the known encoding and revert 3d00c210f which was
another attempt at this issue.
2015-09-03 10:21:20 +02:00
Cedric Snauwaert e6b7be9bab [FIX] account dashboard: small template mistake
link in dashboard should not look like a button + remove <br/> between link for better aesthetic purpose
2015-09-03 09:59:06 +02:00
Nicolas Martinelli ffa4027a4e [FIX] purchase: _get_name_price_quantity_date takes date string 2015-09-02 19:35:12 +02:00
Nicolas Martinelli 834721e708 [FIX] product: context in _select_seller
It should contain 'partner_id' instead of 'partner' as it was the case
previously
2015-09-02 19:35:12 +02:00
Nicolas Martinelli bc1663ff53 [FIX] purchase: remove double validation from config 2015-09-02 19:35:12 +02:00
Cedric Snauwaert 9e2077480c [FIX] account: change the default CTA in dashboard to show reconciliation action in priority 2015-09-02 16:27:38 +02:00