Commit Graph
26 Commits
Author SHA1 Message Date
Swapnesh Shah df175f7716 [IMP] product_margin: remove create and edit from views
Create and Edit Buttons are not needed on views being opened from
the Product Margin report

Fixes odoo/odoo#39069

closes odoo/odoo#39072

Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
2019-11-25 13:16:38 +00:00
Adrian Torres 4b38cc6590 [REM] *: calls to @api.multi
Multi is the default api for methods, it is not necessary to explicitly
decorate methods with it, adds clutter and most people use it because
they see that the rest of the code uses it.

Done with `find . -type f -name '*.py' | xargs sed -i '/@api.multi/d'`
2019-07-17 14:13:12 +02:00
Hiral Bhavsar 3cd7ed07a2 [IMP] *: remove 'view_type' on window actions.
The old tree views don't really exist anymore, this odd pseudo-flag to
dispatch between "list" and "tree" tree views has no reason to remain.

Task 1937686

closes odoo/odoo#31243

Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
2019-06-17 11:34:17 +00:00
Thibault Delavallée c8a313d51e [IMP] various: use odoo for imports instead of openerp and update class names 2016-08-10 15:48:07 +02:00
Yannick Tivisse 9a479e6572 [MIG] product_margin: Migrate to new API 2016-08-09 10:29:06 +02:00
Olivier Dony 0bd4545348 [LEGAL] Use global LICENSE/COPYRIGHT files, remove boilerplate text
- Preserved explicit 3rd-party copyright notices
- Explicit boilerplate should not be necessary - copyright law applies
  automatically in all countries thanks to Berne Convention + WTO rules,
  and a reference to the applicable license is clear enough.
2015-06-02 03:16:04 +02:00
Leonardo Donelli 4a0b13ed92 [REF] remove vim modelines and resulting trailing blank lines
Let 2015 be a year without modelines!
cf #4174
2014-12-31 15:52:13 +01:00
Raphael Collet cbe2dbb672 [MERGE] new v8 api by rco
A squashed merge is required as the conversion of the apiculture branch from
bzr to git was not correctly done. The git history contains irrelevant blobs
and commits. This branch brings a lot of changes and fixes, too many to list
exhaustively.

- New orm api, objects are now used instead of ids
- Environements to encapsulates cr uid context while maintaining backward compatibility
- Field compute attribute is a new object oriented way to define function fields
- Shared browse record cache
- New onchange protocol
- Optional copy flag on fields
- Documentation update
- Dead code cleanup
- Lots of fixes
2014-07-06 17:05:41 +02:00
Vo Minh Thu e69326ee3b [REF] removed explicit model instanciations.
bzr revid: vmt@openerp.com-20130415102349-vgcrfok2k5y10cwz
2013-04-15 12:23:49 +02:00
Cecile Tonglet 15fe515601 [MERGE] From trunk
bzr revid: cto@openerp.com-20121217144306-tkodwpox30cuvb28
2012-12-17 15:43:06 +01:00
Vo Minh Thu e7f4891d46 [IMP] use the openerp namespace.
bzr revid: vmt@openerp.com-20121206145632-0h1coh5aaem65wsy
2012-12-06 15:56:32 +01:00
Purnendu Singh (OpenERP) f82f13f44d [IMP] product_margin: improve the code
bzr revid: psi@tinyerp.com-20121030125849-q1rn3f5ish8gexf5
2012-10-30 18:28:49 +05:30
Purnendu Singh (OpenERP) 1607b1ddc7 [FIX] product_margin: Fix header translation issue
lp bug: https://launchpad.net/bugs/937856 fixed

bzr revid: psi@tinyerp.com-20121030124727-tm5vdpld7oiwpjlx
2012-10-30 18:17:27 +05:30
Mustufa Rangwala b0f61a9546 [MERGE] merge from trunk addons
bzr revid: mra@mra-laptop-20101214130232-wqsim6966u1hilu9
bzr revid: mra@mra-laptop-20101217043732-ri8dfx38pacpruye
2010-12-17 10:07:32 +05:30
Mustufa Rangwala fd7a65d142 [FIX] Product_margin: Bug with product margin
lp bug: https://launchpad.net/bugs/689656 fixed

bzr revid: mra@mra-laptop-20101214071321-ynyrnm0hrm5jbkkd
2010-12-14 12:43:21 +05:30
uco (OpenERP) d827b2f6ea [REF]: Added remaining context changes in _constraints. Removed unnecessary checking for context from methods.
bzr revid: uco@tinyerp.com-20101213064309-vg36f1510xv2f8zb
2010-12-13 12:13:09 +05:30
uco (OpenERP) 6dd290e824 [REF]: Replace the condition 'if not context' with 'if context is None'.
bzr revid: uco@tinyerp.com-20101123070505-9i2lrqhgxzaii3zn
2010-11-23 12:35:05 +05:30
uco (OpenERP) 8035df3e11 [IMP]: Added context=None in function argument for rest modules.
bzr revid: uco@tinyerp.com-20101122103753-idv9fdaqc28rvugu
2010-11-22 16:07:53 +05:30
MTR(OpenERP) d781b93335 [IMP] product_margin, product_expiry,product_manufacturer: improve and cleaning
bzr revid: mra@mra-laptop-20100813072843-l72opp20yoiik3pg
2010-08-13 12:58:43 +05:30
sbh (Open ERP) 6de7835f1c [IMP] product_margin : Improve the python code and view
bzr revid: sbh@tinyerp.com-20100608130611-0yi56h4wjq1m4ep3
2010-06-08 18:36:11 +05:30
sbh (Open ERP) 441989a4eb Task-844 :Compute the margin int stadard price
bzr revid: sbh@tinyerp.com-20100603095031-ntssds69fn8tunvv
2010-06-03 15:20:31 +05:30
sbh (Open ERP) 57cfa6d154 [IMP] point_of_sale:Removed @summary from docstring
bzr revid: sbh@tinyerp.com-20100323052130-49zeyij8z7c7kzt0
2010-03-23 10:51:30 +05:30
uco (OpenERP) a268acb4c7 [REF] delivery, mrp, mrp_repair, point_of_sale, product_margin, slae, stock: Removed '@summary' from docstring.
bzr revid: uco@tinyerp.co.in-20100317073413-ks8i2ppev0pxm3cf
2010-03-17 13:04:13 +05:30
mso c6be2d42a3 [IMP]: stock,sale:docstrings added in the osv_memory files
bzr revid: mso@mso-20100312134255-b8h0bg1gjah1s2e1
2010-03-12 19:12:55 +05:30
Harry (Open ERP) bdc78703ea [MERGE]
bzr revid: hmo@tinyerp.com-20100311142449-gfhiuwigpchfr074
2010-03-11 19:54:49 +05:30
mso d4ac06e0c7 [IMP] product_margin:Changes in wizard by converting them into OSV memory
bzr revid: mso@mso-20100309120043-kadkz0b2xdo47c3k
2010-03-09 17:30:43 +05:30