100 Commits
Author SHA1 Message Date
Antony Lesuisse cec482878e [IMP] payment: fix payment icon sequence
This commit adds payment icon sequence to display the icon in a more
famous-more visible order.

task-2685160

X-original-commit: d11ff9eda43c390f584a148a956f7bc505007765
Part-of: odoo/odoo#84639
2022-02-15 16:51:24 +00:00
1c522ee778 [ADD] odoo-bin cloc cli subcommand.
Odoo cloc is a tool to count the number of relevant lines written in Python,
Javascript or XML. This can be used as rough metric for pricing maintenance of
customizations.

It has two modes of operation, either by providing a path:

    odoo-bin cloc -p module_path

Or by providing the name of a database:

    odoo-bin cloc --addons-path=dirs -d database

In the latter mode, only the custom code is accounted for.
Both modes can be used simultaneously.

Files that cannot be parsed are shown at the end of the report.
Parsing can fail due to syntax errors or excessive file size.

closes odoo/odoo#52635

X-original-commit: ae858c3ac66267b4726db459032b91a6be1cc1d6
Related: odoo/enterprise#11018
Signed-off-by: Olivier Dony (odo) <odo@openerp.com>
Co-authored-by: Thibault Francois <tfr@odoo.com>
Co-authored-by: Antoine Vandevenne (anv) <anv@odoo.com>
2020-06-09 00:30:55 +00:00
Antony Lesuisse 4ddce229c4 [IMP] l10n_generic_coa: improve chart
Renamed xml ids of the main accounts (in prepartion for a future multi l10n
demo system). Change account numbering to match quickbook and other US GAAP
convention and recommendations.

closes odoo/odoo#37606

Signed-off-by: oco-odoo <oco-odoo@users.noreply.github.com>
2019-10-01 13:09:50 +00:00
Antony Lesuisse 0af56a4364 [IMP] base: default name for ir.actions.act_window
Take the name of the model if no name is set for an action

closes odoo/odoo#29027
2018-11-29 09:06:33 +00:00
Antony Lesuisse a171694644 [FIX] web: datababase manager add privacy policy link 2018-10-01 18:08:50 +02:00
Antony Lesuisse 2870af948e [MOV] account_budget: move to enterprise 2018-10-01 16:38:00 +02:00
Antony Lesuisse 2e63ead842 [MOV] account_asset: move to enterprise 2018-10-01 16:38:00 +02:00
Antony Lesuisse 62644f93fe [IMP] base: onboarding prefill email in company data 2018-10-01 16:38:00 +02:00
Antony Lesuisse 192c56b48a [FIX] mail: Hide system update notification cron
Reducing the possiblity of enterprise users of locking themselves.
2018-10-01 16:38:00 +02:00
Antony Lesuisse e51b4f659f [REM] account: Remove deprecated pdf reports 2018-10-01 16:37:59 +02:00
Antony Lesuisse 837c738d8b [FIX] mail_bot: Merge OdooBot and System
As we want that operations done by the system such as reordering rules be done
by him.
2018-10-01 16:37:59 +02:00
Antony Lesuisse a6e1eb9f0a [ADD] partner_autocomplete: Added autocomplete on partners fields
For Name field or M2O, gives a list of companies
Data comes from Odoo IAP Service
2018-09-21 14:02:22 +02:00
Antony Lesuisse 99ec0c147d [MOV] partner_autocomplete: move pot from base_vat_autocomplete 2018-09-21 13:53:11 +02:00
Antony Lesuisse 0abae675e8 [FIX] base: improve rtlcss warning message with instructions 2018-09-12 13:04:21 +02:00
Antony Lesuisse c25b88bd4e [IMP] mail: odoo-mailgate.py script
This replace the antiquated openerp_mailgate script.

This version only supports mail.alias, direct model support is deprecated.

Error handling is based on exit status code which will cause a bounced mail
to be generated by the mail server, that bounced mail will containt a nicely
formatted traceback to help debugging.
2018-08-20 06:17:02 +02:00
Xavier Alt 21b2617d6f [FIX] account: show statement line info popover on reconciliation widget
This popover is the only way to get extra information like the note or the reference of the bank statement line.

Was PR #25543
2018-07-02 09:40:45 +02:00
Antony Lesuisse cd48a806ac [ADD] sms: sms gateway using iap 2017-10-04 20:22:22 +02:00
Antony Lesuisse 6b22476e20 [ADD] iap: In app purchase
IAP allow app publishers to charge for ongoing services. In that context, Odoo
acts mostly as a payment platform between the service user (client) and the service
provider (Odoo App developer).
2017-10-04 20:22:22 +02:00
Antony Lesuisse 5a18f30da5 [MERGE] portal website_project: portal from backend to frontend.
Move the portal features of project to website_project to display tasks in the
website portal.

Add website_project_timesheet to display timesheets on website_project tasks.

Remove all menuitems related to the backend portal as the frontend portal now
provides all the models.

Original authors: Vipul Bhatt, Florian Wintjens
2016-07-06 01:26:15 +02:00
Antony Lesuisse ecd58457ed [REM] portal: backend menuitems
Remove all backend menuitems related to portal, as the supported portal
mecanism is now throught the website_portal My Account page.

Original authors: Vipul Bhatt, Florian Wintjens
2016-07-06 01:17:43 +02:00
Antony Lesuisse 4d3114825a [ADD] website_project_timesheet: Timesheet on Tasks in website portal.
Show the timesheets (account.analytic.line) recorded on a task in the website
portal.

website_project_issue_sheet: once a timesheet can be read, use sudo to read the
name of the responsible as portal users might not have the right to read users.

Original authors: Vipul Bhatt, Florian Wintjens
2016-07-06 01:17:43 +02:00
Antony Lesuisse 30bc0ee076 [IMP] website_project_issue: Portal access to Issues
Move portal features (mainly ir.rule) from project_issue to
website_project_issue.

Remove backend menu item, issues should be accessed from the website_portal My
account page, the backend portal menuitem is removed.

Add the dependency on website_portal to display the issue count on projects.

Original authors: Vipul Bhatt, Florian Wintjens
2016-07-06 01:17:43 +02:00
Antony Lesuisse ccf606e026 [ADD] website_project: Portal access to Projects
Split project to move portal features to a new module named website_project.

Portal users may now access their projects and tasks throught the
website_portal My account page. The Backend portal menuitem is removed.

Simplify the privacy settings of project, to be visible to portal users the
project must be in 'portal' mode.

Original authors: Vipul Bhatt, Florian Wintjens
2016-07-06 01:17:43 +02:00
Antony Lesuisse 0c1c1f60b6 [FIX] Stock allow barcode input on stock.picking o2m kanban 2016-03-17 09:40:11 +01:00
Antony Lesuisse e1020e9a3f [IMP] hr_timesheet is now based on projects and tasks 2016-02-18 02:21:57 +01:00
Antony Lesuisse 8c6ab96f53 [REM] project_timesheet: moved to hr_timesheet 2016-02-18 01:35:06 +01:00
Xavier ALT 2f35c40714 [FIX] web_calendar: date/datetime fields format in calendar views
As everywhere else, dates & datetimes must be formatted according
to the format defined in the `res.lang` of the user, and within
the timezone of the user.

Before this revision, when adding a datetime field to a calendar view,
the raw value of the date was displayed, for instance:
`2015-01-01 10:00:00`
instead of
`01/01/2015 11:00:00`
for a user in English(US), in UTC +1.

fixes #5324
opw-653625
2015-11-04 12:47:28 +01:00
Antony Lesuisse 13c7532b03 [FIX] ir_autovacuum: lower frequency to once a day 2015-10-02 00:08:04 +02:00
Antony Lesuisse ed1bbbb8d0 [IMP] enterprise settings 2015-10-01 09:06:33 +02:00
Antony Lesuisse c16f65b1dc [CLA] update mailmap 2015-09-08 15:45:09 +02:00
Antony Lesuisse a83264be8b [FIX] web: handle delete m2m command in list views 2015-08-28 19:31:33 +02:00
Antony Lesuisse 846e206182 [REM] inter_company_rules moved to enteprise 2015-08-28 16:56:04 +02:00
Antony Lesuisse cd53cea32b [REM] website_crm_score: moved to enterprise 2015-08-28 16:49:46 +02:00
Antony Lesuisse a11bab1226 [REM] website_version: moved to enterprise 2015-08-28 16:39:17 +02:00
Antony Lesuisse 9f1cb9ed97 [REM] pos_loyalty: moved to enterprise 2015-08-28 16:31:04 +02:00
Antony Lesuisse 97cc5b4dc5 [FIX] hr: more hr.config.settings removal
hr.config.settings was still inherited in python by hr_timesheet_sheet
2015-08-26 22:03:45 +02:00
Antony Lesuisse 2fbb0fe5d8 [REM] hr_evaluation: deprecated by hr_appraisal 2015-08-26 17:51:14 +02:00
Antony Lesuisse 37053a407c [REM] hr: unused and deprecated res.config 2015-08-26 17:49:07 +02:00
Antony Lesuisse 4feb82dd49 [REM] website: kanban helper
website_project has been removed and this helper is now useless.
2015-08-14 13:33:31 +02:00
Antony Lesuisse 3286dc2ec7 [MERGE] project_issue: website portal
- Remove portal_project move rules to project
- Add issues in the /my/home frontend portal
- Remove website_project, task access is backend only
2015-08-14 13:19:31 +02:00
Antony Lesuisse e248886e5e [MERGE] split website_portal and generic chatter template
- website_portal define a basic /my/home controller
- website_portal_sale extend it to display orders
- website_mail add a generic template to display chatter and post messages on pages
2015-08-07 02:14:35 +02:00
Antony Lesuisse 1e90257e58 [IMP] tags: add unique constraints
- remove tags translatability
- add unique constraints
- res.partner.category is kept until we remove the parent_store test.
- hr remove tag parenthood
- hr remove unsed views and menu
2015-08-07 00:51:14 +02:00
Antony Lesuisse 4cfa5c1a68 [FIX] calendar: remove useless code for virtual ids
- remove rml report service virtual id support
- remove useless ir.model wrapper ir.model has never used virtuel ids even in
  2009
2015-08-06 23:37:41 +02:00
Antony Lesuisse 4a3a3e5f3a [FIX] payment: Move website_published field to website_payment
We have to keep website_published defined in payemnt so that demo data publish
only payment_transfer for the website_sale tour.
2015-08-06 00:14:24 +02:00
Antony Lesuisse a7dee722cc [IMP] payment: acquirer from view
- Split credentials from technical configuation moved to technical feature.
- Fix website_published button
2015-08-04 21:34:13 +02:00
Antony Lesuisse b4f7288193 [REM] test: phantom_jsfile method
deprecate phantom_jsfile method, keeping only phantom_js, phantom_js takes a
code argument to run client side only.

Removing phantom_jsfile will allow to switch from phantom to any other engine
such as running google chrome or firefox directly. The only use of
phantom_jsfile was an example.
2015-08-02 14:37:19 +02:00
Antony Lesuisse e7e452f38c [IMP] ir.ui.menu more cleanups
- remove deprecated tree_but_open ir.values
- remove magic ir_ui_menu delete at loading
- remove unused icon and web_icon_hover
2015-08-02 14:10:24 +02:00
Antony Lesuisse bf579ae460 [IMP] website_blog: add atom feeds 2015-08-02 00:45:02 +02:00
Antony Lesuisse 6933532778 [FIX] web: database manager create error
login was left out when refactoring the branch. It's has been hardcoded as
admin in the final version to minimize the number of inputs.
2015-08-01 19:39:48 +02:00
Antony Lesuisse 746046b9ea [REM] web_tests_demo: useless example module 2015-08-01 19:12:18 +02:00
Antony Lesuisse 6426648cee [REM] web_api: deprecated example module 2015-08-01 19:11:42 +02:00
Antony Lesuisse 46652b0ba5 [REM] remove ean13 only barcode code
Barcode fields now allows all formats. EAN13 doesnt need to be used unless you
have an official GS1 prefix.
2015-08-01 18:52:21 +02:00
Antony Lesuisse 1bf0166afe [MERGE] web: database manager and login 2015-08-01 18:43:43 +02:00
Antony Lesuisse cd5444a16d [IMP] web: login page cleanups
- fix html and css layout using only pure bootstrap
- replace db selection by a link to the database selector
- reorder templates
- remove unused templates
2015-08-01 18:06:45 +02:00
Antony Lesuisse 3cba55d7a7 [IMP] web: web 1.0 database manager
Implement the database manager with plain HTML forms and HTTP controllers.
2015-08-01 18:04:14 +02:00
Antony Lesuisse 4b330f3173 [FIX] http jump to database selector on broken databases 2015-08-01 17:20:43 +02:00
Antony Lesuisse a88c520d03 [IMP] db and common service cleanup
- move check_super into db
- remove some hardcoding from dispacth
- hardcode wsgi handler and rpc endpoints
2015-08-01 17:20:43 +02:00
Antony Lesuisse 16402f6795 [REM] auth_openid
deprecated use oauth2 instead
2015-07-30 02:00:23 +02:00
Antony Lesuisse 89f2eabd1a [FIX] mrp: product.product to bom stat button
- Remove domain (only search context)
- Set correct default values for both template and variant when creating a bom
  when coming from a product variant from
2015-07-30 01:18:20 +02:00
Antony Lesuisse 2c229fa9c0 [IMP] mrp: mrp_view.xml cleanup
- Reorder views per model and per actions
- Remove dead views and actions
- Flatten configuration menu, only the resource submenu is kept
- Rename mrp_bom_tree_view to mrp_bom_line_tree_view (no other xmlids where harmed in this commit)
- Add a view mrp_bom_tree_view for bom list with name and product variant when group_product_variant is enabled
2015-07-30 01:18:20 +02:00
Antony Lesuisse 4914fcb093 [IMP] web: about dialog for v9 2015-07-29 15:20:48 +02:00
Antony Lesuisse 78c54c3d98 [IMP] base_import file selection show only .csv files 2015-07-29 14:40:54 +02:00
Antony Lesuisse c8b1f0d678 [IMP] hr_recruitment search attachments
code moved from the deprecated hr_recruitment_document
2015-07-29 00:53:23 +02:00
Antony Lesuisse 0ef5453e48 [REM] hr_applicant_document
The feature will be readded in hr_recruitment
2015-07-29 00:20:53 +02:00
Antony Lesuisse 05146e438b [FIX] document: remove some unnecessary deps 2015-07-29 00:20:28 +02:00
Antony Lesuisse 8f07f01783 [FIX] base: res.company _company_default_get
Fix rule processing the criteria user.company_id was not honored.

Closes: #4614, #7504
2015-07-16 14:38:13 +02:00
Antony Lesuisse 0b20a3d4d2 [IMP] delivery sale order form view 2015-07-16 11:35:20 +02:00
Antony Lesuisse 3ced0ff61b [REM] document directories
Keeping the attachments widget on form views and document indexation (currently
limited to pdf/odt).
2015-07-12 13:52:08 +02:00
Antony Lesuisse d2a66f171e [REM] share
share is now deprecated by the website /my portal.
2015-07-09 13:50:28 +02:00
Antony Lesuisse 037269e9c3 [IMP] website: require less by default
Removed the then useless website.theme view
2015-06-16 15:26:05 +02:00
Antony Lesuisse 920c8df3a4 [IMP] website: reordered website_templates.xml
Also renamed editor_head template to layout_editor, but
this template was never called anywhere.
2015-06-16 15:26:00 +02:00
Antony Lesuisse 82c80b72fa [IMP] document: hide document configuration 2015-06-14 23:02:37 +02:00
Antony Lesuisse fffaf40617 [FIX] website: geoip restore city file location
And change the warning message with instruction on how to install the database,
debian geoip-database-contrib has a script to easily install it.
2015-05-18 11:46:42 +02:00
Antony Lesuisse 49a5a355c2 [FIX] website: ir.http cache add lang in key 2015-05-18 11:06:34 +02:00
Antony Lesuisse ceb53fad6d [IMP] website: ir.http route cache for auth public
- remove useless cache clear_prefix
- add a route cache attribute when used it will save the rendered page into the
  ormcache for the specified time, this is only enabled if the user is public
  and reponse code is 200
- enable it on /page controller for 5min
2015-05-17 17:08:13 +02:00
Antony Lesuisse 714aaca03e [FIX] website: ir.http geoip default file
- set the default value to be the debian bundled geoip database.
- split into 2 methods to avoir bloating dispatch
2015-05-17 16:45:22 +02:00
Antony Lesuisse d756bab4d1 [ADD] account_asset: add mrr and dates on invoice_line 2015-05-08 17:30:58 +02:00
Antony Lesuisse 269badc42a [FIX] website: customize fails in a windows cmd
because python is unable to print unicode string to the terminal.
2015-04-23 21:19:46 +02:00
Antony Lesuisse f8c19f9373 [FIX] account invoice price_subtotal_signed
how many engineer does it take to compute a field ?
4 and 3 commits, and nobody got it right including me :)
2015-04-18 15:35:34 +02:00
Antony Lesuisse d10bc4d4a6 [CLA] pedrobaeza CLA 2015-04-07 22:08:31 +02:00
Antony Lesuisse f090652c99 [FIX] product: allow active pricelist version copy
Always set active false when copy is used to prevent the overlapping
version constraint.

Closes #5822
2015-03-24 23:11:25 +01:00
Antony Lesuisse 7dbd495985 [IMP] website: server actions allow trailing paths 2015-03-18 13:10:58 +01:00
Antony Lesuisse e5a94f74aa [CLA] mailmap update 2015-02-28 17:58:22 +01:00
Antony Lesuisse af3a8ada58 [FIX] hw_escpos copyright notice
In v9 we will plan remove the lib and replace it by an optionnal import.
2015-02-10 14:24:54 +01:00
Antony Lesuisse beb5c24adb [ADD] git mailmap and CLA stats
Try a "git blame" or "git shortlog -nse"

Still around 10 commit remaining to be indentified.
2015-02-08 23:00:10 +01:00
Antony Lesuisse af901f51fc [ADD] Odoo Contributor License Agreement 2015-02-07 13:47:08 +01:00
Antony Lesuisse 06c681ba11 [FIX] base: add env to ir_action and ir_ui_view qweb context
To impel new api usage in server actions and qweb templates.
2015-01-28 23:48:23 +01:00
Antony Lesuisse 4c0dad0891 [FIX] sale_margin: dont display cost price in form view 2015-01-28 17:22:06 +01:00
Antony Lesuisse a8edd217a0 [FIX] sale: product sold stat button 2015-01-28 01:57:53 +01:00
Antony Lesuisse 71f710c671 [FIX] bank_statement_import_ofx: optional dependency warning
Should be a short warning only.
2015-01-28 01:10:41 +01:00
Antony Lesuisse 75fa30fc54 [FIX] base: ir_config_parameter increase database.uuid.private entropy
Use uuid4 instead of uuid1 to get 128 bits of entropy.

Rename database.uuid.private to the more meaningful database.secret as it
explains the usage instead of the technical details to generate it. And we
might switch to a longer string with more entropy in the future.

This string can be used to sign cookies or token with
sign(src) -> (src, hash(src + secret))
check(msg) -> msg[1] == hash(msg[0] + secret)
2015-01-28 00:32:51 +01:00
Antony Lesuisse c1c8ac7d7f [FIX] dbmanager: backup allow pg_dump custom dump to be larger than diskspace
- delete a forgotten print
- allow pg_dump custom dumps to be larger than the available disk size, the
  previous commit allowed dumps to be larger than memory, this one remove this
  limitation. zip dumps are still limited to by the disk size.
2015-01-19 02:42:34 +01:00
Antony Lesuisse ec9a543014 [FIX] dbmanager: backup support both zip and pg_dump custom format
- let the user choose between the pg_dump custom format or the zip format including the filestore
- use file objects to allow dumps larger than memory
- postgres subprocess invocation is now clean and thread-safe, we dont touch the local process environ anymore
- add a manifest to the zip dump format with version information about odoo, postgres (pg_dump doesnt output it) and modules
2015-01-19 02:05:12 +01:00
Antony Lesuisse ee9e4d3672 [IMP] server: -d create database if non existent 2015-01-18 20:31:41 +01:00
Antony Lesuisse 1d87a4509f [REM] service: remove old http layer 2015-01-18 20:27:06 +01:00
Antony Lesuisse cec43b93d2 [ADD] website portal and digital download
Add an orders section to the e-commerce to display sales orders, delivery
orders and invoices. Add support for digital products.
2015-01-16 15:48:01 +01:00
Antony Lesuisse 09ac43ea99 [FIX] doc lessc installation instructions 2015-01-15 11:26:18 +01:00
Antony Lesuisse 732109f74e [FIX] application flags in manifests in manifests 2015-01-13 15:59:04 +01:00
Antony Lesuisse c8f07f2862 [IMP] doc: setup lessc installation details 2015-01-09 11:44:22 +01:00
Antony Lesuisse aeaf7ef914 [FIX] logging: dont use color in windows cmd
windows cmd.exe terminal doesnt display them correctly so escape sequences end
up uselessly wasting some of the precious 80 char wide screen estate.
2015-01-09 01:45:41 +01:00