Skip to main content

Allow to edit spreadsheets

Project description

Beta License: AGPL-3 OCA/spreadsheet Translate me on Weblate Try me on Runboat

This module adds a functionality for adding and editing Spreadsheets using Odoo CE.

It is an alternative to the proprietary module spreadsheet_edition of Odoo Enterprise Edition.

Table of contents

Usage

Create a new spreadsheet

  • Go to ‘Spreadsheet’ menu

  • Click on ‘Create’

  • Put a name, then click on the “Edit” button

https://raw.githubusercontent.com/OCA/spreadsheet/16.0/spreadsheet_oca/static/description/spreadsheet_create.png
  • At this point you switch to spreadsheet editing mode. The editor is named o-spreadsheet and looks like another common spreadsheet web editors. (OnlyOffice, Ethercalc, Google Sheets (non-free)).

https://raw.githubusercontent.com/OCA/spreadsheet/16.0/spreadsheet_oca/static/description/spreadsheet_edit.png
https://raw.githubusercontent.com/OCA/spreadsheet/16.0/spreadsheet_oca/static/description/o-spreadsheet.png
  • Note: Business Odoo module can add “business functions”. This is currently the case for the accounting module, which adds the following features:

    • ODOO.CREDIT(account_codes, date_range): Get the total credit for the specified account(s) and period.

    • ODOO.DEBIT(account_codes, date_range): Get the total debit for the specified account(s) and period.

    • ODOO.BALANCE(account_codes, date_range): Get the total balance for the specified account(s) and period.

    • ODOO.FISCALYEAR.START(day): Returns the starting date of the fiscal year encompassing the provided date.

    • ODOO.FISCALYEAR.END(day): Returns the ending date of the fiscal year encompassing the provided date.

    • ODOO.ACCOUNT.GROUP(type): Returns the account ids of a given group where type should be a value of the account_type field of account.account model. (income, asset_receivable, etc.)

Create a new dynamic spreadsheet from pivot

  • Go to any pivot

  • Press on insert button

  • Select the dynamic option and set a number of rows

A new table that will be updated with the actual or filtered values will be added.

  • Note: When a pivot has multiple levels of aggrupations in the rows, the number of rows selected will be transfered to each level.

    Example: number of groups -> 2 number of rows -> 3

    • val1 * subval1.1 * subval1.2 * subval1.3

    • val2 * subval2.1 * subval2.2 * subval2.3

    • val3 * subval3.1 * subval3.2 * subval3.3

Here is a visual exaple of use: .. figure:: https://raw.githubusercontent.com/OCA/spreadsheet/16.0/spreadsheet_oca/static/description/spreadsheet_dynamic_table.gif

Development

If you want to develop custom business functions, you can add others, based on the file https://github.com/odoo/odoo/blob/16.0/addons/spreadsheet_account/static/src/accounting_functions.js

Known issues / Roadmap

Adding new lines on pivot tables

When we add a pivot table, the number of rows is predefined according to the current data.

In order to add new rows, we need to reinsert the pivot table.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • CreuBlanca

Contributors

Maintainers

This module is maintained by the OCA.

Odoo Community Association

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

This module is part of the OCA/spreadsheet project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

File details

Details for the file odoo_addon_spreadsheet_oca-16.0.1.3.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_spreadsheet_oca-16.0.1.3.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9b53d9737e78a1f4f663f6366a4dec76f81691e4f9ab08bc82748408b8b817db
MD5 2e6ef775565b307db19aa4abc5f32f9f
BLAKE2b-256 d590c1fb4804493198bdab5096137b319bba1d95806770edbf1be596d620d7a2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page